public PagePresenter(IPageView view, IPageService pageService, IMarkupConverter markupConverter)
            : base(view)
        {
            Guard.WhenArgument(pageService, nameof(IPageService)).IsNull().Throw();
            Guard.WhenArgument(markupConverter, nameof(IMarkupConverter)).IsNull().Throw();

            this.markupConverter        = markupConverter;
            this.pageService            = pageService;
            this.View.OnPageGetContent += this.View_OnPageGetContent;
        }
        public DefaultPresenter(IDefaultView view, IPageService pageService, IMarkupConverter markupConverter)
            : base(view)
        {
            Guard.WhenArgument(pageService, nameof(IPageService)).IsNull().Throw();
            Guard.WhenArgument(markupConverter, nameof(IMarkupConverter)).IsNull().Throw();

            this.markupConverter     = markupConverter;
            this.pageService         = pageService;
            this.View.OnGetHomePage += View_OnGetHomePage;
        }
Esempio n. 3
0
 public AOMEmailView()
 {
     InitializeComponent();
     markupConverter           = new MarkupConverter();
     cmbFontFamily.ItemsSource = Fonts.SystemFontFamilies.OrderBy(f => f.Source);
     cmbFontSize.ItemsSource   = new List <double>()
     {
         8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48, 72
     };
     DataContext = this;
 }
        public TextileConverterWithDivs(IMarkupConverter baseConverter)
        {
            Guard.WhenArgument(baseConverter, nameof(IMarkupConverter)).IsNull().Throw();

            this.baseConverter = baseConverter;
        }
 public StoryPlayer(StoryModel model, IMarkupConverter markupConverter)
 {
     this.model           = model;
     this.markupConverter = markupConverter;
     AllFlagsCollected    = new List <FlagValue> ();
 }
Esempio n. 6
0
 public MarkupViewModel(IMarkupConverter markupConverter)
 {
     _markupConverter = markupConverter;
     OpenInWordCommand = new DelegateCommand(OpenInWord);
 }
Esempio n. 7
0
 internal static void Init(IMarkupConverter textConverter)
 {
     converter = textConverter;
 }
 public RtfHTMLProcessor()
 {
     markupConverter = new MarkupConverter.MarkupConverter();
 }
Esempio n. 9
0
 public Window1()
 {
     markupConverter = new MarkupConverter();
 }
Esempio n. 10
0
 public PdfExport()
 {
     markupConverter = new MarkupConverter.MarkupConverter();
 }
Esempio n. 11
0
 public Window1()
 {
     markupConverter = new MarkupConverter();
 }
Esempio n. 12
0
 public Converter()
 {
     markupConverter = new Util.MarkupConverter();
 }
Esempio n. 13
0
 public MarkupViewModel(IMarkupConverter markupConverter)
 {
     _markupConverter  = markupConverter;
     OpenInWordCommand = new DelegateCommand(OpenInWord);
 }
Esempio n. 14
0
 public RtfHTMLProcessor()
 {
     markupConverter = new MarkupConverter.MarkupConverter();
 }