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; }
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> (); }
public MarkupViewModel(IMarkupConverter markupConverter) { _markupConverter = markupConverter; OpenInWordCommand = new DelegateCommand(OpenInWord); }
internal static void Init(IMarkupConverter textConverter) { converter = textConverter; }
public RtfHTMLProcessor() { markupConverter = new MarkupConverter.MarkupConverter(); }
public Window1() { markupConverter = new MarkupConverter(); }
public PdfExport() { markupConverter = new MarkupConverter.MarkupConverter(); }
public Converter() { markupConverter = new Util.MarkupConverter(); }