Skip to content

GrainReferenceShared Constructors

Properties common to GrainReference instances with the same GrainReferenceShared and GrainInterfaceType.

GrainReferenceShared(GrainType, GrainInterfaceType, ushort, IGrainReferenceRuntime, InvokeMethodOptions, CodecProvider, CopyContextPool, IServiceProvider)

View source
public GrainReferenceShared(GrainType grainType, GrainInterfaceType grainInterfaceType, ushort interfaceVersion, IGrainReferenceRuntime runtime, InvokeMethodOptions invokeMethodOptions, CodecProvider codecProvider, CopyContextPool copyContextPool, IServiceProvider serviceProvider)
Initializes a new instance of the GrainReferenceShared class.

Parameters

grainTypeGrainType
The grain type.
grainInterfaceTypeGrainInterfaceType
The grain interface type.
interfaceVersionushort
The grain interface version.
runtimeIGrainReferenceRuntime
The grain reference runtime.
invokeMethodOptionsInvokeMethodOptions
The common invocation options.
codecProviderCodecProvider
The serialization codec provider.
copyContextPoolCopyContextPool
The serialization copy context pool.
serviceProviderIServiceProvider
The service provider.