示例#1
0
        private static IMemberOrderFacet Create(MemberOrderAttribute attribute, ISpecification holder)
        {
#pragma warning disable 618
            return(attribute == null ? null : new MemberOrderFacet(attribute.Name, attribute.Sequence, holder));

#pragma warning restore 618
        }
示例#2
0
 private static IMemberOrderFacet Create(MemberOrderAttribute attribute, ISpecification holder) => attribute == null ? null : new MemberOrderFacet(attribute.Name, attribute.Sequence, holder);
 private static IMemberOrderFacet Create(MemberOrderAttribute attribute, IFacetHolder holder) {
     return attribute == null ? null : new MemberOrderFacetAnnotation(attribute.Name, attribute.Sequence, holder);
 }
        private static IMemberOrderFacet Create(MemberOrderAttribute attribute, ISpecification holder) {
#pragma warning disable 618
            return attribute == null ? null : new MemberOrderFacet(attribute.Name, attribute.Sequence, holder);
#pragma warning restore 618
        }
 private static IMemberOrderFacet Create(MemberOrderAttribute attribute, ISpecification holder) {
     return attribute == null ? null : new MemberOrderFacet(attribute.Sequence, holder);
 }