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"; }
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"; }