C# Class Dynamo.AutoTT.Extensions

Show file Open project: MartinF/Dynamo.AutoTT

Public Methods

Method Description
GetAllItems ( this project ) : IEnumerable
GetFile ( this items, string name ) : ProjectItem
GetFolder ( this items, string name ) : ProjectItem
GetPane ( this panes, string name ) : OutputWindowPane
GetRelativeItem ( this project, string relativeFilename ) : ProjectItem
IsConfiguration ( this item ) : bool
IsProjectFile ( this item ) : bool
IsProjectFile ( this item, string name, System.StringComparison comparisonType = StringComparison.OrdinalIgnoreCase ) : bool
IsProjectFolder ( this item ) : bool
IsProjectFolder ( this item, string name, System.StringComparison comparisonType = StringComparison.OrdinalIgnoreCase ) : bool
WasConfiguration ( this item, string oldName ) : bool

Method Details

GetAllItems() public static method

public static GetAllItems ( this project ) : IEnumerable
project this
return IEnumerable

GetFile() public static method

public static GetFile ( this items, string name ) : ProjectItem
items this
name string
return ProjectItem

GetFolder() public static method

public static GetFolder ( this items, string name ) : ProjectItem
items this
name string
return ProjectItem

GetPane() public static method

public static GetPane ( this panes, string name ) : OutputWindowPane
panes this
name string
return OutputWindowPane

GetRelativeItem() public static method

public static GetRelativeItem ( this project, string relativeFilename ) : ProjectItem
project this
relativeFilename string
return ProjectItem

IsConfiguration() public static method

public static IsConfiguration ( this item ) : bool
item this
return bool

IsProjectFile() public static method

public static IsProjectFile ( this item ) : bool
item this
return bool

IsProjectFile() public static method

public static IsProjectFile ( this item, string name, System.StringComparison comparisonType = StringComparison.OrdinalIgnoreCase ) : bool
item this
name string
comparisonType System.StringComparison
return bool

IsProjectFolder() public static method

public static IsProjectFolder ( this item ) : bool
item this
return bool

IsProjectFolder() public static method

public static IsProjectFolder ( this item, string name, System.StringComparison comparisonType = StringComparison.OrdinalIgnoreCase ) : bool
item this
name string
comparisonType System.StringComparison
return bool

WasConfiguration() public static method

public static WasConfiguration ( this item, string oldName ) : bool
item this
oldName string
return bool