C# 클래스 Simpl.Serialization.SimplTypesScope

파일 보기 프로젝트 열기: ecologylab/simplCSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
graphSwitch GRAPH_SWITCH

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddTranslation() 공개 메소드

public AddTranslation ( ClassDescriptor entry ) : void
entry ClassDescriptor
리턴 void

AddTranslation() 공개 메소드

public AddTranslation ( Type thatClass ) : void
thatClass System.Type
리턴 void

AddTranslations() 공개 메소드

public AddTranslations ( SimplTypesScope inheritedSimplTypesScope ) : void
inheritedSimplTypesScope SimplTypesScope
리턴 void

Deserialize() 공개 메소드

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

Deserialize() 공개 메소드

public Deserialize ( String inputString, StringFormat format ) : Object
inputString String
format StringFormat
리턴 Object

Deserialize() 공개 메소드

public Deserialize ( String inputString, TranslationContext translationContext, IDeserializationHookStrategy deserializationHookStrategy, StringFormat format ) : Object
inputString String
translationContext Simpl.Serialization.Context.TranslationContext
deserializationHookStrategy IDeserializationHookStrategy
format StringFormat
리턴 Object

Deserialize() 공개 메소드

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

Deserialize() 공개 메소드

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
리턴 Task

Deserialize() 공개 메소드

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
리턴 object

DeserializeFile() 공개 메소드

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

DeserializeUri() 공개 메소드

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
리턴 Task

DisableGraphSerialization() 공개 정적인 메소드

public static DisableGraphSerialization ( ) : void
리턴 void

EnableGraphSerialization() 공개 정적인 메소드

public static EnableGraphSerialization ( ) : void
리턴 void

Get() 공개 정적인 메소드

public static Get ( string name ) : SimplTypesScope
name string
리턴 SimplTypesScope

Get() 공개 정적인 메소드

public static Get ( string name, SimplTypesScope inheritedScope ) : SimplTypesScope
name string
inheritedScope SimplTypesScope
리턴 SimplTypesScope

GetAssignableSubset() 공개 메소드

public GetAssignableSubset ( string newName, Type superClassCriterion ) : SimplTypesScope
newName string
superClassCriterion System.Type
리턴 SimplTypesScope

GetClassByTag() 공개 메소드

Gets the Type of the tag
public GetClassByTag ( String tag ) : Type
tag String
리턴 System.Type

GetClassDescriptorByClassName() 공개 메소드

public GetClassDescriptorByClassName ( string className ) : ClassDescriptor
className string
리턴 ClassDescriptor

GetClassDescriptorBySimpleName() 공개 메소드

public GetClassDescriptorBySimpleName ( string classSimpleName ) : ClassDescriptor
classSimpleName string
리턴 ClassDescriptor

GetClassDescriptorByTag() 공개 메소드

public GetClassDescriptorByTag ( string tagName ) : ClassDescriptor
tagName string
리턴 ClassDescriptor

GetClassDescriptorByTlvId() 공개 메소드

public GetClassDescriptorByTlvId ( int blockType ) : ClassDescriptor
blockType int
리턴 ClassDescriptor

GetClassDescriptors() 공개 메소드

public GetClassDescriptors ( ) : List
리턴 List

GetSubtractedSubset() 공개 메소드

public GetSubtractedSubset ( string newName, Type superClassCriterion ) : SimplTypesScope
newName string
superClassCriterion System.Type
리턴 SimplTypesScope

Serialize() 공개 정적인 메소드

public static Serialize ( object obj, StringFormat format ) : String
obj object
format StringFormat
리턴 String

Serialize() 공개 정적인 메소드

public static Serialize ( object obj, TranslationContext translationContext, StringFormat format ) : String
obj object
translationContext Simpl.Serialization.Context.TranslationContext
format StringFormat
리턴 String

Serialize() 공개 정적인 메소드

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
리턴 System.Threading.Tasks.Task

Serialize() 공개 정적인 메소드

public static Serialize ( object obj, Stream stream, System.Text.Format format ) : void
obj object
stream Stream
format System.Text.Format
리턴 void

Serialize() 공개 정적인 메소드

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
리턴 void

Serialize() 공개 정적인 메소드

public static Serialize ( object obj, StringBuilder stringBuilder, StringFormat format ) : void
obj object
stringBuilder StringBuilder
format StringFormat
리턴 void

Serialize() 공개 정적인 메소드

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

Serialize() 공개 정적인 메소드

public static Serialize ( object obj, TextWriter textWriter, StringFormat format ) : void
obj object
textWriter System.IO.TextWriter
format StringFormat
리턴 void

Serialize() 공개 정적인 메소드

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
리턴 void

Serialize() 공개 정적인 메소드

public static Serialize ( object obj, object file, System.Text.Format format ) : void
obj object
file object
format System.Text.Format
리턴 void

SimplTypesScope() 공개 메소드

public SimplTypesScope ( ) : System
리턴 System

SimplTypesScope() 공개 메소드

public SimplTypesScope ( String name ) : System
name String
리턴 System

SimplTypesScope() 공개 메소드

public SimplTypesScope ( String name, List baseTranslationsSet ) : System
name String
baseTranslationsSet List
리턴 System

SimplTypesScope() 공개 메소드

public SimplTypesScope ( String name, List inheritedTranslationsSet, Type translations ) : System
name String
inheritedTranslationsSet List
translations System.Type
리턴 System

SimplTypesScope() 공개 메소드

public SimplTypesScope ( String name, SimplTypesScope inheritedSimplTypesScope ) : System
name String
inheritedSimplTypesScope SimplTypesScope
리턴 System

SimplTypesScope() 공개 메소드

public SimplTypesScope ( String name, SimplTypesScope _inheritedSimplTypesScopes, Type translations ) : System
name String
_inheritedSimplTypesScopes SimplTypesScope
translations System.Type
리턴 System

프로퍼티 상세

graphSwitch 공개적으로 정적으로 프로퍼티

Initialising graph switch to be off by default
public static GRAPH_SWITCH graphSwitch
리턴 GRAPH_SWITCH