The reason this has an out parameter rather than a returntype of TAllowedType is that TAllowedType would require a parameterless constructor, making it impossible to call this method having passed System.String and other primitive types as TAllowedType.
메소드 상세
Serialize()
공개메소드
Serializes the specified value.
The reason this has an out parameter rather than a returntype of TAllowedType is that TAllowedType would require a parameterless constructor, making it impossible to call this method having passed System.String and other primitive types as TAllowedType.