C# Class Bari.Plugins.FSRepository.Model.RepositoryPatternCollection

An ordered collection of available RepositoryPattern patterns, with the ability to find the best match for a given context.
Inheritance: IProjectParameters
Datei anzeigen Open project: vigoo/bari Class Usage Examples

Public Properties

Property Type Description
Empty RepositoryPatternCollection

Public Methods

Method Description
AddPattern ( RepositoryPattern pattern ) : void
RepositoryPatternCollection ( IFileSystemRepositoryAccess fsAccess ) : System.Collections.Generic
Resolve ( IPatternResolutionContext context ) : PatternResolution

Resolves the given context using all the available patterns, checking their resolution in the file system as well.

Private Methods

Method Description
RepositoryPatternCollection ( ) : System.Collections.Generic

Method Details

AddPattern() public method

public AddPattern ( RepositoryPattern pattern ) : void
pattern RepositoryPattern
return void

RepositoryPatternCollection() public method

public RepositoryPatternCollection ( IFileSystemRepositoryAccess fsAccess ) : System.Collections.Generic
fsAccess IFileSystemRepositoryAccess
return System.Collections.Generic

Resolve() public method

Resolves the given context using all the available patterns, checking their resolution in the file system as well.
public Resolve ( IPatternResolutionContext context ) : PatternResolution
context IPatternResolutionContext Resolution context
return PatternResolution

Property Details

Empty public_oe static_oe property

public static RepositoryPatternCollection,Bari.Plugins.FSRepository.Model Empty
return RepositoryPatternCollection