PostSharpAPI ReferencePost­Sharp.​AspectsComposition­AspectNon­Serialized­Implementation
Open sandboxFocus

CompositionAspect.NonSerializedImplementation Property

NonSerializedImplementation

Determines whether the field containing the interface implementation (and storing the object returned by CreateImplementationObject(AdviceArgs)) should be excluded from serialization by BinaryFormatter. The same effect is typically obtained by applying the NonSerializedAttribute custom attribute to the field.

Declaration
protected bool NonSerializedImplementation { get; set; }
Property Value
Type Description
Boolean