Show / Hide Table of Contents

Class ContextBase

A base component used by configuration components to assume shared functionality.

Inheritance
System.Object
ContextBase
ConfigurationContainer
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.Configuration
Assembly: ExtendedXmlSerializer.dll
Syntax
public abstract class ContextBase : IContext

Constructors

ContextBase(IContext)

Declaration
protected ContextBase(IContext parent)
Parameters
IContext parent

ContextBase(IRootContext, IContext)

Creates a new instance.

Declaration
protected ContextBase(IRootContext root, IContext parent)
Parameters
IRootContext root

IContext parent

Properties

Parent

Represents this context's parent.

Declaration
public IContext Parent { get; }
Property Value
IContext

Implements
IContext.Parent

Root

The root context.

Declaration
public IRootContext Root { get; }
Property Value
IRootContext

Implements
IContext.Root

Methods

Create()

The main event. Used to create a new serializer and apply any configurations to it.

Declaration
public IExtendedXmlSerializer Create()
Returns
IExtendedXmlSerializer

The configured serializer.

Extension Methods

ExtensionMethods.Return<T, TOut>(T, TOut)
ExtensionMethods.To<T>(Object)
ExtensionMethods.AsValid<T>(Object, String)
ExtensionMethodsForAttachedProperties.Get<TType, TValue>(TType, Property<TType, TValue>)
ExtensionMethodsForAttachedProperties.Set<TType, TValue>(TType, Property<TType, TValue>, TValue)
ExtensionMethodsForConfiguration.Create(IContext)
ExtensionMethodsForConfiguration.GetTypeConfiguration(IContext, Type)
ExtensionMethodsForConfiguration.GetTypeConfiguration(IContext, TypeInfo)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(TResult, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.Let<TSpecification, TInstance>(TInstance, ISpecification<TSpecification>, TInstance)
Back to top Generated by DocFX