Ejemplo n.º 1
0
 public SerializerImplFile(string[] name)
 {
     this._Name           = name;
     this.xs              = new XmlSerializer(typeof(T), CPropertySet.DataTypes);
     this._fileName       = CUtils.BuildFileName(name, ".xml");
     this._updateFileName = this._fileName + "_update";
 }
Ejemplo n.º 2
0
 public AsPropertySetAdapter(T o, string[] name)
 {
     this.Name            = name;
     this._Ref            = o;
     this._Serializer     = new DataContractSerializer(typeof(T));
     this.Lock            = new ReaderWriterLock();
     this._FileName       = CUtils.BuildFileName(this.Name, ".xml");
     this._UpdateFileName = this._FileName + "_update";
 }