C# Class Griffin.Container.ServiceMappings

Maps services to build plans.
Inheritance: IServiceMappings
Exibir arquivo Open project: jgauffin/Griffin.Container Class Usage Examples

Public Methods

Method 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

Method Description
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

Method Details

Add() public method

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

Contains() public method

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

GetEnumerator() public method

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

TryGetValue() public method

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
return bool