Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public void SetXmlComponent(XmlComponent xc)
 {
     ActualXmlComponent = xc;
     GetSettingFromComponent(xc);
 }