C# Класс XSpect.Yacq.Expressions.SerializedExpression

Represents a serialized expression, an expression that has object graph to reconstruct an expression.
Наследование: YacqExpression
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
Deserialize ( ) : Expression

Gets the deserialized expression of this expression.

Save ( XmlDictionaryWriter writer ) : void

Saves the object graph which represents this expression using the specified XmlDictionaryWriter.

SaveBinary ( ) : Byte[]

Gets the object graph which represents this expression as Data Contract binary data.

SaveBinary ( FileInfo file ) : void

Saves the object graph which represents this expression as Data Contract binary data to specified file.

SaveBinary ( Stream stream ) : void

Saves the object graph which represents this expression as Data Contract binary data into an output stream.

SaveText ( ) : String

Gets the object graph which represents this expression as Data Contract XML data.

SaveText ( FileInfo file ) : void

Saves the object graph which represents this expression as Data Contract XML data to specified file.

SaveText ( Stream stream ) : void

Saves the object graph which represents this expression as Data Contract XML data into an output stream.

ToString ( ) : String

Returns a String that represents this expression.

Защищенные методы

Метод Описание
ReduceImpl ( SymbolTable symbols, Type expectedType ) : Expression

Reduces (means deserialize) this node to a simpler expression with additional symbol tables.

Приватные методы

Метод Описание
SerializedExpression ( SymbolTable symbols, Node node ) : System

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

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

Gets the deserialized expression of this expression.
public Deserialize ( ) : Expression
Результат System.Linq.Expressions.Expression

ReduceImpl() защищенный Метод

Reduces (means deserialize) this node to a simpler expression with additional symbol tables.
protected ReduceImpl ( SymbolTable symbols, Type expectedType ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The additional symbol table for reducing.
expectedType System.Type The type which is expected as the type of reduced expression.
Результат System.Linq.Expressions.Expression

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

Saves the object graph which represents this expression using the specified XmlDictionaryWriter.
public Save ( XmlDictionaryWriter writer ) : void
writer System.Xml.XmlDictionaryWriter An used to write the object graph.
Результат void

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

Gets the object graph which represents this expression as Data Contract binary data.
public SaveBinary ( ) : Byte[]
Результат Byte[]

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

Saves the object graph which represents this expression as Data Contract binary data to specified file.
public SaveBinary ( FileInfo file ) : void
file System.IO.FileInfo The file to write the output to.
Результат void

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

Saves the object graph which represents this expression as Data Contract binary data into an output stream.
public SaveBinary ( Stream stream ) : void
stream Stream The destination stream.
Результат void

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

Gets the object graph which represents this expression as Data Contract XML data.
public SaveText ( ) : String
Результат String

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

Saves the object graph which represents this expression as Data Contract XML data to specified file.
public SaveText ( FileInfo file ) : void
file System.IO.FileInfo The file to write the output to.
Результат void

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

Saves the object graph which represents this expression as Data Contract XML data into an output stream.
public SaveText ( Stream stream ) : void
stream Stream The destination stream.
Результат void

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

Returns a String that represents this expression.
public ToString ( ) : String
Результат String