Esempio n. 1
0
 private async Task ImportViewDefinitionAsync(AbstractEntityViewDefinition viewDef)
 {
     await this.InternalImportDefinitionAsync(viewDef, _viewRepo, view => {
         view.DisplayName = viewDef.Title;
         view.Entity      = viewDef.Entity;
         view.Priority    = viewDef.Priority;
         view.ViewType    = viewDef.ViewType;
     });
 }
Esempio n. 2
0
 public ViewInfo(
     string name,
     AbstractEntityViewDefinition view,
     IEnumerable <MetaField> metaFields = null)
 {
     this.Name       = name;
     this.View       = view;
     this.MetaFields = metaFields;
 }