Show / Hide Table of Contents

Interface ISerializationContext

Contract for serialization contexts.

Inherited Members
IContext.CompositionContext
IContext.AmbientServices
IContext.Identity
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
ILoggable.Logger
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 Source

Indent

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.

| Improve this Doc View Source

MediaType

Gets or sets the media type.

Declaration
Type MediaType { get; set; }
Property Value
Type Description
System.Type

The media type.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

SerializationService

Gets or sets the serialization service.

Declaration
ISerializationService SerializationService { get; set; }
Property Value
Type Description
ISerializationService

The serialization service.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
ExpandoExtensions.Merge<T>(T, Object)
ExpandoExtensions.GetLaxValue<T>(IIndexable, String, T)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
ContextExtensions.WithIdentity<TContext>(TContext, IIdentity)
ContextExtensions.WithLogger<TContext>(TContext, ILogger)
ContextExtensions.AddResource<TContext>(TContext, IDisposable[])
MessageBrokerExtensions.CreateBrokeredMessageBuilder(IContext)
ContextExtensions.InitialData(IContext)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<(Object entity, ChangeState changeState)>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<Object>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<IChangeStateTrackableEntityEntry>)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX