Skip to content

IGrainBindingsProviderAttribute Methods

Interface for System.Attribute classes which provide information about a grain.

GetBindings(IServiceProvider, Type, GrainType)

abstract
public abstract IEnumerable<Dictionary<string, string>> GetBindings(IServiceProvider services, Type grainClass, GrainType grainType)
Gets bindings for the type this attribute is attached to.

Parameters

servicesIServiceProvider
The service provider.
grainClassType
The grain class.
grainTypeGrainType
The grain type.

Returns

The bindings for the specified grain.