Exemple #1
0
 /// <summary>
 /// Adds the URL lookup provider module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 /// <param name="urlLookupProvider">The URL lookup provider.</param>
 public static void UseUrlLookupProviderModule(this SchemaBuilder schemaBuilder, IUrlLookupProvider urlLookupProvider)
 {
     schemaBuilder.AddPipelineModule(new UrlLookupSchemaModule(urlLookupProvider));
 }
Exemple #2
0
 /// <summary>
 /// Adds the validation message module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseValidationMessageModule(this SchemaBuilder schemaBuilder, ILanguageProvider languaageProvider)
 {
     schemaBuilder.AddPipelineModule(new ValidationMessageSchemaModule(languaageProvider));
 }
Exemple #3
0
 /// <summary>
 /// Adds the maximum length module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseMaxLengthModule(this SchemaBuilder schemaBuilder)
 {
     schemaBuilder.AddPipelineModule(new MaxLengthSchemaModule());
 }
Exemple #4
0
 /// <summary>
 /// Adds the title module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseTitleModule(this SchemaBuilder schemaBuilder, ILanguageProvider languaageProvider)
 {
     schemaBuilder.AddPipelineModule(new TitleSchemaModule(languaageProvider));
 }
Exemple #5
0
 /// <summary>
 /// Adds the regular expression validation module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseRegExValidationModule(this SchemaBuilder schemaBuilder)
 {
     schemaBuilder.AddPipelineModule(new RegExValidationSchemaModule());
 }
Exemple #6
0
 /// <summary>
 /// Adds the required module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseRequiredModule(this SchemaBuilder schemaBuilder)
 {
     schemaBuilder.AddPipelineModule(new RequiredSchemaModule());
 }
Exemple #7
0
 /// <summary>
 /// Adds the array module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseArrayModule(this SchemaBuilder schemaBuilder)
 {
     schemaBuilder.AddPipelineModule(new ArraySchemaModule());
 }
Exemple #8
0
 /// <summary>
 /// Adds the sub object module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseSubObjectModule(this SchemaBuilder schemaBuilder)
 {
     schemaBuilder.AddPipelineModule(new SubObjectSchemaModule());
 }
Exemple #9
0
 /// <summary>
 /// Adds the type module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseTypeModule(this SchemaBuilder schemaBuilder)
 {
     schemaBuilder.AddPipelineModule(new TypeSchemaModule());
 }
Exemple #10
0
 /// <summary>
 /// Adds the attibuted properties only module to the pipeline.
 /// </summary>
 /// <param name="schemaBuilder">The schema builder.</param>
 public static void UseAttributedPropertiesOnlyModule(this SchemaBuilder schemaBuilder)
 {
     schemaBuilder.AddPipelineModule(new AttributedPropertiesOnlySchemaModule());
 }