C# Class FluentBuild.AssemblyInfoBuilding.AssemblyInfoDetails

Sets the lines for an assembly info file
Inheritance: FluentBuild.Utilities.InternalExecutable, IAssemblyInfoDetails
Afficher le fichier Open project: SkightTeam/eLiteWeb Class Usage Examples

Méthodes publiques

Méthode Description
AddCustomAttribute ( string attributeNamespace, string name, bool isQuoted, string value ) : IAssemblyInfoDetails

Adds a custom attribute to the assemblyInfo file

ClsCompliant ( bool compliant ) : IAssemblyInfoDetails

States if the assembly is CLS Compliant. CLS compliant means that all classes only expose features that are common accross all .NET languages.

Things that make an assembly non-cls compliant: Exposing unsigned types. Unsafe types (e.g. pointers) should not be exposed. Operators should not be overloaded Two types or methods should not be included that differ only by case. e.g. doWork and DOWORK.

ComVisible ( bool visible ) : IAssemblyInfoDetails

Explicitly states if this assembly is visible to COM clients. If the attribute is missing then the assembly is COM visible.

Company ( string value ) : IAssemblyInfoDetails

Sets the company attribute of the assembly

Copyright ( string value ) : IAssemblyInfoDetails

Sets the copyright attribute of the assembly

Culture ( string culture ) : IAssemblyInfoDetails

Sets the culture

DelaySign ( bool delaySign ) : IAssemblyInfoDetails

Sets if to delay sign the assembly

Description ( string value ) : IAssemblyInfoDetails

Sets the description attribute of the assembly

FileVersion ( string version ) : IAssemblyInfoDetails

Sets the file version

Import ( ) : IAssemblyInfoDetails

Import a namespace. Will generate a using namespace; in C# and imports namespace in VB

Duplicate namespace imports will be automatically ignored

InformationalVersion ( string version ) : IAssemblyInfoDetails

Sets the informational version

KeyFile ( string path ) : IAssemblyInfoDetails

Sets teh path to the Strong Named Key for an assembly

KeyName ( string name ) : IAssemblyInfoDetails

Sets the KeyName

OutputPath ( FluentFs path ) : IAssemblyInfoDetails
OutputPath ( string path ) : IAssemblyInfoDetails
Product ( string value ) : IAssemblyInfoDetails

Sets the product attribute of the assembly

Title ( string value ) : IAssemblyInfoDetails

Sets the title attribute of the assembly

Trademark ( string trademark ) : IAssemblyInfoDetails

Sets the trademark attribute

Version ( System.Version value ) : IAssemblyInfoDetails

Sets the assembly version.

Version ( string value ) : IAssemblyInfoDetails

Sets the assembly version.

Private Methods

Méthode Description
AssemblyInfoDetails ( IAssemblyInfoBuilder assemblyInfoBuilder ) : System
AssemblyInfoDetails ( IAssemblyInfoBuilder assemblyInfoBuilder, IFileSystemHelper fileSystemHelper ) : System
ImportDropIfDuplicate ( string @namespace ) : void
InternalExecute ( ) : void
OutputTo ( FluentFs artifactLocation ) : void
OutputTo ( string filePath ) : void

Method Details

AddCustomAttribute() public méthode

Adds a custom attribute to the assemblyInfo file
public AddCustomAttribute ( string attributeNamespace, string name, bool isQuoted, string value ) : IAssemblyInfoDetails
attributeNamespace string The namespace that the attribute exists in
name string The name of the attribute
isQuoted bool Wether or not to quote the value when the file is generated
value string The value of the attribute
Résultat IAssemblyInfoDetails

ClsCompliant() public méthode

States if the assembly is CLS Compliant. CLS compliant means that all classes only expose features that are common accross all .NET languages.
Things that make an assembly non-cls compliant: Exposing unsigned types. Unsafe types (e.g. pointers) should not be exposed. Operators should not be overloaded Two types or methods should not be included that differ only by case. e.g. doWork and DOWORK.
public ClsCompliant ( bool compliant ) : IAssemblyInfoDetails
compliant bool sets cls compliant
Résultat IAssemblyInfoDetails

ComVisible() public méthode

Explicitly states if this assembly is visible to COM clients. If the attribute is missing then the assembly is COM visible.
public ComVisible ( bool visible ) : IAssemblyInfoDetails
visible bool sets com visibility
Résultat IAssemblyInfoDetails

Company() public méthode

Sets the company attribute of the assembly
public Company ( string value ) : IAssemblyInfoDetails
value string The company to set
Résultat IAssemblyInfoDetails

Copyright() public méthode

Sets the copyright attribute of the assembly
public Copyright ( string value ) : IAssemblyInfoDetails
value string The copyright to set
Résultat IAssemblyInfoDetails

Culture() public méthode

Sets the culture
public Culture ( string culture ) : IAssemblyInfoDetails
culture string The culture of the assembly
Résultat IAssemblyInfoDetails

DelaySign() public méthode

Sets if to delay sign the assembly
public DelaySign ( bool delaySign ) : IAssemblyInfoDetails
delaySign bool Wether to delay sign the assembly
Résultat IAssemblyInfoDetails

Description() public méthode

Sets the description attribute of the assembly
public Description ( string value ) : IAssemblyInfoDetails
value string The description to set
Résultat IAssemblyInfoDetails

FileVersion() public méthode

Sets the file version
public FileVersion ( string version ) : IAssemblyInfoDetails
version string
Résultat IAssemblyInfoDetails

Import() public méthode

Import a namespace. Will generate a using namespace; in C# and imports namespace in VB
Duplicate namespace imports will be automatically ignored
public Import ( ) : IAssemblyInfoDetails
Résultat IAssemblyInfoDetails

InformationalVersion() public méthode

Sets the informational version
public InformationalVersion ( string version ) : IAssemblyInfoDetails
version string
Résultat IAssemblyInfoDetails

KeyFile() public méthode

Sets teh path to the Strong Named Key for an assembly
public KeyFile ( string path ) : IAssemblyInfoDetails
path string The path to the snk file
Résultat IAssemblyInfoDetails

KeyName() public méthode

Sets the KeyName
public KeyName ( string name ) : IAssemblyInfoDetails
name string The name of the key
Résultat IAssemblyInfoDetails

OutputPath() public méthode

public OutputPath ( FluentFs path ) : IAssemblyInfoDetails
path FluentFs
Résultat IAssemblyInfoDetails

OutputPath() public méthode

public OutputPath ( string path ) : IAssemblyInfoDetails
path string
Résultat IAssemblyInfoDetails

Product() public méthode

Sets the product attribute of the assembly
public Product ( string value ) : IAssemblyInfoDetails
value string The product to set
Résultat IAssemblyInfoDetails

Title() public méthode

Sets the title attribute of the assembly
public Title ( string value ) : IAssemblyInfoDetails
value string The title to use
Résultat IAssemblyInfoDetails

Trademark() public méthode

Sets the trademark attribute
public Trademark ( string trademark ) : IAssemblyInfoDetails
trademark string The value representing the trademark
Résultat IAssemblyInfoDetails

Version() public méthode

Sets the assembly version.
public Version ( System.Version value ) : IAssemblyInfoDetails
value System.Version a version object
Résultat IAssemblyInfoDetails

Version() public méthode

Sets the assembly version.
public Version ( string value ) : IAssemblyInfoDetails
value string a version in the format of Major.Minor.[Build].[Revision]
Résultat IAssemblyInfoDetails