public NetworkLogWrapper(NetworkLogAttribute attr, Type type) { m_type = type; this.FileExtension = attr.FileExtension; this.Flags = attr.Flags; this.ReqHeader = attr.HeaderBytes; using (var dummy = this.Activate(NetworkLogMode.Abstract)) this.Name = dummy.Name; this.FileFilter = this.Name + " (*." + this.FileExtension + ")|*." + this.FileExtension; }
public NetworkLogWrapper(NetworkLogAttribute attr, Type type) { m_type = type; this.FileExtension = attr.FileExtension; this.Flags = attr.Flags; this.ReqHeader = attr.HeaderBytes; using (var dummy = this.Activate(NetworkLogMode.Abstract)) this.Name = dummy.Name; this.FileFilter = this.Name + " (*." + this.FileExtension + ")|*." + this.FileExtension; }