Interface ISerializationContext
Contract for serialization contexts.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
System.IDisposable.Dispose()
Namespace: Kephas.Serialization
Assembly: Kephas.Core.dll
Syntax
public interface ISerializationContext : IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Properties
| Improve this Doc View SourceIndent
Gets or sets a value indicating whether the serialized output should be indented.
Declaration
bool Indent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the output should be indented, false if not. |
MediaType
Gets or sets the media type.
Declaration
Type MediaType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | The media type. |
RootObjectFactory
Gets or sets the root object factory.
Declaration
Func<object> RootObjectFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Object> | The root object factory. |
RootObjectType
Gets or sets the type of the root object.
Declaration
Type RootObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | The type of the root object. |
SerializationService
Gets or sets the serialization service.
Declaration
ISerializationService SerializationService { get; set; }
Property Value
Type | Description |
---|---|
ISerializationService | The serialization service. |