Beispiel #1
0
 /// <summary>
 /// Gets the formatter.
 /// </summary>
 /// <param name="method">The method.</param>
 /// <returns>MethodFormatAttribute.</returns>
 private static MethodFormatAttribute GetFormatter(Delegate method) => method.Method.GetCustomAttribute <MethodFormatAttribute>() ?? StoryQSettings.DefaultMethodFormatSelector(method.Method);