Пример #1
0
 internal void CheckMethods()
 {
     if (this.methods == null)
     {
         this.methods = this.InitializeMethods();
     }
 }
Пример #2
0
 /// <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;
 }