Show / Hide Table of Contents

Class DataIOContextExtensions

Extension methods for IDataIOContext.

Inheritance
System.Object
DataIOContextExtensions
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: Kephas.Data.IO
Assembly: Kephas.Data.IO.dll
Syntax
public static class DataIOContextExtensions

Methods

| Improve this Doc View Source

WithRootObjectType(IDataIOContext, Type)

Sets the root object type.

Declaration
public static IDataIOContext WithRootObjectType(this IDataIOContext dataExportContext, Type rootObjectType)
Parameters
Type Name Description
IDataIOContext dataExportContext

The data I/O context to act on.

System.Type rootObjectType

The root object type.

Returns
Type Description
IDataIOContext

The data I/O context.

| Improve this Doc View Source

WithSerializationContextConfig(IDataIOContext, Action<ISerializationContext>)

Sets the serialization context configuration.

Declaration
public static IDataIOContext WithSerializationContextConfig(this IDataIOContext dataExportContext, Action<ISerializationContext> serializationContextConfig)
Parameters
Type Name Description
IDataIOContext dataExportContext

The data I/O context to act on.

System.Action<ISerializationContext> serializationContextConfig

The serialization context configuration.

Returns
Type Description
IDataIOContext

The data I/O context.

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