Show / Hide Table of Contents

Class Self

Convenience class used for accessing internal components.

Inheritance
System.Object
Self
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ExtendedXmlSerializer.Core.Sources
Assembly: ExtendedXmlSerializer.dll
Syntax
public static class Self

Methods

Instance<T>()

Returns an alteration that returns the instance that is passed to it. Used for scenarios where a default value is needed where the instance passed in is the instance to return.

Declaration
public static IAlteration<T> Instance<T>()
Returns
IAlteration<T>

An alteration that returns the instance that is passed into it.

Type Parameters
T

The type to return.

Of<T>()

Returns a delegate that returns the instance that is passed to it. Used for scenarios where a default value is needed where the instance passed in is the instance to return.

Declaration
public static Func<T, T> Of<T>()
Returns
System.Func<T, T>

A delegate that returns the instance that is passed into it.

Type Parameters
T

The type to return.

Back to top Generated by DocFX