Поделиться через


StatelessWorkerAttribute.Populate Метод

Определение

Добавляет свойства grain в properties.

public override void Populate (IServiceProvider services, Type grainClass, Orleans.Runtime.GrainType grainType, System.Collections.Generic.Dictionary<string,string> properties);
override this.Populate : IServiceProvider * Type * Orleans.Runtime.GrainType * System.Collections.Generic.Dictionary<string, string> -> unit
Public Overrides Sub Populate (services As IServiceProvider, grainClass As Type, grainType As GrainType, properties As Dictionary(Of String, String))

Параметры

services
IServiceProvider

Поставщик службы.

grainClass
Type

Класс grain.

grainType
GrainType

Идентификатор типа grain.

properties
Dictionary<String,String>

Коллекция свойств, которая вызывает этот метод, должна заполниться.

Реализации

Применяется к