C# Class x42.Feature.Setup.FeatureRegistration

Default implementation of a representation of a registered feature of the Server.
Inheritance: IFeatureRegistration
Afficher le fichier Open project: x42protocol/xServer Class Usage Examples

Méthodes publiques

Свойство Type Description
ConfigureServicesDelegates List>

Méthodes publiques

Méthode Description
BuildFeature ( IServiceCollection serviceCollection ) : void
DependOn ( ) : IFeatureRegistration
EnsureDependencies ( List featureRegistrations ) : void
FeatureRegistration ( ) : System

Initializes the instance of the object.

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

Private Methods

Méthode Description
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).

Method Details

BuildFeature() public méthode

public BuildFeature ( IServiceCollection serviceCollection ) : void
serviceCollection IServiceCollection
Résultat void

DependOn() public méthode

public DependOn ( ) : IFeatureRegistration
Résultat IFeatureRegistration

EnsureDependencies() public méthode

public EnsureDependencies ( List featureRegistrations ) : void
featureRegistrations List
Résultat void

FeatureRegistration() public méthode

Initializes the instance of the object.
public FeatureRegistration ( ) : System
Résultat System

FeatureServices() public méthode

public FeatureServices ( Action configureServices ) : IFeatureRegistration
configureServices Action
Résultat IFeatureRegistration

UseStartup() public méthode

public UseStartup ( ) : IFeatureRegistration
Résultat IFeatureRegistration

Property Details

ConfigureServicesDelegates public_oe property

List of delegates to configure services of the feature.
public List> ConfigureServicesDelegates
Résultat List>