Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created December 3, 2022 16:37
/// <summary>
/// Instantiates a new <see cref="ServiceFilterAttribute"/> instance.
/// </summary>
/// <param name="type">The <see cref="Type"/> of filter to find.</param>
public ServiceFilterAttribute(Type type)
{
ServiceType = type ?? throw new ArgumentNullException(nameof(type));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment