C# 클래스 FluentBuild.AssemblyInfoBuilding.AssemblyInfoDetails

Sets the lines for an assembly info file
상속: FluentBuild.Utilities.InternalExecutable, IAssemblyInfoDetails
파일 보기 프로젝트 열기: SkightTeam/eLiteWeb 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
AssemblyInfoDetails ( IAssemblyInfoBuilder assemblyInfoBuilder ) : System
AssemblyInfoDetails ( IAssemblyInfoBuilder assemblyInfoBuilder, IFileSystemHelper fileSystemHelper ) : System
ImportDropIfDuplicate ( string @namespace ) : void
InternalExecute ( ) : void
OutputTo ( FluentFs artifactLocation ) : void
OutputTo ( string filePath ) : void

메소드 상세

AddCustomAttribute() 공개 메소드

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
리턴 IAssemblyInfoDetails

ClsCompliant() 공개 메소드

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
리턴 IAssemblyInfoDetails

ComVisible() 공개 메소드

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
리턴 IAssemblyInfoDetails

Company() 공개 메소드

Sets the company attribute of the assembly
public Company ( string value ) : IAssemblyInfoDetails
value string The company to set
리턴 IAssemblyInfoDetails

Copyright() 공개 메소드

Sets the copyright attribute of the assembly
public Copyright ( string value ) : IAssemblyInfoDetails
value string The copyright to set
리턴 IAssemblyInfoDetails

Culture() 공개 메소드

Sets the culture
public Culture ( string culture ) : IAssemblyInfoDetails
culture string The culture of the assembly
리턴 IAssemblyInfoDetails

DelaySign() 공개 메소드

Sets if to delay sign the assembly
public DelaySign ( bool delaySign ) : IAssemblyInfoDetails
delaySign bool Wether to delay sign the assembly
리턴 IAssemblyInfoDetails

Description() 공개 메소드

Sets the description attribute of the assembly
public Description ( string value ) : IAssemblyInfoDetails
value string The description to set
리턴 IAssemblyInfoDetails

FileVersion() 공개 메소드

Sets the file version
public FileVersion ( string version ) : IAssemblyInfoDetails
version string
리턴 IAssemblyInfoDetails

Import() 공개 메소드

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
리턴 IAssemblyInfoDetails

InformationalVersion() 공개 메소드

Sets the informational version
public InformationalVersion ( string version ) : IAssemblyInfoDetails
version string
리턴 IAssemblyInfoDetails

KeyFile() 공개 메소드

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

KeyName() 공개 메소드

Sets the KeyName
public KeyName ( string name ) : IAssemblyInfoDetails
name string The name of the key
리턴 IAssemblyInfoDetails

OutputPath() 공개 메소드

public OutputPath ( FluentFs path ) : IAssemblyInfoDetails
path FluentFs
리턴 IAssemblyInfoDetails

OutputPath() 공개 메소드

public OutputPath ( string path ) : IAssemblyInfoDetails
path string
리턴 IAssemblyInfoDetails

Product() 공개 메소드

Sets the product attribute of the assembly
public Product ( string value ) : IAssemblyInfoDetails
value string The product to set
리턴 IAssemblyInfoDetails

Title() 공개 메소드

Sets the title attribute of the assembly
public Title ( string value ) : IAssemblyInfoDetails
value string The title to use
리턴 IAssemblyInfoDetails

Trademark() 공개 메소드

Sets the trademark attribute
public Trademark ( string trademark ) : IAssemblyInfoDetails
trademark string The value representing the trademark
리턴 IAssemblyInfoDetails

Version() 공개 메소드

Sets the assembly version.
public Version ( System.Version value ) : IAssemblyInfoDetails
value System.Version a version object
리턴 IAssemblyInfoDetails

Version() 공개 메소드

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