Example #1
0
        public override Component Clone()
        {
            ModuleComponent result = base.Clone() as ModuleComponent;

            result.module.AddComponent(result);
            return(result);
        }
Example #2
0
 internal void AddComponent(ModuleComponent value)
 {
     components.Add(new WeakReference(value));
 }
Example #3
0
 public ModuleInstance(ModuleComponent source) : base(source)
 {
     pokeStopwatch.Stop();
 }