示例#1
0
 //将被装入的对象的默认设置为当前装饰者的初始值
 public void GetSettingFromComponent(XMLComponent xc)
 {
     this.FileEncode      = xc.FileEncode;
     this.FileOutPath     = xc.FileOutPath;
     this.Indentation     = xc.Indentation;
     this.SourceDataTable = xc.SourceDataTable;
     this.StartElement    = xc.StartElement;
     this.Version         = xc.Version;
     this.XslLink         = xc.XslLink;
     this.Key             = xc.Key;
     this.ParentField     = xc.ParentField;
 }
示例#2
0
		//将被装入的对象的默认设置为当前装饰者的初始值
		public void GetSettingFromComponent(XMLComponent xc)
		{
			this.FileEncode = xc.FileEncode;
			this.FileOutPath = xc.FileOutPath;
			this.Indentation = xc.Indentation;
			this.SourceDataTable = xc.SourceDataTable;
			this.StartElement = xc.StartElement;
			this.Version = xc.Version;
			this.XslLink = xc.XslLink;
			this.Key = xc.Key;
			this.ParentField = xc.ParentField;
		}
示例#3
0
		public void SetXMLComponent(XMLComponent xc)
		{
			ActualXMLComponent = xc;
			//Console.WriteLine("FileEncode - {0}", xc.FileEncode);		
			GetSettingFromComponent( xc);
		}
示例#4
0
 public void SetXMLComponent(XMLComponent xc)
 {
     ActualXMLComponent = xc;
     //Console.WriteLine("FileEncode - {0}", xc.FileEncode);
     GetSettingFromComponent(xc);
 }
示例#5
0
		public void SetXMLComponent(XMLComponent xc)
		{
			ActualXMLComponent = xc;
			GetSettingFromComponent( xc);
		}
示例#6
0
 public void SetXMLComponent(XMLComponent xc)
 {
     ActualXMLComponent = xc;
     GetSettingFromComponent(xc);
 }