public FluentConfigurationIf <T> If(Func <IMetaConstraint <T>, MetaValidator.Core.MetaSpecificationExtension.OperatorAware <T> > @ifFactory) { if (factory == null || factory == DefaultFactory) { return(new FluentConfigurationIf <T>(configuration, @ifFactory)); } else { var ifSpec = @ifFactory.@Get(@if => @if(null).Unwrap()); return(new FluentConfigurationIf <T>(configuration, factory, s => s.And(ifSpec))); } }
protected virtual ISpecification <Type> GetTypeError() { return(getTypeErrorSpec.@Get(get => get())); }
protected virtual ISpecification <MemberInfo> GetMemberError() { return(getMemberErrorSpec.@Get(get => get())); }
// protected virtual ISpecification <Assembly> GetAssemblyError() { return(getAssemblyErrorSpec.@Get(get => get())); }