C# Class Castle.VSNetIntegration.CastleWizards.Shared.Utils

Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
AddCommonPostBuildEvent ( Project project ) : void
AddReference ( Project project, Project otherProject ) : void
AddReference ( Project project, String assembly ) : void
CreateValidIdentifierFromName ( string name ) : string

Create a valid C# identifier from an input string

CreateXmlDomForConfig ( Castle.VSNetIntegration.CastleWizards.Shared.ExtensionContext context, Project project, ProjectItem item, String file ) : XmlDocument
CreateXmlDomForConfig ( Castle.VSNetIntegration.CastleWizards.Shared.ExtensionContext context, Project project, String file ) : XmlDocument
EnsureDirExists ( string path ) : void
PerformReplacesOn ( Project project, String projectName, String localProjectPath, ProjectItem item ) : void
PerformReplacesOn ( Project project, String projectName, String localProjectPath, String filename ) : void
ReplaceToken ( Window window, string token, string replaceWith ) : void

Method Details

AddCommonPostBuildEvent() public static method

public static AddCommonPostBuildEvent ( Project project ) : void
project Project
return void

AddReference() public static method

public static AddReference ( Project project, Project otherProject ) : void
project Project
otherProject Project
return void

AddReference() public static method

public static AddReference ( Project project, String assembly ) : void
project Project
assembly String
return void

CreateValidIdentifierFromName() public static method

Create a valid C# identifier from an input string
public static CreateValidIdentifierFromName ( string name ) : string
name string
return string

CreateXmlDomForConfig() public static method

public static CreateXmlDomForConfig ( Castle.VSNetIntegration.CastleWizards.Shared.ExtensionContext context, Project project, ProjectItem item, String file ) : XmlDocument
context Castle.VSNetIntegration.CastleWizards.Shared.ExtensionContext
project Project
item ProjectItem
file String
return System.Xml.XmlDocument

CreateXmlDomForConfig() public static method

public static CreateXmlDomForConfig ( Castle.VSNetIntegration.CastleWizards.Shared.ExtensionContext context, Project project, String file ) : XmlDocument
context Castle.VSNetIntegration.CastleWizards.Shared.ExtensionContext
project Project
file String
return System.Xml.XmlDocument

EnsureDirExists() public static method

public static EnsureDirExists ( string path ) : void
path string
return void

PerformReplacesOn() public static method

public static PerformReplacesOn ( Project project, String projectName, String localProjectPath, ProjectItem item ) : void
project Project
projectName String
localProjectPath String
item ProjectItem
return void

PerformReplacesOn() public static method

public static PerformReplacesOn ( Project project, String projectName, String localProjectPath, String filename ) : void
project Project
projectName String
localProjectPath String
filename String
return void

ReplaceToken() public static method

public static ReplaceToken ( Window window, string token, string replaceWith ) : void
window Window
token string
replaceWith string
return void