C# Class Simpl.Serialization.SimplTypesScope

Afficher le fichier Open project: ecologylab/simplCSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
graphSwitch GRAPH_SWITCH

Méthodes publiques

Méthode Description
AddTranslation ( ClassDescriptor entry ) : void
AddTranslation ( Type thatClass ) : void

AddTranslations ( SimplTypesScope inheritedSimplTypesScope ) : void

Deserialize ( Stream inputStream, System.Text.Format format ) : Object

Deserialize ( String inputString, StringFormat format ) : Object

Deserialize ( String inputString, TranslationContext translationContext, IDeserializationHookStrategy deserializationHookStrategy, StringFormat format ) : Object

Deserialize ( object file, System.Text.Format format, Encoding encoding = null ) : Task

Deserialize ( object file, TranslationContext translationContext, IDeserializationHookStrategy deserializationHookStrategy, System.Text.Format format, Encoding encoding = null ) : Task

Deserialize ( Stream inputStream, TranslationContext translationContext, IDeserializationHookStrategy deserializationHookStrategy, System.Text.Format format ) : object

DeserializeFile ( string filename, System.Text.Format format, Encoding encoding = null ) : Task

DeserializeUri ( ParsedUri uri, System.Text.Format format = Format.Xml, TranslationContext context = null, IDeserializationHookStrategy deserializationHookStrategy = null ) : Task
DisableGraphSerialization ( ) : void

EnableGraphSerialization ( ) : void

Get ( string name ) : SimplTypesScope

Get ( string name, SimplTypesScope inheritedScope ) : SimplTypesScope
GetAssignableSubset ( string newName, Type superClassCriterion ) : SimplTypesScope
GetClassByTag ( String tag ) : Type

Gets the Type of the tag

GetClassDescriptorByClassName ( string className ) : ClassDescriptor
GetClassDescriptorBySimpleName ( string classSimpleName ) : ClassDescriptor
GetClassDescriptorByTag ( string tagName ) : ClassDescriptor

GetClassDescriptorByTlvId ( int blockType ) : ClassDescriptor

GetClassDescriptors ( ) : List

GetSubtractedSubset ( string newName, Type superClassCriterion ) : SimplTypesScope
Serialize ( object obj, StringFormat format ) : String

Serialize ( object obj, TranslationContext translationContext, StringFormat format ) : String
Serialize ( object obj, object file, TranslationContext translationContext, System.Text.Format format ) : System.Threading.Tasks.Task

Serialize ( object obj, Stream stream, System.Text.Format format ) : void

Serialize ( object obj, Stream stream, TranslationContext translationContext, System.Text.Format format ) : void

Serialize ( object obj, StringBuilder stringBuilder, StringFormat format ) : void

Serialize ( object obj, StringBuilder stringBuilder, TranslationContext translationContext, StringFormat format ) : void

Serialize ( object obj, TextWriter textWriter, StringFormat format ) : void

Serialize ( object obj, TextWriter textWriter, TranslationContext translationContext, StringFormat format ) : void

Serialize ( object obj, object file, System.Text.Format format ) : void

SimplTypesScope ( ) : System

SimplTypesScope ( String name ) : System

SimplTypesScope ( String name, List baseTranslationsSet ) : System

SimplTypesScope ( String name, List inheritedTranslationsSet, Type translations ) : System

SimplTypesScope ( String name, SimplTypesScope inheritedSimplTypesScope ) : System

SimplTypesScope ( String name, SimplTypesScope _inheritedSimplTypesScopes, Type translations ) : System

Private Methods

Méthode Description
AddTranslationScope ( string name ) : void
AddTranslations ( Type classes ) : void

Lookup ( String name ) : SimplTypesScope

UpdateMapWithEntry ( Scope newMap, string key, ClassDescriptor translationEntry, string warn ) : void

UpdateMapWithValues ( Scope inheritedMap, Scope newMap, string warn ) : void

Method Details

AddTranslation() public méthode

