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