C# Класс x42.Feature.Setup.FeatureRegistration

Default implementation of a representation of a registered feature of the Server.
Наследование: IFeatureRegistration
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ConfigureServicesDelegates List>

Открытые методы

Метод Описание
BuildFeature ( IServiceCollection serviceCollection ) : void
DependOn ( ) : IFeatureRegistration
EnsureDependencies ( List featureRegistrations ) : void
FeatureRegistration ( ) : System

Initializes the instance of the object.

FeatureServices ( Action configureServices ) : IFeatureRegistration
UseStartup ( ) : IFeatureRegistration

Приватные методы

Метод Описание
FeatureStartup ( IServiceCollection serviceCollection, Type startupType ) : void

A feature can use specified method to configure its services. The specified method needs to have the following signature to be invoked: void ConfigureServices(IServiceCollection serviceCollection).

Описание методов

BuildFeature() публичный Метод

public BuildFeature ( IServiceCollection serviceCollection ) : void
serviceCollection IServiceCollection
Результат void

DependOn() публичный Метод

public DependOn ( ) : IFeatureRegistration
Результат IFeatureRegistration

EnsureDependencies() публичный Метод

public EnsureDependencies ( List featureRegistrations ) : void
featureRegistrations List
Результат void

FeatureRegistration() публичный Метод

Initializes the instance of the object.
public FeatureRegistration ( ) : System
Результат System

FeatureServices() публичный Метод

public FeatureServices ( Action configureServices ) : IFeatureRegistration
configureServices Action
Результат IFeatureRegistration

UseStartup() публичный Метод

public UseStartup ( ) : IFeatureRegistration
Результат IFeatureRegistration

Описание свойств

ConfigureServicesDelegates публичное свойство

List of delegates to configure services of the feature.
public List> ConfigureServicesDelegates
Результат List>