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

Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode 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 méthode

public static AddCommonPostBuildEvent ( Project project ) : void
project Project
Résultat void

AddReference() public static méthode

public static AddReference ( Project project, Project otherProject ) : void
project Project
otherProject Project
Résultat void

AddReference() public static méthode

public static AddReference ( Project project, String assembly ) : void
project Project
assembly String
Résultat void

CreateValidIdentifierFromName() public static méthode

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

CreateXmlDomForConfig() public static méthode

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
Résultat System.Xml.XmlDocument

CreateXmlDomForConfig() public static méthode

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

EnsureDirExists() public static méthode

public static EnsureDirExists ( string path ) : void
path string
Résultat void

PerformReplacesOn() public static méthode

public static PerformReplacesOn ( Project project, String projectName, String localProjectPath, ProjectItem item ) : void
project Project
projectName String
localProjectPath String
item ProjectItem
Résultat void

PerformReplacesOn() public static méthode

public static PerformReplacesOn ( Project project, String projectName, String localProjectPath, String filename ) : void
project Project
projectName String
localProjectPath String
filename String
Résultat void

ReplaceToken() public static méthode

public static ReplaceToken ( Window window, string token, string replaceWith ) : void
window Window
token string
replaceWith string
Résultat void