Пример #1
0
 public bool Matches(BlockWritingContext context)
 {
     return(context.MatchesAccessor(x => x.PropertyType.IsGenericEnumerable()));
 }
Пример #2
0
 public bool Matches(BlockWritingContext context)
 {
     return(context.MatchesAccessor(x => x.PropertyType.IsSimple() || x.PropertyType == typeof(decimal)));
 }
Пример #3
0
 public bool Matches(BlockWritingContext context)
 {
     return(context.MatchesAccessor(x => x.HasAttribute <ImplicitValueAttribute>()));
 }