C# 클래스 Microsoft.CodeAnalysis.Sarif.SarifUtilities

파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SarifDateTimeFormatMillisecondsPrecision string
SarifDateTimeFormatSecondsPrecision string

공개 메소드들

메소드 설명
BuildMessageFormats ( IEnumerable resourceNames, ResourceManager resourceManager ) : string>.Dictionary
ConvertToSarifVersion ( this sarifVersionText ) : SarifVersion
ConvertToSchemaUri ( this sarifVersion ) : Uri
ConvertToText ( this sarifVersion ) : string
FormatMessage ( this exception ) : string
InitializeFromAssembly ( this tool, Assembly assembly ) : void
InitializeFromAssembly ( this tool, Assembly assembly, string prereleaseInfo ) : void
IsSemanticVersioningCompatible ( this versionText ) : bool

메소드 상세

BuildMessageFormats() 공개 정적인 메소드

public static BuildMessageFormats ( IEnumerable resourceNames, ResourceManager resourceManager ) : string>.Dictionary
resourceNames IEnumerable
resourceManager System.Resources.ResourceManager
리턴 string>.Dictionary

ConvertToSarifVersion() 공개 정적인 메소드

public static ConvertToSarifVersion ( this sarifVersionText ) : SarifVersion
sarifVersionText this
리턴 SarifVersion

ConvertToSchemaUri() 공개 정적인 메소드

public static ConvertToSchemaUri ( this sarifVersion ) : Uri
sarifVersion this
리턴 System.Uri

ConvertToText() 공개 정적인 메소드

public static ConvertToText ( this sarifVersion ) : string
sarifVersion this
리턴 string

FormatMessage() 공개 정적인 메소드

public static FormatMessage ( this exception ) : string
exception this
리턴 string

InitializeFromAssembly() 공개 정적인 메소드

public static InitializeFromAssembly ( this tool, Assembly assembly ) : void
tool this
assembly System.Reflection.Assembly
리턴 void

InitializeFromAssembly() 공개 정적인 메소드

public static InitializeFromAssembly ( this tool, Assembly assembly, string prereleaseInfo ) : void
tool this
assembly System.Reflection.Assembly
prereleaseInfo string
리턴 void

IsSemanticVersioningCompatible() 공개 정적인 메소드

public static IsSemanticVersioningCompatible ( this versionText ) : bool
versionText this
리턴 bool

프로퍼티 상세

SarifDateTimeFormatMillisecondsPrecision 공개적으로 정적으로 프로퍼티

public static string SarifDateTimeFormatMillisecondsPrecision
리턴 string

SarifDateTimeFormatSecondsPrecision 공개적으로 정적으로 프로퍼티

Returns an ISO 8601 compatible universal date time format string with seconds precision, used to produce times such as "2016-03-02T01:44:50Z"
public static string SarifDateTimeFormatSecondsPrecision
리턴 string