Skip to content

Instantly share code, notes, and snippets.

@enisn
Created April 16, 2020 20:02
Show Gist options
  • Save enisn/765b85f68bcdf276187837238f7f366a to your computer and use it in GitHub Desktop.
Save enisn/765b85f68bcdf276187837238f7f366a to your computer and use it in GitHub Desktop.
Challenge #1 - Solution 2 - FilteringOptionsBase.cs
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public abstract class FilteringOptionsBaseAttribute : Attribute, IFilterableType
{
public abstract Expression BuildExpression(Expression expressionBody, PropertyInfo property, object value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment