C# Class DynamicXaml.MarkupSystem.XamlWriter

A true XAML writer based on an XmlReader
Inheritance: IDisposable
Afficher le fichier Open project: flq/XamlTags Class Usage Examples

Méthodes publiques

Méthode Description
AddAttribute ( bool condition, string attribute, string content ) : XamlWriter
AddAttribute ( string attribute, object content ) : XamlWriter
AddAttribute ( string attribute, string content ) : XamlWriter
CloseCurrentElement ( ) : XamlWriter
Dispose ( ) : void
IsElementOpen ( ) : bool
RegisterReference ( string ns, string clrNamespace, string assembly = null ) : void
StartElement ( string name ) : XamlWriter
StartElement ( string name, Action action ) : XamlWriter
XamlWriter ( TextWriter output, XamlWriterSettings settings = null, bool closeOutputStream = true ) : System

Private Methods

Méthode Description
ElementSwitch ( string text, string>.Action withoutNameSpace, string>.Action withNameSpace ) : void
StartRoot ( string name ) : void
WriteAllReferences ( ) : void

Method Details

AddAttribute() public méthode

public AddAttribute ( bool condition, string attribute, string content ) : XamlWriter
condition bool
attribute string
content string
Résultat XamlWriter

AddAttribute() public méthode

public AddAttribute ( string attribute, object content ) : XamlWriter
attribute string
content object
Résultat XamlWriter

AddAttribute() public méthode

public AddAttribute ( string attribute, string content ) : XamlWriter
attribute string
content string
Résultat XamlWriter

CloseCurrentElement() public méthode

public CloseCurrentElement ( ) : XamlWriter
Résultat XamlWriter

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IsElementOpen() public méthode

public IsElementOpen ( ) : bool
Résultat bool

RegisterReference() public méthode

public RegisterReference ( string ns, string clrNamespace, string assembly = null ) : void
ns string
clrNamespace string
assembly string
Résultat void

StartElement() public méthode

public StartElement ( string name ) : XamlWriter
name string
Résultat XamlWriter

StartElement() public méthode

public StartElement ( string name, Action action ) : XamlWriter
name string
action Action
Résultat XamlWriter

XamlWriter() public méthode

public XamlWriter ( TextWriter output, XamlWriterSettings settings = null, bool closeOutputStream = true ) : System
output System.IO.TextWriter
settings XamlWriterSettings
closeOutputStream bool
Résultat System