public SheetBindingManager(IBindableSheet sheet) { this.fields = new SparseArray <string>(); this.sheet = sheet; if ((this.sheet != null) && (this.fields == null)) { this.fields = new SparseArray <string>(); this.fields.Length = this.sheet.ColumnCount; } }
public void Dispose() { this.Unbind(); this.sheet = null; this.fields = null; }