C# Class Simpl.Serialization.Context.TranslationContext

Representing the graph context
Inheritance: IScalarUnmarshallingContext
Afficher le fichier Open project: ecologylab/simplCSharp Class Usage Examples

Méthodes publiques

Méthode Description
AlreadyMarshalled ( Object obj ) : bool

GetFromMap ( string key ) : object
GetSimplId ( Object obj ) : String
HandleSimplIds ( String tag, String value, ElementState elementState ) : bool

Handle simpl Ids associated with the given element state object

InitializeMultiMaps ( ) : void
MapObject ( Object obj ) : void

Adding to the marshalledObjects

MarkAsUnmarshalled ( String value, Object elementState ) : void
NeedsHashCode ( Object obj ) : bool

RefObjectNeedsIdResolve ( Object parentObject, Object whereToSet, String simplId ) : void
ResolveGraph ( object obj ) : void

resolving the graph based on the value of the graph switch

ResolveIdsForRefObjects ( ) : void
TranslationContext ( ) : System
TranslationContext ( ParsedUri baseUri ) : System
TranslationContext ( object fileDirContext ) : System

Private Methods

Méthode Description
AlreadyVisited ( Object obj ) : bool

Method Details

AlreadyMarshalled() public méthode

public AlreadyMarshalled ( Object obj ) : bool
obj Object
Résultat bool

GetFromMap() public méthode

public GetFromMap ( string key ) : object
key string
Résultat object

GetSimplId() public méthode

public GetSimplId ( Object obj ) : String
obj Object
Résultat String

HandleSimplIds() public méthode

Handle simpl Ids associated with the given element state object
public HandleSimplIds ( String tag, String value, ElementState elementState ) : bool
tag String
value String
elementState ElementState
Résultat bool

InitializeMultiMaps() public méthode

public InitializeMultiMaps ( ) : void
Résultat void

MapObject() public méthode

Adding to the marshalledObjects
public MapObject ( Object obj ) : void
obj Object
Résultat void

MarkAsUnmarshalled() public méthode

public MarkAsUnmarshalled ( String value, Object elementState ) : void
value String
elementState Object
Résultat void

NeedsHashCode() public méthode

public NeedsHashCode ( Object obj ) : bool
obj Object
Résultat bool

RefObjectNeedsIdResolve() public méthode

public RefObjectNeedsIdResolve ( Object parentObject, Object whereToSet, String simplId ) : void
parentObject Object
whereToSet Object
simplId String
Résultat void

ResolveGraph() public méthode

resolving the graph based on the value of the graph switch
public ResolveGraph ( object obj ) : void
obj object
Résultat void

ResolveIdsForRefObjects() public méthode

public ResolveIdsForRefObjects ( ) : void
Résultat void

TranslationContext() public méthode

public TranslationContext ( ) : System
Résultat System

TranslationContext() public méthode

public TranslationContext ( ParsedUri baseUri ) : System
baseUri Simpl.Fundamental.Net.ParsedUri
Résultat System

TranslationContext() public méthode

public TranslationContext ( object fileDirContext ) : System
fileDirContext object
Résultat System