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); }
public MetaOperatorPart GetMetaOperatorPart(OperatorPart opPart) { int index = InternalParts.IndexOf(opPart); return((index != -1) ? Definition.OperatorParts[index].Item2 : null); }