Exemple #1
0
 public void Dispose()
 {
     Inputs.ForEach(i => i.Dispose());
     Outputs.ForEach(o => o.Dispose());
     InternalOps.ForEach(o => o.Dispose());
     InternalParts.ForEach(p => p.Dispose());
     Definition.RemoveInstance(this);
 }
Exemple #2
0
        public MetaOperatorPart GetMetaOperatorPart(OperatorPart opPart)
        {
            int index = InternalParts.IndexOf(opPart);

            return((index != -1) ? Definition.OperatorParts[index].Item2 : null);
        }