C# Class Rebel.Framework.EntityGraph.Domain.Entity.Attribution.MetaData.StringSerializationType

Inheritance: IAttributeSerializationDefinition
显示文件 Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
Serialize ( ITypedAttribute value ) : dynamic

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.

Method Details

Serialize() public method

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.
public Serialize ( ITypedAttribute value ) : dynamic
value ITypedAttribute The value.
return dynamic