public AddTranslation ( ClassDescriptor entry ) : void
entry ClassDescriptor
Résultat void

AddTranslation() public méthode

public AddTranslation ( Type thatClass ) : void
thatClass System.Type
Résultat void

AddTranslations() public méthode

public AddTranslations ( SimplTypesScope inheritedSimplTypesScope ) : void
inheritedSimplTypesScope SimplTypesScope
Résultat void

Deserialize() public méthode

public Deserialize ( Stream inputStream, System.Text.Format format ) : Object
inputStream Stream
format System.Text.Format
Résultat Object

Deserialize() public méthode

public Deserialize ( String inputString, StringFormat format ) : Object
inputString String
format StringFormat
Résultat Object

Deserialize() public méthode

public Deserialize ( String inputString, TranslationContext translationContext, IDeserializationHookStrategy deserializationHookStrategy, StringFormat format ) : Object
inputString String
translationContext Simpl.Serialization.Context.TranslationContext
deserializationHookStrategy IDeserializationHookStrategy
format StringFormat
Résultat Object

Deserialize() public méthode

public Deserialize ( object file, System.Text.Format format, Encoding encoding = null ) : Task
file object
format System.Text.Format
encoding System.Text.Encoding
Résultat Task

Deserialize() public méthode

public Deserialize ( object file, TranslationContext translationContext, IDeserializationHookStrategy deserializationHookStrategy, System.Text.Format format, Encoding encoding = null ) : Task
file object
translationContext Simpl.Serialization.Context.TranslationContext
deserializationHookStrategy IDeserializationHookStrategy
format System.Text.Format
encoding System.Text.Encoding
Résultat Task

Deserialize() public méthode

public Deserialize ( Stream inputStream, TranslationContext translationContext, IDeserializationHookStrategy deserializationHookStrategy, System.Text.Format format ) : object
inputStream Stream
translationContext Simpl.Serialization.Context.TranslationContext
deserializationHookStrategy IDeserializationHookStrategy
format System.Text.Format
Résultat object

DeserializeFile() public méthode

public DeserializeFile ( string filename, System.Text.Format format, Encoding encoding = null ) : Task
filename string
format System.Text.Format
encoding System.Text.Encoding
Résultat Task

DeserializeUri() public méthode

public DeserializeUri ( ParsedUri uri, System.Text.Format format = Format.Xml, TranslationContext context = null, IDeserializationHookStrategy deserializationHookStrategy = null ) : Task
uri Simpl.Fundamental.Net.ParsedUri
format System.Text.Format
context Simpl.Serialization.Context.TranslationContext
deserializationHookStrategy IDeserializationHookStrategy
Résultat Task

DisableGraphSerialization() public static méthode

public static DisableGraphSerialization ( ) : void
Résultat void

EnableGraphSerialization() public static méthode

public static EnableGraphSerialization ( ) : void
Résultat void

Get() public static méthode

public static Get ( string name ) : SimplTypesScope
name string
Résultat SimplTypesScope

Get() public static méthode

public static Get ( string name, SimplTypesScope inheritedScope ) : SimplTypesScope
name string
inheritedScope SimplTypesScope
Résultat SimplTypesScope

GetAssignableSubset() public méthode

public GetAssignableSubset ( string newName, Type superClassCriterion ) : SimplTypesScope
newName string
superClassCriterion System.Type
Résultat SimplTypesScope

GetClassByTag() public méthode

Gets the Type of the tag
public GetClassByTag ( String tag ) : Type
tag String
Résultat System.Type

GetClassDescriptorByClassName() public méthode

public GetClassDescriptorByClassName ( string className ) : ClassDescriptor
className string
Résultat ClassDescriptor

GetClassDescriptorBySimpleName() public méthode

public GetClassDescriptorBySimpleName ( string classSimpleName ) : ClassDescriptor
classSimpleName string
Résultat ClassDescriptor

GetClassDescriptorByTag() public méthode

