Show / Hide Table of Contents

Class ExtensionMethods

Inheritance
System.Object
ExtensionMethods
Namespace: Log73.Extensions
Assembly: Log73.Extensions.YamlDotNet.dll
Syntax
public static class ExtensionMethods : object

Methods

| Improve this Doc View Source

UseYamlDotNet(ConsoleConfigureObject)

Use YamlDotNetSerializer for object serialization.

Declaration
public static void UseYamlDotNet(this ConsoleConfigureObject ext)
Parameters
Type Name Description
ConsoleConfigureObject ext

Extension method object.

| Improve this Doc View Source

UseYamlDotNet(ConsoleConfigureObject, Serializer)

Use YamlDotNetSerializer with the specified for object serialization.

Declaration
public static void UseYamlDotNet(this ConsoleConfigureObject ext, Serializer serializer)
Parameters
Type Name Description
ConsoleConfigureObject ext

Extension method object.

Serializer serializer

The to use.

| Improve this Doc View Source

Yaml(ConsoleLogObject, MessageType, Object)

Log an object as YAML using the specified MessageType.

Declaration
public static void Yaml(this ConsoleLogObject ext, MessageType msgType, object obj)
Parameters
Type Name Description
ConsoleLogObject ext

Extension method object.

MessageType msgType

The MessageType to log as.

System.Object obj

The object.

| Improve this Doc View Source

Yaml(ConsoleLogObject, Object)

Log an object as YAML.

Declaration
public static void Yaml(this ConsoleLogObject ext, object obj)
Parameters
Type Name Description
ConsoleLogObject ext

Extension method object.

System.Object obj

The object.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX