C# 클래스 XSharp.Build.CreateXSharpManifestResourceName

Base class for task that determines the appropriate manifest resource name to assign to a given resx or other resource. Inspired by https://github.com/Microsoft/msbuild/blob/master/src/XMakeTasks/CreateCSharpManifestResourceName.cs
상속: Microsoft.Build.Tasks.CreateManifestResourceName
파일 보기 프로젝트 열기: X-Sharp/XSharpPublic 1 사용 예제들

보호된 메소드들

메소드 설명
CreateManifestName ( string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, Stream binaryStream ) : string

Utility function for creating a C#-style manifest name from a resource name.

IsSourceFile ( string fileName ) : bool

Return 'true' if this is a X# source file.

비공개 메소드들

메소드 설명
CreateManifestNameImpl ( string fileName, string linkFileName, bool prependCultureAsDirectory, string rootNamespace, string dependentUponFileName, string culture, Stream binaryStream, Microsoft.Build.Utilities.TaskLoggingHelper log ) : string

Utility function for creating a X#-style manifest name from a resource name. Note that this function is inspired by the similar C# function

GetFirstClassNameFullyQualified ( string fileName, Stream binaryStream, Microsoft.Build.Utilities.TaskLoggingHelper log ) : Microsoft.Build.Tasks.ExtractedClassName

메소드 상세

CreateManifestName() 보호된 메소드

Utility function for creating a C#-style manifest name from a resource name.
protected CreateManifestName ( string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, Stream binaryStream ) : string
fileName string The file name of the dependent (usually a .resx)
linkFileName string The file name of the dependent (usually a .resx)
rootNamespace string The root namespace (usually from the project file). May be null
dependentUponFileName string The file name of the parent of this dependency (usually a .cs file). May be null
binaryStream Stream File contents binary stream, may be null
리턴 string

IsSourceFile() 보호된 메소드

Return 'true' if this is a X# source file.
protected IsSourceFile ( string fileName ) : bool
fileName string Name of the candidate source file.
리턴 bool