Class ContentDispositionFilter
Does match of content disposition header. If content disposition matches filter then whole body is removed.
Inherited Members
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 |
|