C# Класс ATMLModelLibrary.model.equipment.OperationalRequirements

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Deserialize ( Stream s ) : OperationalRequirements
Deserialize ( string input ) : OperationalRequirements
Deserialize ( string input, OperationalRequirements &obj ) : bool
Deserialize ( string input, OperationalRequirements &obj, Exception &exception ) : bool

Deserializes workflow markup into an OperationalRequirements object

LoadFromFile ( string fileName ) : OperationalRequirements
LoadFromFile ( string fileName, OperationalRequirements &obj ) : bool
LoadFromFile ( string fileName, OperationalRequirements &obj, Exception &exception ) : bool

Deserializes xml markup from file into an OperationalRequirements object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current OperationalRequirements object into file

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

Serializes current OperationalRequirements object into an XML string

ShouldSerializeOperationalRequirement ( ) : bool

Test whether OperationalRequirement should be serialized

Validate ( SchemaValidationResult errors ) : bool

Описание методов

Deserialize() публичный статический Метод

public static Deserialize ( Stream s ) : OperationalRequirements
s Stream
Результат OperationalRequirements

Deserialize() публичный статический Метод

public static Deserialize ( string input ) : OperationalRequirements
input string
Результат OperationalRequirements

Deserialize() публичный статический Метод

public static Deserialize ( string input, OperationalRequirements &obj ) : bool
input string
obj OperationalRequirements
Результат bool

Deserialize() публичный статический Метод

Deserializes workflow markup into an OperationalRequirements object
public static Deserialize ( string input, OperationalRequirements &obj, Exception &exception ) : bool
input string string workflow markup to deserialize
obj OperationalRequirements Output OperationalRequirements object
exception System.Exception output Exception value if deserialize failed
Результат bool

LoadFromFile() публичный статический Метод

public static LoadFromFile ( string fileName ) : OperationalRequirements
fileName string
Результат OperationalRequirements

LoadFromFile() публичный статический Метод

public static LoadFromFile ( string fileName, OperationalRequirements &obj ) : bool
fileName string
obj OperationalRequirements
Результат bool

LoadFromFile() публичный статический Метод

Deserializes xml markup from file into an OperationalRequirements object
public static LoadFromFile ( string fileName, OperationalRequirements &obj, Exception &exception ) : bool
fileName string string xml file to load and deserialize
obj OperationalRequirements Output OperationalRequirements object
exception System.Exception output Exception value if deserialize failed
Результат bool

SaveToFile() публичный Метод

Serializes current OperationalRequirements object into file
public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string full path of outupt xml file
exception System.Exception output Exception value if failed
Результат bool

SaveToFile() публичный Метод

public SaveToFile ( string fileName ) : void
fileName string
Результат void

Serialize() публичный Метод

Serializes current OperationalRequirements object into an XML string
public Serialize ( ) : string
Результат string

ShouldSerializeOperationalRequirement() публичный Метод

Test whether OperationalRequirement should be serialized
public ShouldSerializeOperationalRequirement ( ) : bool
Результат bool

Validate() публичный Метод

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
Результат bool