public GetClassDescriptorByTag ( string tagName ) : ClassDescriptor
tagName string
Résultat ClassDescriptor

GetClassDescriptorByTlvId() public méthode

public GetClassDescriptorByTlvId ( int blockType ) : ClassDescriptor
blockType int
Résultat ClassDescriptor

GetClassDescriptors() public méthode

public GetClassDescriptors ( ) : List
Résultat List

GetSubtractedSubset() public méthode

public GetSubtractedSubset ( string newName, Type superClassCriterion ) : SimplTypesScope
newName string
superClassCriterion System.Type
Résultat SimplTypesScope

Serialize() public static méthode

public static Serialize ( object obj, StringFormat format ) : String
obj object
format StringFormat
Résultat String

Serialize() public static méthode

public static Serialize ( object obj, TranslationContext translationContext, StringFormat format ) : String
obj object
translationContext Simpl.Serialization.Context.TranslationContext
format StringFormat
Résultat String

Serialize() public static méthode

public static Serialize ( object obj, object file, TranslationContext translationContext, System.Text.Format format ) : System.Threading.Tasks.Task
obj object
file object
translationContext Simpl.Serialization.Context.TranslationContext
format System.Text.Format
Résultat System.Threading.Tasks.Task

Serialize() public static méthode

public static Serialize ( object obj, Stream stream, System.Text.Format format ) : void
obj object
stream Stream
format System.Text.Format
Résultat void

Serialize() public static méthode

public static Serialize ( object obj, Stream stream, TranslationContext translationContext, System.Text.Format format ) : void
obj object
stream Stream
translationContext Simpl.Serialization.Context.TranslationContext
format System.Text.Format
Résultat void

Serialize() public static méthode

public static Serialize ( object obj, StringBuilder stringBuilder, StringFormat format ) : void
obj object
stringBuilder StringBuilder
format StringFormat
Résultat void

Serialize() public static méthode

public static Serialize ( object obj, StringBuilder stringBuilder, TranslationContext translationContext, StringFormat format ) : void
obj object
stringBuilder StringBuilder
translationContext Simpl.Serialization.Context.TranslationContext
format StringFormat
Résultat void

Serialize() public static méthode

public static Serialize ( object obj, TextWriter textWriter, StringFormat format ) : void
obj object
textWriter System.IO.TextWriter
format StringFormat
Résultat void

Serialize() public static méthode

public static Serialize ( object obj, TextWriter textWriter, TranslationContext translationContext, StringFormat format ) : void
obj object
textWriter System.IO.TextWriter
translationContext Simpl.Serialization.Context.TranslationContext
format StringFormat
Résultat void

Serialize() public static méthode

public static Serialize ( object obj, object file, System.Text.Format format ) : void
obj object
file object
format System.Text.Format
Résultat void

SimplTypesScope() public méthode

public SimplTypesScope ( ) : System
Résultat System

SimplTypesScope() public méthode

public SimplTypesScope ( String name ) : System
name String
Résultat System

SimplTypesScope() public méthode

public SimplTypesScope ( String name, List baseTranslationsSet ) : System
name String
baseTranslationsSet List
Résultat System

SimplTypesScope() public méthode

public SimplTypesScope ( String name, List inheritedTranslationsSet, Type translations ) : System
name String
inheritedTranslationsSet List
translations System.Type
Résultat System

SimplTypesScope() public méthode

public SimplTypesScope ( String name, SimplTypesScope inheritedSimplTypesScope ) : System
name String
inheritedSimplTypesScope SimplTypesScope
Résultat System

SimplTypesScope() public méthode

public SimplTypesScope ( String name, SimplTypesScope _inheritedSimplTypesScopes, Type translations ) : System
name String
_inheritedSimplTypesScopes SimplTypesScope
translations System.Type
Résultat System

Property Details

graphSwitch public_oe static_oe property

Initialising graph switch to be off by default
public static GRAPH_SWITCH graphSwitch
Résultat GRAPH_SWITCH