Table of Contents

Class ExceptionDescriptorExtensions

Namespace
Cuemon.Extensions.Diagnostics
Assembly
Cuemon.Extensions.Diagnostics.dll

Extension methods for the ExceptionDescriptor class.

public static class ExceptionDescriptorExtensions
Inheritance
Object
ExceptionDescriptorExtensions

Methods

ToYaml(ExceptionDescriptor, Action<ExceptionDescriptorOptions>)

Converts the specified descriptor to its equivalent string representation.

public static string ToYaml(this ExceptionDescriptor descriptor, Action<ExceptionDescriptorOptions> setup = null)

Parameters

descriptor ExceptionDescriptor

The ExceptionDescriptor to extend.

setup Action<ExceptionDescriptorOptions>

The ExceptionDescriptorOptions which may be configured.

Returns

String

A string that represents the specified descriptor.