Class DecomposerAttribute
Specifies a decomposer for a given type or property.
Namespace: DisCatSharp.Common.Serialization
Assembly: DisCatSharp.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property | AttributeTargets.Field)]
public sealed class DecomposerAttribute : SerializationAttribute
Constructors
| Improve this Doc View SourceDecomposerAttribute(Type)
Specifies a decomposer for given type or property.
Declaration
public DecomposerAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Type of decomposer to use. |
Properties
| Improve this Doc View SourceDecomposerType
Gets the type of the decomposer.
Declaration
public Type DecomposerType { get; }
Property Value
Type | Description |
---|---|
System.Type |