Exemplo n.º 1
0
 protected override void CheckPreconditions()
 {
     DebugGuard.Requires(this.Model.Schema.Title == "Article");
     DebugGuard.Requires(this.OutputType == ViewOutputType.Html);
     DebugGuard.Requires(this.EnableOutputDecoration);
     DebugGuard.Requires(this.EnableOutputValidation);
     DebugGuard.Requires(this.Parent == null);
 }