/// <summary> /// Gets unary parallel operation /// </summary> /// <param name="type">Type</param> /// <param name="operation">Prototype</param> /// <returns>The parallel operation</returns> static public IObjectOperation GetUnaryParallel(object type, IObjectOperation operation) { if (ParallelFactory != null) { if (ParallelCount > 0) { return(ParallelFactory.GetUnary(type, operation)); } } return(null); }
/// <summary> /// Get dynamical binary right parallel operation /// </summary> /// <param name="typeLeft">Type of left part</param> /// <param name="typeRight">Type of right part</param> /// <param name="operation">Prototype</param> /// <returns>The parallel operation</returns> public static IObjectOperation GetDynamicalBinaryRight(object typeLeft, object typeRight, IObjectOperation operation) { if (ParallelFactory != null) { if (ParallelCount > 0) { return(ParallelFactory.GetDynamicalBinaryRight(typeLeft, typeRight, operation)); } } return(null); }