示例#1
0
 public ConstructorRetrievalFactory()
 {
     _constructorQuery =
         PublicNonRecursiveConstructors(
             PublicParameterlessConstructors(
                 InternalNonRecursiveConstructors(
                     InternalParameterlessConstructors(
                         PublicStaticNonRecursiveFactoryMethod(
                             PublicRecursiveConstructors(
                                 InternalRecursiveConstructors(
                                     PrimitiveConstructor()
                                     )))))));
 }
示例#2
0
 private static IConstructorRetrieval InternalParameterlessConstructors(IConstructorRetrieval next)
 {
     return(new NonPublicParameterlessConstructorRetrieval(next));
 }
示例#3
0
 private static IConstructorRetrieval InternalNonRecursiveConstructors(IConstructorRetrieval next)
 {
     return(new InternalConstructorWithoutRecursionRetrieval(next));
 }
示例#4
0
 private static IConstructorRetrieval InternalRecursiveConstructors(IConstructorRetrieval next)
 {
     return(new InternalRecursiveConstructorRetrieval(next));
 }
示例#5
0
 private static IConstructorRetrieval PublicNonRecursiveConstructors(IConstructorRetrieval next)
 {
     return(new PublicNonRecursiveConstructorRetrieval(next));
 }
 public PublicRecursiveConstructorsRetrieval(IConstructorRetrieval next)
 {
     _next = next;
 }
示例#7
0
 private IConstructorRetrieval PublicStaticNonRecursiveFactoryMethod(IConstructorRetrieval next)
 {
     return(new PublicStaticFactoryMethodRetrieval(next));
 }
 public InternalRecursiveConstructorRetrieval(IConstructorRetrieval next)
 {
     _next = next;
 }
示例#9
0
 public InternalConstructorWithoutRecursionRetrieval(IConstructorRetrieval next)
 {
     _next = next;
 }
示例#10
0
 public NonPublicParameterlessConstructorRetrieval(IConstructorRetrieval next)
 {
     _next = next;
 }
示例#11
0
 public SmartType(Type type, IConstructorRetrieval constructorRetrieval)
 {
     _type = type;
     _constructorRetrieval = constructorRetrieval;
     _typeInfo             = _type.GetTypeInfo();
 }
示例#12
0
 public PublicStaticFactoryMethodRetrieval(IConstructorRetrieval next)
 {
     _next = next;
 }