Skip to main content

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
TypeName
Typetype

Serialize<T>(T)

View Source
Declaration
protected override byte[] Serialize<T>(T value)
Returns

System.Byte[]

Parameters
TypeName
<T>value
Type Parameters
  • T

Deserialize<T>(Byte[])

View Source
Declaration
protected override T Deserialize<T>(byte[] payload)
Returns

<T>

Parameters
TypeName
System.Byte[]payload
Type Parameters
  • T