public XElement ToXml(IToXmlContext ctx) { return(new XElement("ScheduleRuleMinutely", new XAttribute("Guid", this.Guid), new XAttribute("StartingOn", this.StartingOn.ToString("o", CultureInfo.InvariantCulture)), new XAttribute("EachMinutes", this.EachMinutes))); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("ValueUserQueryElement", Label == null ? null : new XAttribute("Label", Label), Href == null ? null : new XAttribute("Href", Href), new XAttribute("UserQuery", ctx.Include(UserQuery)))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("UserChartPart", new XAttribute("ShowData", ShowData), new XAttribute("AllowChangeShowData", AllowChangeShowData), new XAttribute("UserChart", ctx.Include(UserChart)))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("WorkflowScriptRetryStrategy", new XAttribute("Guid", Guid), new XAttribute("Rule", Rule) )); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("Filter", new XAttribute("Token", Token.Token.FullKey()), new XAttribute("Operation", Operation), new XAttribute("Value", ValueString ?? ""))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("HolidayCalendar", new XAttribute("Guid", this.Guid), new XAttribute("Name", this.Name), new XElement("Holidays", this.Holidays.Select(p => p.ToXml(ctx))))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("ToolbarMenu", new XAttribute("Guid", Guid), new XAttribute("Name", Name), Owner == null ? null : new XAttribute("Owner", Owner.Key()), new XElement("Elements", Elements.Select(p => p.ToXml(ctx))))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("Column", new XAttribute("Token", Token.Token.FullKey()), SummaryToken != null ? new XAttribute("SummaryToken", SummaryToken.Token.FullKey()) : null !, DisplayName.HasText() ? new XAttribute("DisplayName", DisplayName) : null !, HiddenColumn ? new XAttribute("HiddenColumn", HiddenColumn) : null !)); }
internal XElement ToXml(IToXmlContext ctx) { return new XElement("Part", new XAttribute("Row", Row), new XAttribute("StartColumn", StartColumn), new XAttribute("Columns", Columns), Title == null ? null : new XAttribute("Title", Title), Content.ToXml(ctx)); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("CombinedUserChartPart", new XAttribute("ShowData", ShowData), new XAttribute("AllowChangeShowData", AllowChangeShowData), new XAttribute("CombinePinnedFiltersWithSameLabel", CombinePinnedFiltersWithSameLabel), new XAttribute("UseSameScale", UseSameScale), UserCharts.Select(uc => new XElement("UserChart", new XAttribute("Guid", ctx.Include(uc)))))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("UserChartPart", new XAttribute("ShowData", ShowData), new XAttribute("AllowChangeShowData", AllowChangeShowData), CreateNew ? new XAttribute("CreateNew", CreateNew) : null !, AutoRefresh ? new XAttribute("AutoRefresh", AutoRefresh) : null !, new XAttribute("UserChart", ctx.Include(UserChart)))); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("Part", new XAttribute("Row", Row), new XAttribute("StartColumn", StartColumn), new XAttribute("Columns", Columns), Title == null ? null : new XAttribute("Title", Title), Content.ToXml(ctx))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("UserQueryPart", new XAttribute("UserQuery", ctx.Include(UserQuery)), new XAttribute("RenderMode", RenderMode.ToString()), new XAttribute("AllowSelection", AllowSelection.ToString()), new XAttribute("ShowFooter", ShowFooter.ToString()) )); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("Column", Token == null ? null : new XAttribute("Token", this.Token.Token.FullKey()), DisplayName == null ? null : new XAttribute("DisplayName", this.DisplayName), OrderByIndex == null ? null : new XAttribute("OrderByIndex", this.OrderByIndex), OrderByType == null ? null : new XAttribute("OrderByType", this.OrderByType) )); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("WorkflowCondition", new XAttribute("Guid", Guid), new XAttribute("Name", Name), new XAttribute("MainEntityType", ctx.TypeToName(MainEntityType)), new XElement("Eval", new XElement("Script", new XCData(Eval.Script))))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("Toolbar", new XAttribute("Guid", Guid), new XAttribute("Name", Name), Owner == null ? null ! : new XAttribute("Owner", Owner.Key()), Priority == null ? null ! : new XAttribute("Priority", Priority.Value.ToString()), new XElement("Elements", Elements.Select(p => p.ToXml(ctx))))); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("Pinned", Label.DefaultToNull()?.Let(l => new XAttribute("Label", l)) !, Column?.Let(l => new XAttribute("Column", l)) !, Row?.Let(l => new XAttribute("Row", l)) !, Active == PinnedFilterActive.Always ? null ! : new XAttribute("Active", Active.ToString()) !, SplitText == false ? null ! : new XAttribute("SplitText", SplitText) )); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("Pinned", Label.DefaultToNull()?.Let(l => new XAttribute("Label", l)), Column?.Let(l => new XAttribute("Column", l)), Row?.Let(l => new XAttribute("Row", l)), DisableOnNull == false ? null : new XAttribute("DisableOnNull", DisableOnNull), SplitText == false ? null : new XAttribute("SplitText", SplitText) )); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("Column", Token == null ? null ! : new XAttribute("Token", this.Token.Token.FullKey()), !DisplayName.HasText() ? null ! : new XAttribute("DisplayName", this.DisplayName), !Format.HasText() ? null ! : new XAttribute("Format", this.Format), OrderByIndex == null ! ? null ! : new XAttribute("OrderByIndex", this.OrderByIndex), OrderByType == null ! ? null ! : new XAttribute("OrderByType", this.OrderByType) )); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("WorkflowScript", new XAttribute("Guid", Guid), new XAttribute("Name", Name), new XAttribute("MainEntityType", ctx.TypeToName(MainEntityType)), new XElement("Eval", new XElement("Script", new XCData(Eval.Script)), string.IsNullOrEmpty(Eval.CustomTypes) ? null ! : new XElement("CustomTypes", new XCData(Eval.Script))) )); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("UserChartPart", new XAttribute(nameof(UserChart), ctx.Include(UserChart)), ShowData ? new XAttribute(nameof(ShowData), ShowData) : null, AllowChangeShowData ? new XAttribute(nameof(AllowChangeShowData), AllowChangeShowData) : null, IsQueryCached ? new XAttribute(nameof(IsQueryCached), IsQueryCached) : null, CreateNew ? new XAttribute(nameof(CreateNew), CreateNew) : null !, AutoRefresh ? new XAttribute(nameof(AutoRefresh), AutoRefresh) : null ! )); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("UserQueryPart", new XAttribute(nameof(UserQuery), ctx.Include(UserQuery)), new XAttribute(nameof(RenderMode), RenderMode), new XAttribute(nameof(AllowSelection), AllowSelection), ShowFooter ? new XAttribute(nameof(ShowFooter), ShowFooter) : null, CreateNew ? new XAttribute(nameof(CreateNew), CreateNew) : null, IsQueryCached ? new XAttribute(nameof(IsQueryCached), IsQueryCached) : null )); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("Dashboard", new XAttribute("Guid", Guid), new XAttribute("DisplayName", DisplayName), EntityType == null ? null : new XAttribute("EntityType", ctx.TypeToName(EntityType)), Owner == null ? null : new XAttribute("Owner", Owner.Key()), DashboardPriority == null ? null : new XAttribute("DashboardPriority", DashboardPriority.Value.ToString()), EmbeddedInEntity == null ? null : new XAttribute("EmbeddedInEntity", EmbeddedInEntity.Value.ToString()), new XElement("Parts", Parts.Select(p => p.ToXml(ctx))))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("JoyrideStepStyle", new XAttribute("Guid", Guid), new XElement("Name", Name), BackgroundColor.IsNullOrEmpty() ? null : new XElement("BackgroundColor", BackgroundColor), MainColor.IsNullOrEmpty() ? null : new XElement("MainColor", MainColor), Color.IsNullOrEmpty() ? null : new XElement("Color", Color), BorderRadius.IsNullOrEmpty() ? null : new XElement("BorderRadius", BorderRadius), TextAlign.IsNullOrEmpty() ? null : new XElement("TextAlign", TextAlign), Width.IsNullOrEmpty() ? null : new XElement("Width", Width))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("CombinedUserChartPart", ShowData ? new XAttribute(nameof(ShowData), ShowData) : null, AllowChangeShowData ? new XAttribute(nameof(AllowChangeShowData), AllowChangeShowData) : null, CombinePinnedFiltersWithSameLabel ? new XAttribute(nameof(CombinePinnedFiltersWithSameLabel), CombinePinnedFiltersWithSameLabel) : null, UseSameScale ? new XAttribute(nameof(UseSameScale), UseSameScale) : null, UserCharts.Select(uc => new XElement("UserChart", new XAttribute("Guid", ctx.Include(uc.UserChart)), uc.IsQueryCached ? new XAttribute(nameof(uc.IsQueryCached), uc.IsQueryCached) : null)) )); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("EmailMasterTemplate", new XAttribute("Name", this.Name ?? ""), new XAttribute("Guid", this.Guid), new XElement("Messages", this.Messages.Select(x => new XElement("Message", new XAttribute("CultureInfo", x.CultureInfo.Name), new XCData(x.Text) ))))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("Joyride", new XAttribute("Guid", Guid), new XElement("Name", Name), Culture == null ? null : new XElement("Culture", Culture.Key()), new XElement("Type", Type.ToString()), new XElement("Steps", Steps.Select(p => p.ToXml(ctx))), new XElement("ShowSkipButton", ShowSkipButton), new XElement("ShowStepsProgress", ShowStepsProgress), new XElement("KeyboardNavigation", KeyboardNavigation), new XElement("Debug", Debug))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("UserChart", new XAttribute("Guid", Guid), new XAttribute("DisplayName", DisplayName), new XAttribute("Query", Query.Key), EntityType == null ? null : new XAttribute("EntityType", ctx.TypeToName(EntityType)), new XAttribute("HideQuickLink", HideQuickLink), Owner == null ? null : new XAttribute("Owner", Owner.Key()), new XAttribute("ChartScript", this.ChartScript.Key), Filters.IsNullOrEmpty() ? null : new XElement("Filters", Filters.Select(f => f.ToXml(ctx)).ToList()), new XElement("Columns", Columns.Select(f => f.ToXml(ctx)).ToList()), Parameters.IsNullOrEmpty() ? null : new XElement("Parameters", Parameters.Select(f => f.ToXml(ctx)).ToList()))); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("Part", new XAttribute("Row", Row), new XAttribute("StartColumn", StartColumn), new XAttribute("Columns", Columns), Title == null ? null ! : new XAttribute("Title", Title), IconName == null ? null ! : new XAttribute("IconName", IconName), IconColor == null ? null ! : new XAttribute("IconColor", IconColor), InteractionGroup == null ? null ! : new XAttribute("InteractionGroup", InteractionGroup), CustomColor == null ? null ! : new XAttribute("CustomColor", CustomColor), UseIconColorForTitle == false ? null ! : new XAttribute("UseIconColorForTitle", true), Content.ToXml(ctx))); }
public XElement ToXml(IToXmlContext ctx) { return(new XElement("JoyrideStep", new XAttribute("Guid", Guid), Culture == null ? null ! : new XElement("Culture", Culture.Key()), new XElement("Title", Title), Text == null ? null ! : new XElement("Text", Text), Style == null ? null ! : new XElement("Style", ctx.Include(Style).ToString()), new XElement("Selector", Selector), new XElement("Position", Position.ToString()), new XElement("Type", Type.ToString()), new XElement("AllowClicksThruHole", AllowClicksThruHole), new XElement("IsFixed", IsFixed))); }
internal XElement ToXml(IToXmlContext ctx) { return(new XElement("ToolbarElement", new XAttribute("Type", Type), string.IsNullOrEmpty(Label) ? null : new XAttribute("Label", Label), string.IsNullOrEmpty(IconName) ? null : new XAttribute("IconName", IconName), string.IsNullOrEmpty(IconColor) ? null : new XAttribute("IconColor", IconColor), OpenInPopup ? new XAttribute("OpenInPopup", OpenInPopup) : null, AutoRefreshPeriod == null ? null : new XAttribute("AutoRefreshPeriod", AutoRefreshPeriod), this.Content == null ? null : new XAttribute("Content", this.Content is Lite <QueryEntity>?ctx.QueryToName((Lite <QueryEntity>) this.Content) : this.Content is Lite <PermissionSymbol>?ctx.PermissionToName((Lite <PermissionSymbol>) this.Content) : (object)ctx.Include((Lite <IUserAssetEntity>) this.Content)), string.IsNullOrEmpty(this.Url) ? null : new XAttribute("Url", this.Url))); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("Column", new XAttribute("Token", Token.Token.FullKey()), DisplayName.HasText() ? new XAttribute("DisplayName", DisplayName) : null); }
internal XElement ToXml(IToXmlContext ctx) { return new XElement("LinkElement", new XAttribute("Label", Label), new XAttribute("Link", Link)); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("LinkListPart", Links.Select(lin => lin.ToXml(ctx))); }
internal XElement ToXml(IToXmlContext ctx) { return new XElement("CountUserQueryElement", Label == null ? null : new XAttribute("Label", Label), Href == null ? null : new XAttribute("Href", Href), new XAttribute("UserQuery", ctx.Include(UserQuery))); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("UserQueryPart", new XAttribute("UserQuery", ctx.Include(UserQuery)), new XAttribute("AllowSelection", AllowSelection.ToString())); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("UserQuery", new XAttribute("Guid", Guid), new XAttribute("DisplayName", DisplayName), new XAttribute("Query", Query.Key), EntityType == null ? null : new XAttribute("EntityType", ctx.TypeToName(EntityType)), Owner == null ? null : new XAttribute("Owner", Owner.Key()), WithoutFilters == true ? null : new XAttribute("WithoutFilters", true), ElementsPerPage == null ? null : new XAttribute("ElementsPerPage", ElementsPerPage), PaginationMode == null ? null : new XAttribute("PaginationMode", PaginationMode), new XAttribute("ColumnsMode", ColumnsMode), Filters.IsNullOrEmpty() ? null : new XElement("Filters", Filters.Select(f => f.ToXml(ctx)).ToList()), Columns.IsNullOrEmpty() ? null : new XElement("Columns", Columns.Select(c => c.ToXml(ctx)).ToList()), Orders.IsNullOrEmpty() ? null : new XElement("Orders", Orders.Select(o => o.ToXml(ctx)).ToList())); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("UserQueryPart", new XAttribute("UserQuery", ctx.Include(UserQuery))); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("UserChart", new XAttribute("Guid", Guid), new XAttribute("DisplayName", DisplayName), new XAttribute("Query", Query.Key), EntityType == null ? null : new XAttribute("EntityType", ctx.TypeToName(EntityType)), Owner == null ? null : new XAttribute("Owner", Owner.Key()), new XAttribute("ChartScript", ChartScript.Name), new XAttribute("GroupResults", GroupResults), Filters.IsNullOrEmpty() ? null : new XElement("Filters", Filters.Select(f => f.ToXml(ctx)).ToList()), new XElement("Columns", Columns.Select(f => f.ToXml(ctx)).ToList()), Orders.IsNullOrEmpty() ? null : new XElement("Orders", Orders.Select(f => f.ToXml(ctx)).ToList()), Parameters.IsNullOrEmpty() ? null : new XElement("Parameters", Parameters.Select(f => f.ToXml(ctx)).ToList())); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("Filter", new XAttribute("Token", Token.Token.FullKey()), new XAttribute("Operation", Operation), new XAttribute("Value", ValueString)); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("Parameter", new XAttribute("Name", this.Name), new XAttribute("Value", this.Value)); }
internal XElement ToXml(IToXmlContext ctx) { return new XElement("Column", Token == null ? null : new XAttribute("Token", this.Token.Token.FullKey()), DisplayName == null ? null : new XAttribute("DisplayName", this.DisplayName)); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("Orden", new XAttribute("Token", Token.Token.FullKey()), new XAttribute("OrderType", OrderType)); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("UserChartPart", new XAttribute("ShowData", ShowData), new XAttribute("UserChart", ctx.Include(UserChart))); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("CountSearchControlPart", UserQueries.Select(cuqe => cuqe.ToXml(ctx))); }
public XElement ToXml(IToXmlContext ctx) { return new XElement("Dashboard", new XAttribute("Guid", Guid), new XAttribute("DisplayName", DisplayName), EntityType == null ? null : new XAttribute("EntityType", ctx.TypeToName(EntityType)), Owner == null ? null : new XAttribute("Owner", Owner.Key()), DashboardPriority == null ? null : new XAttribute("DashboardPriority", DashboardPriority.Value.ToString()), EmbeddedInEntity == null ? null : new XAttribute("EmbeddedInEntity", EmbeddedInEntity.Value.ToString()), new XElement("Parts", Parts.Select(p => p.ToXml(ctx)))); }
public XElement ToXml(IToXmlContext ctx) { throw new NotImplementedException(); }