C# 클래스 Microsoft.CodeAnalysis.Sarif.Converters.FortifyPathElement

A Fortify path element structure, which serves as a location identifier. This type is typically used to represent result locations, datapath sources, and datapath sinks.
파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FilePath string
LineStart int
TargetFunction string

공개 메소드들

메소드 설명
FortifyPathElement ( string filePath, int lineStart, string targetFunction ) : System

Initializes a new instance of the FortifyPathElement class.

Parse ( XmlReader xmlReader, FortifyStrings strings ) : FortifyPathElement

Parses an element as a Fortify PathElement node, consuming the node.

메소드 상세

FortifyPathElement() 공개 메소드

Initializes a new instance of the FortifyPathElement class.
Thrown when null. Thrown when one or more arguments are outside the /// required range.
public FortifyPathElement ( string filePath, int lineStart, string targetFunction ) : System
filePath string Full pathname of the file.
lineStart int The line start index.
targetFunction string Target function name; may be null.
리턴 System

Parse() 공개 정적인 메소드

Parses an element as a Fortify PathElement node, consuming the node.
public static Parse ( XmlReader xmlReader, FortifyStrings strings ) : FortifyPathElement
xmlReader System.Xml.XmlReader The from which a node shall be parsed. When /// this function returns, this reader is placed directly after the element on which it is /// currently placed.
strings FortifyStrings Strings used in processing Fortify logs.
리턴 FortifyPathElement

프로퍼티 상세

FilePath 공개적으로 프로퍼티

Full pathname of the file.
public string FilePath
리턴 string

LineStart 공개적으로 프로퍼티

The line start index.
public int LineStart
리턴 int

TargetFunction 공개적으로 프로퍼티

Target function name; may be null.
public string TargetFunction
리턴 string