C# Class ATMLModelLibrary.model.common.CollectionItem

Inheritance: Value
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an CollectionItem object

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

Deserializes xml markup from file into an CollectionItem object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current CollectionItem object into file

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

Serializes current CollectionItem object into an XML string

ToString ( ) : string
Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current CollectionItem 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 CollectionItem object into an XML string
public Serialize ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

Validate() public method

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
return bool