Ejemplo n.º 1
0
 public SanityQueryProvider(Type docType, SanityDataContext context, int maxNestingLevel, bool excludeDocTypeConstraint = false)
 {
     _excludeDocTypeConstraint = excludeDocTypeConstraint;
     MaxNestingLevel           = maxNestingLevel;
     DocType = docType;
     Context = context;
 }
 public static void AddHtmlSerializer(this SanityDataContext sanity, string type, Func <JToken, SanityOptions, Task <string> > serializer)
 {
     sanity.HtmlBuilder.AddSerializer(type, serializer);
 }
Ejemplo n.º 3
0
 public SanityQueryProvider(Type docType, SanityDataContext context, int maxNestingLevel)
 {
     MaxNestingLevel = maxNestingLevel;
     DocType         = docType;
     Context         = context;
 }
Ejemplo n.º 4
0
 public SanityQueryProvider(Type docType, SanityDataContext context)
 {
     DocType = docType;
     Context = context;
 }