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 SourceWithRootObjectType(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. |
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. |