/// <summary> /// Runs the specified function as a Smocks session. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="func">The function.</param> /// <returns>The result of the function.</returns> public static sbyte Run(Configuration configuration, Func<ISmocksContext, sbyte> func) { return RunInternal(func, configuration); }
/// <summary> /// Runs the specified function as a Smocks session. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="func">The function.</param> /// <returns>The result of the function.</returns> public static ushort Run(Configuration configuration, Func<ISmocksContext, ushort> func) { return RunInternal(func, configuration); }
/// <summary> /// Runs the specified function as a Smocks session. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="func">The function.</param> /// <returns>The result of the function.</returns> public static char Run(Configuration configuration, Func<ISmocksContext, char> func) { return RunInternal(func, configuration); }
/// <summary> /// Runs the specified function as a Smocks session. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="func">The function.</param> /// <returns>The result of the function.</returns> public static decimal Run(Configuration configuration, Func<ISmocksContext, decimal> func) { return RunInternal(func, configuration); }
/// <summary> /// Runs the specified function as a Smocks session. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="func">The function.</param> /// <returns>The result of the function.</returns> public static Uri Run(Configuration configuration, Func<ISmocksContext, Uri> func) { return RunInternal(func, configuration); }
/// <summary> /// Runs the specified function as a Smocks session. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="func">The function.</param> /// <returns>The result of the function.</returns> public static Guid Run(Configuration configuration, Func<ISmocksContext, Guid> func) { return RunInternal(func, configuration); }
/// <summary> /// Runs the specified function as a Smocks session. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="func">The function.</param> /// <returns>The result of the function.</returns> public static long Run(Configuration configuration, Func<ISmocksContext, long> func) { return RunInternal(func, configuration); }