C# Class ATMLModelLibrary.model.common.Organization

Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( System s ) : Organization
Deserialize ( string input ) : Organization
Deserialize ( string input, Organization &obj ) : bool
Deserialize ( string input, Organization &obj, System &exception ) : bool

Deserializes workflow markup into an Organization object

LoadFromFile ( string fileName ) : Organization
LoadFromFile ( string fileName, Organization &obj ) : bool
LoadFromFile ( string fileName, Organization &obj, System &exception ) : bool

Deserializes xml markup from file into an Organization object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current Organization object into file

SaveToFile ( string fileName ) : void
Serialize ( ) : string

Serializes current Organization object into an XML string

ShouldSerializeContacts ( ) : bool

Test whether Contacts should be serialized

Method Details

Deserialize() public static method

public static Deserialize ( System s ) : Organization
s System
return Organization

Deserialize() public static method

public static Deserialize ( string input ) : Organization
input string
return Organization

Deserialize() public static method

public static Deserialize ( string input, Organization &obj ) : bool
input string
obj Organization
return bool

Deserialize() public static method

Deserializes workflow markup into an Organization object
public static Deserialize ( string input, Organization &obj, System &exception ) : bool
input string string workflow markup to deserialize
obj Organization Output Organization object
exception System output Exception value if deserialize failed
return bool

LoadFromFile() public static method

public static LoadFromFile ( string fileName ) : Organization
fileName string
return Organization

LoadFromFile() public static method

public static LoadFromFile ( string fileName, Organization &obj ) : bool
fileName string
obj Organization
return bool

LoadFromFile() public static method

Deserializes xml markup from file into an Organization object
public static LoadFromFile ( string fileName, Organization &obj, System &exception ) : bool
fileName string string xml file to load and deserialize
obj Organization Output Organization object
exception System output Exception value if deserialize failed
return bool

SaveToFile() public method

Serializes current Organization object into file
public SaveToFile ( string fileName, System &exception ) : bool
fileName string full path of outupt xml file
exception System output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current Organization object into an XML string
public Serialize ( ) : string
return string

ShouldSerializeContacts() public method

Test whether Contacts should be serialized
public ShouldSerializeContacts ( ) : bool
return bool