public StructuredProperty(IStructuredTypeResolver typeResolver, PropertyInfo propertyInfo, StructuredType reflectedType) : base(typeResolver, propertyInfo, reflectedType) { this.structuredPropertyDetails = CreateLazy(() => typeResolver.LoadStructuredPropertyDetails(this)); }
protected StructuredType(IStructuredTypeResolver typeResolver, Type type, Func <IEnumerable <TypeSpec> > genericArguments = null) : base(typeResolver, type, genericArguments) { this.subTypes = CreateLazy(() => typeResolver.LoadSubTypes(this).ToList().AsReadOnly()); this.structuredTypeDetails = CreateLazy(() => typeResolver.LoadStructuredTypeDetails(this)); }
private TypeSpec CreateFromType <T>(IStructuredTypeResolver typeResolver, bool createSet) { if (createSet) { return(new QuerySetResultType <T>(typeResolver)); } return(new QueryResultType <T>(typeResolver)); }
public AnonymousType(IStructuredTypeResolver typeResolver, Type type, Func <IEnumerable <TypeSpec> > genericArguments = null) : base(typeResolver, type, genericArguments) { }
public AnonymousType(IStructuredTypeResolver typeResolver, Type type, Func<IEnumerable<TypeSpec>> genericArguments = null) : base(typeResolver, type, genericArguments) { }
public QuerySetResultType(IStructuredTypeResolver typeResolver) : base(typeResolver, typeof(QuerySetResult <T>), GetGenericArguments(typeResolver)) { }
public ItemsPropertySpec(IStructuredTypeResolver typeResolver, PropertyInfo propertyInfo, QueryResultType reflectedType) : base(typeResolver, propertyInfo, reflectedType) { }