C# Class XSpect.Yacq.Expressions.SerializedExpression

Represents a serialized expression, an expression that has object graph to reconstruct an expression.
Inheritance: YacqExpression
Afficher le fichier Open project: takeshik/yacq Class Usage Examples

Private Properties

Свойство Type Description
SerializedExpression System

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
ReduceImpl ( SymbolTable symbols, Type expectedType ) : Expression

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

Private Methods

Méthode Description
SerializedExpression ( SymbolTable symbols, Node node ) : System

Method Details

Deserialize() public méthode

Gets the deserialized expression of this expression.
public Deserialize ( ) : Expression
Résultat System.Linq.Expressions.Expression

ReduceImpl() protected méthode

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.
Résultat System.Linq.Expressions.Expression

Save() public méthode

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.
Résultat void

SaveBinary() public méthode

Gets the object graph which represents this expression as Data Contract binary data.
public SaveBinary ( ) : Byte[]
Résultat Byte[]

SaveBinary() public méthode

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.
Résultat void

SaveBinary() public méthode

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.
Résultat void

SaveText() public méthode

Gets the object graph which represents this expression as Data Contract XML data.
public SaveText ( ) : String
Résultat String

SaveText() public méthode

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.
Résultat void

SaveText() public méthode

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.
Résultat void

ToString() public méthode

Returns a String that represents this expression.
public ToString ( ) : String
Résultat String