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

A Problem element from an Android Studio file.
파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AttributeKey string
Description string
EntryPointName string
EntryPointType string
File string
Hints ImmutableArray
Line int
Module string
Package string
ProblemClass string
Severity string

공개 메소드들

메소드 설명
AndroidStudioProblem ( Builder b ) : System

Initializes a new instance of the AndroidStudioProblem class.

Parse ( XmlReader reader, AndroidStudioStrings strings ) : AndroidStudioProblem

Parses a "problem" node from an Android Studio log and consumes that node.

ReadHints ( XmlReader reader, AndroidStudioStrings strings ) : ImmutableArray

Reads a "hints" element, consuming the element.

비공개 메소드들

메소드 설명
ReadEntryPointElement ( Builder &b, XmlReader reader, AndroidStudioStrings strings ) : void
ReadProblemClassElement ( Builder &b, XmlReader reader, AndroidStudioStrings strings ) : void

메소드 상세

AndroidStudioProblem() 공개 메소드

Initializes a new instance of the AndroidStudioProblem class.
Thrown when one or more arguments have unsupported or /// illegal values.
public AndroidStudioProblem ( Builder b ) : System
b Builder The from which the problem shall be constructed.
리턴 System

Parse() 공개 정적인 메소드

Parses a "problem" node from an Android Studio log and consumes that node.
Thrown when the Android Studio file is incorrect.
public static Parse ( XmlReader reader, AndroidStudioStrings strings ) : AndroidStudioProblem
reader System.Xml.XmlReader The reader from which the problem shall be parsed.
strings AndroidStudioStrings NameTable strings used to parse Android Studio files.
리턴 AndroidStudioProblem

ReadHints() 공개 정적인 메소드

Reads a "hints" element, consuming the element.
Thrown when the Android Studio file is incorrect.
public static ReadHints ( XmlReader reader, AndroidStudioStrings strings ) : ImmutableArray
reader System.Xml.XmlReader The reader from which the hints shall be parsed.
strings AndroidStudioStrings NameTable strings used to parse Android Studio files.
리턴 ImmutableArray

프로퍼티 상세

AttributeKey 공개적으로 프로퍼티

The attribute key. (Not entirely sure what this is at the moment)
public string AttributeKey
리턴 string

Description 공개적으로 프로퍼티

The user-readable description.
public string Description
리턴 string

EntryPointName 공개적으로 프로퍼티

Fully qualified name of the entry point.
public string EntryPointName
리턴 string

EntryPointType 공개적으로 프로퍼티

Type of the entry point.
public string EntryPointType
리턴 string

File 공개적으로 프로퍼티

The file in which the problem occurs.
public string File
리턴 string

Hints 공개적으로 프로퍼티

The hint values reported.
public ImmutableArray Hints
리턴 ImmutableArray

Line 공개적으로 프로퍼티

The line on which the problem occurs in P:File if known; otherwise, 0.
public int Line
리턴 int

Module 공개적으로 프로퍼티

The module in which the problem occurs.
public string Module
리턴 string

Package 공개적으로 프로퍼티

The package in which the problem occurs.
public string Package
리턴 string

ProblemClass 공개적으로 프로퍼티

The problem class; that is, the kind of problem.
public string ProblemClass
리턴 string

Severity 공개적으로 프로퍼티

The severity of the problem type.
public string Severity
리턴 string