Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TTrue FromSubstitute(TSubstitute)

Declaration

public TTrue FromSubstitute(
    TSubstitute instance
)

Summary

Converts a substitute instance, generated by declassifying, back to the “real” type.

Parameters

TSubstituteinstance An instance of the substituted type, provided by Classify.

Returns

The converted object to put into the real type.

Exceptions

  • RT.Serialization.ClassifyDesubstitutionFailedException
    Implementors may throw this exception to communicate to Classify that the value is invalid and should be disregarded, rather than causing the entire deserialization to fail.