Show / Hide Table of Contents

    Class ContentDispositionFilter

    Does match of content disposition header. If content disposition matches filter then whole body is removed.

    Inheritance
    Object
    BaseFilter
    BaseFilter<String, String>
    ContentDispositionFilter
    Inherited Members
    BaseFilter<String, String>.MatchableString
    BaseFilter<String, String>.MatchEvaluator
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.Graph.Communications.Common.Telemetry.HttpLogging.Filters
    Assembly: Microsoft.Graph.Communications.Common.dll
    Syntax
    public class ContentDispositionFilter : BaseFilter<string, string>

    Constructors

    ContentDispositionFilter(String, Func<String, String>)

    Initializes a new instance of the ContentDispositionFilter class.

    Declaration
    public ContentDispositionFilter(string matchableString, Func<string, string> matchEvaluator = null)
    Parameters
    Type Name Description
    String matchableString

    Name of the matchable content disposition.

    Func<String, String> matchEvaluator

    The match evaluator.

    Methods

    IsContentDispositionMatch(IEnumerable<ContentDispositionFilter>, HttpContent, out String)

    Determines whether [is content disposition match] [the specified filters].

    Declaration
    public static bool IsContentDispositionMatch(IEnumerable<ContentDispositionFilter> filters, HttpContent content, out string outputMessage)
    Parameters
    Type Name Description
    IEnumerable<ContentDispositionFilter> filters

    The filters.

    HttpContent content

    The content.

    String outputMessage

    The output message.

    Returns
    Type Description
    Boolean

    true if [is content disposition match] [the specified filters]; otherwise, false.

    Extension Methods

    AdditionalDataExtensions.SetInAdditionalData(Object, String, Object)
    Extensions.Pin(Object)
    Extensions.ChangeType(Object, Type)
    Extensions.ChangeType<T>(Object)
    Extensions.TryDispose(Object, IGraphLogger)
    ReflectionUtils.GetPropertyUsingReflection(Object, String)
    ReflectionUtils.SetPropertyUsingReflection(Object, String, Object)
    Validator.IsNull(Object, String, String)
    Validator.NotNull<T>(T, String, String)
    Validator.Equals<T>(T, T, String, String)
    Validator.Equals<T, TE>(T, T, String)
    Validator.NotEquals<T>(T, T, String, String)
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.