public SubcaseActEntryTemplatePolicy(HistorySettings settings, ISchemaCache schemaCache, IHistoryOutputParser parser)
     : base(parser)
 {
     _settings = settings;
     _schemaCache = schemaCache;
     _parser = parser;
 }
 public static void EmailOutActEntry(this ActEntryTemplatePolicyExpression dsl, ISchemaCache schemaCache, IHistoryOutputParser historyOutputParser)
 {
     dsl.ActEntry(3400).DisplayName(HistoryBuilderTokens.LOG_EMAIL_OUT)
         .HtmlizeWith(item => EncodeEmail(historyOutputParser, item))
         .GetRelatedRecord("act_entry2email_log")
         .WithFields(getEmailLogFields(schemaCache))
         .UpdateActivityDTOWith((record, historyItem) => emailLogUpdater(record, historyItem, schemaCache));
 }
 public WorkflowActEntryTemplatePolicy(ISchemaCache schemaCache, 
     IHistoryOutputParser parser,
     HistorySettings historySettings)
     : base(parser)
 {
     _schemaCache = schemaCache;
     _parser = parser;
     _historySettings = historySettings;
 }
 public WorkflowActEntryTemplatePolicy(ISchemaCache schemaCache,
                                       IHistoryOutputParser parser,
                                       HistorySettings historySettings)
     : base(parser)
 {
     _schemaCache     = schemaCache;
     _parser          = parser;
     _historySettings = historySettings;
 }
 public ActEntryTemplate(IHistoryOutputParser encoder)
 {
     HTMLizer = item =>
     {
         item.Detail   = encoder.Encode(item.Detail);
         item.Internal = encoder.Encode(item.Internal);
     };
     RelatedGenericFields = new string[0];
 }
Beispiel #6
0
 public SeekerAttachmentPolicy(IAttachmentHistoryItemUpdater attachmentHistoryItemUpdater,
                               IHistoryOutputParser historyOutputParser,
                               ILogger logger,
                               ISchemaCache schemaCache,
                               HistorySettings settings)
     : base(historyOutputParser)
 {
     _attachmentHistoryItemUpdater = attachmentHistoryItemUpdater;
     _logger      = logger;
     _schemaCache = schemaCache;
     _settings    = settings;
 }
 public SeekerAttachmentPolicy(IAttachmentHistoryItemUpdater attachmentHistoryItemUpdater, 
     IHistoryOutputParser historyOutputParser,
     ILogger logger,
     ISchemaCache schemaCache,
     HistorySettings settings)
     : base(historyOutputParser)
 {
     _attachmentHistoryItemUpdater = attachmentHistoryItemUpdater;
     _logger = logger;
     _schemaCache = schemaCache;
     _settings = settings;
 }
 private static void EncodeEmail(IHistoryOutputParser historyOutputParser, HistoryItem item)
 {
     item.Detail = historyOutputParser.EncodeEmailLog(item.Detail);
     item.Internal = historyOutputParser.Encode(item.Internal);
 }
 public SamplePolicy(IHistoryOutputParser historyOutputParser)
     : base(historyOutputParser)
 {
 }
Beispiel #10
0
 public SubcaseActEntryTemplatePolicy(HistorySettings settings, ISchemaCache schemaCache, IHistoryOutputParser parser) : base(parser)
 {
     _settings    = settings;
     _schemaCache = schemaCache;
     _parser      = parser;
 }
 protected ActEntryTemplatePolicyExpression(IHistoryOutputParser historyOutputParser)
 {
     _historyOutputParser = historyOutputParser;
 }
 public SamplePolicy(IHistoryOutputParser historyOutputParser) : base(historyOutputParser)
 {
 }
 protected ActEntryTemplatePolicyExpression(IHistoryOutputParser historyOutputParser)
 {
     _historyOutputParser = historyOutputParser;
 }
 public ActEntryTemplate(IHistoryOutputParser encoder)
 {
     HTMLizer = item =>
     {
         item.Detail = encoder.Encode(item.Detail);
         item.Internal = encoder.Encode(item.Internal);
     };
     RelatedGenericFields = new string[0];
 }