C# Class Griffin.Container.ServiceMappings

Maps services to build plans.
Inheritance: IServiceMappings
Afficher le fichier Open project: jgauffin/Griffin.Container Class Usage Examples

Méthodes publiques

Méthode Description
Add ( Type service, IList buildPlans ) : void

Add a new service

Contains ( Type service ) : bool

Checks if the specified service exists.

GetEnumerator ( ) : IEnumerable>>.IEnumerator

Returns an enumerator that iterates through the collection.

TryGetValue ( Type service, IList &buildPlans ) : bool

Try get build plans for a service.

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

Method Details

Add() public méthode

Add a new service
public Add ( Type service, IList buildPlans ) : void
service System.Type Service to add
buildPlans IList Build plans for the service.
Résultat void

Contains() public méthode

Checks if the specified service exists.
public Contains ( Type service ) : bool
service System.Type Service to check
Résultat bool

GetEnumerator() public méthode

Returns an enumerator that iterates through the collection.
public GetEnumerator ( ) : IEnumerable>>.IEnumerator
Résultat IEnumerable>>.IEnumerator

TryGetValue() public méthode

Try get build plans for a service.
public TryGetValue ( Type service, IList &buildPlans ) : bool
service System.Type Service to get plans for
buildPlans IList Found plans
Résultat bool