C# Class PeriodicSystem.Serialize.SerializeXML

显示文件 Open project: MrKimberwood/Gruppe6

Public Methods

Method Description
AsyncDeserializeFromString ( string xml ) : Task
AsyncSerializeToString ( Diagram diagram ) : Task
load ( String path ) : Task
save ( Diagram diagram, String path ) : void

Private Methods

Method Description
DeserializeFromFile ( String path ) : Diagram
DeserializeFromString ( string xml ) : Diagram
SerializeToFile ( Diagram diagram, String path ) : void
SerializeToString ( Diagram diagram ) : string
SerializeXML ( ) : Model

Method Details

AsyncDeserializeFromString() public method

public AsyncDeserializeFromString ( string xml ) : Task
xml string
return Task

AsyncSerializeToString() public method

public AsyncSerializeToString ( Diagram diagram ) : Task
diagram Model.Diagram
return Task

load() public method

public load ( String path ) : Task
path String
return Task

save() public method

public save ( Diagram diagram, String path ) : void
diagram Model.Diagram
path String
return void