Bewerken

Delen via


GrainTypeSharedContextResolver Class

Definition

Resolves components which are common to all instances of a given grain type.

public class GrainTypeSharedContextResolver
type GrainTypeSharedContextResolver = class
Public Class GrainTypeSharedContextResolver
Inheritance
GrainTypeSharedContextResolver

Constructors

GrainTypeSharedContextResolver(IEnumerable<IConfigureGrainTypeComponents>, GrainPropertiesResolver, GrainReferenceActivator, IClusterManifestProvider, GrainClassMap, PlacementStrategyResolver, IOptions<SiloMessagingOptions>, IOptions<GrainCollectionOptions>, IOptions<SchedulingOptions>, IGrainRuntime, ILogger<Grain>, IServiceProvider, SerializerSessionPool)

Initializes a new instance of the GrainTypeSharedContextResolver class.

GrainTypeSharedContextResolver(IEnumerable<IConfigureGrainTypeComponents>, GrainPropertiesResolver, IServiceProvider)

Initializes a new instance of the GrainTypeSharedContextResolver class.

Methods

GetComponents(GrainType)

Returns shared grain components for the provided grain type.

Applies to