Flexberry ORM 8.0.0-beta01
Класс ICSSoft.STORMNET.Business.BusinessServerProvider

Провайдер бизнессервисов. Подробнее...

Граф наследования:ICSSoft.STORMNET.Business.BusinessServerProvider:
ICSSoft.STORMNET.Business.Interfaces.IBusinessServerProvider

Открытые члены

 BusinessServerProvider (IServiceProvider serviceProvider)
 Initializes a new instance of the BusinessServerProvider class with container for dependency injections. This class is a factory so it allows using container straight forward. Подробнее...
 
virtual BusinessServer[] GetBusinessServer (Type dataObjectType, ObjectStatus objectStatus, IDataService ds)
 Получить бизнес-сервер. Подробнее...
 

Защищенные члены

virtual BusinessServer CreateBusinessServer (Type bsType)
 Создать бизнес-сервер. Подробнее...
 
virtual BusinessServer[] GetBusinessServer (Type dataObjectType, DataServiceObjectEvents dsevent, IDataService ds)
 Получить бизнес-сервер. Подробнее...
 

Защищенные статические члены

static Dictionary< Type, IReadOnlyCollection< BusinessServerAttribute > > GetBusinessServerAttributesWithInheritCached (Type dataObjectType, DataServiceObjectEvents dsevent)
 Получить иерархию атрибутов BusinessServerAttribute с кэшированием. Подробнее...
 
static Dictionary< Type, IReadOnlyCollection< BusinessServerAttribute > > GetBusinessServerAttributesWithInherit (Type dataObjectType, DataServiceObjectEvents dsevent)
 Сформировать иерархию атрибутов BusinessServerAttribute. Подробнее...
 
static IReadOnlyCollection< BusinessServerAttributeGetBusinessServerAttributes (Type type, DataServiceObjectEvents dsevent)
 Получить коллекцию атрибутов BusinessServerAttribute. Подробнее...
 

Подробное описание

Провайдер бизнессервисов.

Конструктор(ы)

◆ BusinessServerProvider()

ICSSoft.STORMNET.Business.BusinessServerProvider.BusinessServerProvider ( IServiceProvider  serviceProvider)
inline

Initializes a new instance of the BusinessServerProvider class with container for dependency injections. This class is a factory so it allows using container straight forward.

Аргументы
serviceProviderA container for proper injection into BusinessServer entities.

Методы

◆ CreateBusinessServer()

virtual BusinessServer ICSSoft.STORMNET.Business.BusinessServerProvider.CreateBusinessServer ( Type  bsType)
inlineprotectedvirtual

Создать бизнес-сервер.

Аргументы
bsTypeТип бизнес-сервера.
Возвращает
Экземпляр БСа.

◆ GetBusinessServer() [1/2]

virtual BusinessServer [] ICSSoft.STORMNET.Business.BusinessServerProvider.GetBusinessServer ( Type  dataObjectType,
DataServiceObjectEvents  dsevent,
IDataService  ds 
)
inlineprotectedvirtual

Получить бизнес-сервер.

Аргументы
dataObjectTypeдля объекта типа.
dseventсобытие.
dsТекущий сервис данных.
Возвращает
БСы обрабатывающие тип данных.

◆ GetBusinessServer() [2/2]

virtual BusinessServer [] ICSSoft.STORMNET.Business.BusinessServerProvider.GetBusinessServer ( Type  dataObjectType,
ObjectStatus  objectStatus,
IDataService  ds 
)
inlinevirtual

Получить бизнес-сервер.

Аргументы
dataObjectTypeдля объекта типа.
objectStatusСтатус объекта.
dsТекущий сервис данных.
Возвращает
БСы обрабатывающие тип данных.

Замещает ICSSoft.STORMNET.Business.Interfaces.IBusinessServerProvider.

◆ GetBusinessServerAttributes()

static IReadOnlyCollection<BusinessServerAttribute> ICSSoft.STORMNET.Business.BusinessServerProvider.GetBusinessServerAttributes ( Type  type,
DataServiceObjectEvents  dsevent 
)
inlinestaticprotected

Получить коллекцию атрибутов BusinessServerAttribute.

Аргументы
typeдля объекта типа.
dseventсобытие.
Возвращает
Коллекция атрибутов для типа.

◆ GetBusinessServerAttributesWithInherit()

static Dictionary<Type, IReadOnlyCollection<BusinessServerAttribute> > ICSSoft.STORMNET.Business.BusinessServerProvider.GetBusinessServerAttributesWithInherit ( Type  dataObjectType,
DataServiceObjectEvents  dsevent 
)
inlinestaticprotected

Сформировать иерархию атрибутов BusinessServerAttribute.

Аргументы
dataObjectTypeдля объекта типа.
dseventсобытие.
Возвращает
Словарь иерархии атрибутов.

◆ GetBusinessServerAttributesWithInheritCached()

static Dictionary<Type, IReadOnlyCollection<BusinessServerAttribute> > ICSSoft.STORMNET.Business.BusinessServerProvider.GetBusinessServerAttributesWithInheritCached ( Type  dataObjectType,
DataServiceObjectEvents  dsevent 
)
inlinestaticprotected

Получить иерархию атрибутов BusinessServerAttribute с кэшированием.

Аргументы
dataObjectTypeдля объекта типа.
dseventсобытие.
Возвращает
Словарь иерархии атрибутов.