GrpcMarshallerFactory
Assembly: ServiceStack.Extensions.dll
View Source
Declaration
public class GrpcMarshallerFactory : MarshallerFactory
Properties
TypeModel
View Source
Declaration
public RuntimeTypeModel TypeModel { get; }
Fields
Instance
View Source
Declaration
public static readonly GrpcMarshallerFactory Instance
Methods
CanSerialize(Type)
View Source
Declaration
protected override bool CanSerialize(Type type)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
Type | type |
Serialize<T>(T)
View Source
Declaration
protected override byte[] Serialize<T>(T value)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
<T> | value |
Type Parameters
T
Deserialize<T>(Byte[])
View Source
Declaration
protected override T Deserialize<T>(byte[] payload)
Returns
<T>
Parameters
Type | Name |
---|---|
System.Byte[] | payload |
Type Parameters
T