C# Class ATMLModelLibrary.model.common.dateTime

Inheritance: DatumType
Exibir arquivo Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an dateTime object

Deserialize ( System s ) : dateTime
Deserialize ( string input ) : dateTime
LoadFromFile ( string fileName, dateTime &obj ) : bool
LoadFromFile ( string fileName, dateTime &obj, System &exception ) : bool

Deserializes xml markup from file into an dateTime object

LoadFromFile ( string fileName ) : dateTime
SaveToFile ( string fileName, System &exception ) : bool

Serializes current dateTime object into file

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

Serializes current dateTime object into an XML string

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

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current dateTime 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 dateTime 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