internal void MarkRequireInternal(Computation other, bool isRequired, ITransformationRuleDependency dependency) { if (other != null) { MarkRequire(other, isRequired, dependency); Context.MarkRequire(other, isRequired); } }
/// <summary> /// Marks that this computations requires another to be transformed. /// </summary> /// <param name="other">The other computation</param> /// <param name="isRequired">A value indicating whether the other computation must be execute before or after the current computation</param> /// <param name="dependency">The dependency that required this</param> /// <remarks>The default implementation does nothing, so feel free to override. This method is intended to be called by NMF.Transformations, only.</remarks> public virtual void MarkRequire(Computation other, bool isRequired, ITransformationRuleDependency dependency) { }