Class CsvTypeProxyAttribute
- Namespace
- FlameCsv.Attributes
- Assembly
- FlameCsv.Core.dll
Configures the type used when instantiating the target type.
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
public sealed class CsvTypeProxyAttribute : CsvConfigurationAttribute
- Inheritance
-
CsvTypeProxyAttribute
- Inherited Members
Constructors
CsvTypeProxyAttribute(Type)
Initializes a new instance of the CsvTypeProxyAttribute class.
public CsvTypeProxyAttribute(Type createdTypeProxy)
Parameters
createdTypeProxy
TypeType that will be created in place of the target type. Must be assignable to the target type.
Properties
CreatedTypeProxy
Type that will be created in place of the target type. Must be assignable to the target type.
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)]
public Type CreatedTypeProxy { get; }
Property Value
Remarks
Intended to be used for reading interfaces and abstract classes.
Has no effect when writing.