AGS.Types.DeserializeIgnoreAttribute.MatchesProperty C# (CSharp) 메소드

MatchesProperty() 공개 정적인 메소드

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