C# Класс Microsoft.CodeAnalysis.Sarif.Stack

Наследование: PropertyBagHolder, ISarifNode
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Открытые методы

Метод Описание
Create ( string stackTrace ) : Stack

Creates a SARIF Stack instance from a .NET StackTrace text representation (as returned by StackTrace.ToString())

CreateStacks ( Exception exception ) : ISet

Create one or more Stack instances from a .NET exception. Captures inner exceptions and handles aggregated exceptions.

DeepClone ( ) : Stack

Creates a deep copy of this instance.

Stack ( ) : System

Initializes a new instance of the Stack class.

Stack ( Stack other ) : System

Initializes a new instance of the Stack class from the specified instance.

Stack ( StackTrace stackTrace ) : System

Creates a SARIF Stack instance from a .NET StackTrace instance

Stack ( string message, IEnumerable frames, SerializedPropertyInfo>.IDictionary properties ) : System

Initializes a new instance of the Stack class from the supplied values.

ToString ( ) : string
ToString ( StackFormat stackFormat ) : string
ValueEquals ( Stack other ) : bool
ValueGetHashCode ( ) : int

Приватные методы

Метод Описание
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( string message, IEnumerable frames, SerializedPropertyInfo>.IDictionary properties ) : void

Описание методов

Create() публичный статический Метод

Creates a SARIF Stack instance from a .NET StackTrace text representation (as returned by StackTrace.ToString())
public static Create ( string stackTrace ) : Stack
stackTrace string
Результат Stack

CreateStacks() публичный статический Метод

Create one or more Stack instances from a .NET exception. Captures inner exceptions and handles aggregated exceptions.
public static CreateStacks ( Exception exception ) : ISet
exception System.Exception
Результат ISet

DeepClone() публичный Метод

Creates a deep copy of this instance.
public DeepClone ( ) : Stack
Результат Stack

Stack() публичный Метод

Initializes a new instance of the Stack class.
public Stack ( ) : System
Результат System

Stack() публичный Метод

Initializes a new instance of the Stack class from the specified instance.
/// Thrown if is null. ///
public Stack ( Stack other ) : System
other Stack /// The instance from which the new instance is to be initialized. ///
Результат System

Stack() публичный Метод

Creates a SARIF Stack instance from a .NET StackTrace instance
public Stack ( StackTrace stackTrace ) : System
stackTrace StackTrace
Результат System

Stack() публичный Метод

Initializes a new instance of the Stack class from the supplied values.
public Stack ( string message, IEnumerable frames, SerializedPropertyInfo>.IDictionary properties ) : System
message string /// An initialization value for the property. ///
frames IEnumerable /// An initialization value for the property. ///
properties SerializedPropertyInfo>.IDictionary /// An initialization value for the property. ///
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string

ToString() публичный Метод

public ToString ( StackFormat stackFormat ) : string
stackFormat StackFormat
Результат string

ValueEquals() публичный Метод

public ValueEquals ( Stack other ) : bool
other Stack
Результат bool

ValueGetHashCode() публичный Метод

public ValueGetHashCode ( ) : int
Результат int