AGS.Types.DeserializeIgnoreAttribute.MatchesProperty C# (CSharp) Method

MatchesProperty() public static method

public static MatchesProperty ( PropertyInfo prop ) : Predicate
prop System.Reflection.PropertyInfo
return Predicate
        public static Predicate<DeserializeIgnoreAttribute> MatchesProperty(PropertyInfo prop)
        {
            return delegate(DeserializeIgnoreAttribute attribute)
            {
                return attribute.PropertyName == prop.Name;
            };
        }