Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <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);
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
 /// <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);
 }
Beispiel #5
0
 /// <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);
 }
Beispiel #6
0
 /// <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);
 }
Beispiel #7
0
 /// <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);
 }