private void Initialize(XamlXmlWriter xamlXmlWriter)
 {
     this.xamlXmlWriter = xamlXmlWriter;
     this.settings = xamlXmlWriter.Settings;
     this.meSettings = this.meSettings ?? new XamlMarkupExtensionWriterSettings();
     this.currentState = Start.State;
     this.sb = new StringBuilder();
     this.nodes = new Stack<Node>();
     this.failed = false;
 }
Exemple #2
0
 void Initialize(XamlXmlWriter xamlXmlWriter)
 {
     this.xamlXmlWriter = xamlXmlWriter;
     this.settings      = xamlXmlWriter.Settings; // This will clone, only want to do this once
     this.meSettings    = this.meSettings ?? new XamlMarkupExtensionWriterSettings();
     currentState       = Start.State;
     sb     = new StringBuilder();
     nodes  = new Stack <Node>();
     failed = false;
 }
 private void Initialize(XamlXmlWriter xamlXmlWriter)
 {
     this.xamlXmlWriter = xamlXmlWriter;
     this.settings      = xamlXmlWriter.Settings;
     this.meSettings    = this.meSettings ?? new XamlMarkupExtensionWriterSettings();
     this.currentState  = Start.State;
     this.sb            = new StringBuilder();
     this.nodes         = new Stack <Node>();
     this.failed        = false;
 }
 public XamlMarkupExtensionWriter(XamlXmlWriter xamlXmlWriter, XamlMarkupExtensionWriterSettings meSettings)
 {
     this.meSettings = meSettings;
     this.Initialize(xamlXmlWriter);
 }
Exemple #5
0
 public XamlMarkupExtensionWriter(XamlXmlWriter xamlXmlWriter, XamlMarkupExtensionWriterSettings meSettings)
 {
     this.meSettings = meSettings;
     Initialize(xamlXmlWriter);
 }