internal void CheckMethods() { if (this.methods == null) { this.methods = this.InitializeMethods(); } }
/// <summary> /// Disposes the <see cref="ModuleBase"/>. /// </summary> public override void Dispose() { if (this.methods != null) { this.methods.Dispose(); this.methods = null; } if (this.fields != null) { this.fields.Dispose(); this.fields = null; } this.parent = null; }