void SetMethod_Disposed(object sender, EventArgs e) { if (this.setMethod != null) { this._setMethod.Disposed -= new EventHandler(SetMethod_Disposed); this.setMethod.Dispose(); this._setMethod = null; this.setMethod = null; } }
public override void Dispose() { base.Dispose(); if (this.getMethod != null) { this.getMethod.Dispose(); this.getMethod = null; } if (this._getMethod != null) { this._getMethod.Disposed -= GetMethod_Disposed; this._getMethod = null; } if (this.setMethod != null) { this.setMethod.Dispose(); this.setMethod = null; } if (this._setMethod != null) { this._setMethod.Disposed -= SetMethod_Disposed; this._setMethod = null; } }
protected override IPropertyMethodMember OnGetMethod(IPropertyMethodMember originalMethod) { return(new _Method(Parent, (IStructPropertyMethodMember)originalMethod)); }
protected abstract IPropertyMethodMember OnGetMethod(IPropertyMethodMember originalMethod);