C# Class Onism.Cldr.Tools.Subsetting.PatternCollectionBuilder

Represents an object that facilitates building a PatternCollection from the code.
ファイルを表示 Open project: pgolebiowski/onism-cldr Class Usage Examples

Public Methods

Method Description
Build ( ) : PatternCollection

Builds a collection of patterns.

Exclude ( string path ) : PatternCollectionBuilder

Parses the path to create an excluding pattern and adds it to the end of the collection.

Include ( string path ) : PatternCollectionBuilder

Parses the path to create an including pattern and adds it to the end of the collection.

PatternCollectionBuilder ( ) : System.Collections.Generic

Method Details

Build() public method

Builds a collection of patterns.
public Build ( ) : PatternCollection
return PatternCollection

Exclude() public method

Parses the path to create an excluding pattern and adds it to the end of the collection.
public Exclude ( string path ) : PatternCollectionBuilder
path string
return PatternCollectionBuilder

Include() public method

Parses the path to create an including pattern and adds it to the end of the collection.
public Include ( string path ) : PatternCollectionBuilder
path string
return PatternCollectionBuilder

PatternCollectionBuilder() public method

public PatternCollectionBuilder ( ) : System.Collections.Generic
return System.Collections.Generic