Class MediaTypeMetadata
Metadata for IMediaType services.
Inheritance
System.Object
System.Dynamic.DynamicObject
MediaTypeMetadata
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Net.Mime.Composition
Assembly: Kephas.Core.dll
Syntax
public class MediaTypeMetadata : AppServiceMetadata, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceMediaTypeMetadata(IDictionary<String, Object>)
Initializes a new instance of the MediaTypeMetadata class.
Declaration
public MediaTypeMetadata(IDictionary<string, object> metadata)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | metadata | The metadata. |
MediaTypeMetadata(String[], Int32, Int32)
Initializes a new instance of the MediaTypeMetadata class.
Declaration
public MediaTypeMetadata(string[] supportedMediaTypes, int processingPriority = 0, int overridePriority = 0)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | supportedMediaTypes | The supported media types. |
System.Int32 | processingPriority | Optional. The processing priority. |
System.Int32 | overridePriority | Optional. The override priority. |
Properties
| Improve this Doc View SourceSupportedMediaTypes
Gets the supported data formats.
Declaration
public string[] SupportedMediaTypes { get; }
Property Value
Type | Description |
---|---|
System.String[] | The supported data formats. |
Implements
System.Dynamic.IDynamicMetaObjectProvider