Esempio 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);
 }
Esempio n. 3
0
 public SanityQueryProvider(Type docType, SanityDataContext context, int maxNestingLevel)
 {
     MaxNestingLevel = maxNestingLevel;
     DocType         = docType;
     Context         = context;
 }
Esempio n. 4
0
 public SanityQueryProvider(Type docType, SanityDataContext context)
 {
     DocType = docType;
     Context = context;
 }