Example #1
0
        public virtual NotificationTemplateBuilder Add()
        {
            NotificationTemplateSettings item = new NotificationTemplateSettings();

            container.Templates.Add(item);

            return new NotificationTemplateBuilder(item, viewContext);
        }
Example #2
0
        public virtual NotificationTemplateBuilder Add()
        {
            NotificationTemplateSettings item = new NotificationTemplateSettings();

            container.Templates.Add(item);

            return(new NotificationTemplateBuilder(item, viewContext));
        }
Example #3
0
 public NotificationTemplateBuilder(NotificationTemplateSettings templateSettings, ViewContext viewContext)
 {
     this.templateSettings = templateSettings;
     this.viewContext = viewContext;
 }
Example #4
0
 public NotificationTemplateBuilder(NotificationTemplateSettings templateSettings, ViewContext viewContext)
 {
     this.templateSettings = templateSettings;
     this.viewContext      = viewContext;
 }