Beispiel #1
0
 private static IDisabledFacet Create(DisabledAttribute attribute, ISpecification holder) => attribute == null ? null : new DisabledFacetAnnotation(attribute.Value, holder);
 private static IDisabledFacet Create(DisabledAttribute attribute, IFacetHolder holder) {
     return attribute == null ? null : new DisabledFacetAnnotation(attribute.Value.ToWhen(), holder);
 }