/// <summary> /// Initializes a new instance of the <see cref="UPWebContentMetadataClientReport"/> class. /// </summary> /// <param name="theDelegate">The delegate.</param> public UPWebContentMetadataClientReport(UPWebContentMetadataDelegate theDelegate) : base(theDelegate) { }
/// <summary> /// Initializes a new instance of the <see cref="UPWebContentQlikViewUrl"/> class. /// </summary> /// <param name="theDelegate">The delegate.</param> public UPWebContentQlikViewUrl(UPWebContentMetadataDelegate theDelegate) : base(theDelegate) { }
/// <summary> /// Webs the type of the content meta data from report. /// </summary> /// <param name="reportType">Type of the report.</param> /// <param name="theDelegate">The delegate.</param> /// <returns></returns> public static UPWebContentMetadata WebContentMetaDataFromReportType(string reportType, UPWebContentMetadataDelegate theDelegate) { switch (reportType) { case "CoreReport": return(new UPWebContentMetadataServerReport(theDelegate)); case "ClientReport": return(new UPWebContentMetadataClientReport(theDelegate)); case "Url": case "Html": return(new UPWebContentMetadataUrl(theDelegate)); case "QlikView": return(new UPWebContentQlikViewUrl(theDelegate)); case "Portfolio": return(new UPWebContentPortfolio(theDelegate)); default: return(new UPWebContentMetadataStaticHtml(theDelegate)); } }
//UPCalculatePortfolioServerOperation operation; /// <summary> /// Initializes a new instance of the <see cref="UPWebContentPortfolio"/> class. /// </summary> /// <param name="theDelegate">The delegate.</param> public UPWebContentPortfolio(UPWebContentMetadataDelegate theDelegate) : base(theDelegate) { this.SetDefaults(); }
/// <summary> /// Initializes a new instance of the <see cref="UPWebContentMetadata"/> class. /// </summary> /// <param name="theDelegate">The delegate.</param> public UPWebContentMetadata(UPWebContentMetadataDelegate theDelegate) { this.TheDelegate = theDelegate; }
/// <summary> /// Webs the content meta data from view reference. /// </summary> /// <param name="viewReference">The view reference.</param> /// <param name="theDelegate">The delegate.</param> /// <returns></returns> public static UPWebContentMetadata WebContentMetaDataFromViewReference(ViewReference viewReference, UPWebContentMetadataDelegate theDelegate) { UPWebContentMetadata contentMetaData = WebContentMetaDataFromReportType(viewReference.ContextValueForKey("ReportType"), theDelegate); contentMetaData.UpdateMetadataWithViewReference(viewReference); return(contentMetaData); }
/// <summary> /// Initializes a new instance of the <see cref="UPWebContentMetadataStaticHtml"/> class. /// </summary> /// <param name="theDelegate">The delegate.</param> public UPWebContentMetadataStaticHtml(UPWebContentMetadataDelegate theDelegate) : base(theDelegate) { }
/// <summary> /// Initializes a new instance of the <see cref="UPWebContentMetadataServerReport" /> class. /// </summary> /// <param name="theDelegate">The delegate.</param> public UPWebContentMetadataServerReport(UPWebContentMetadataDelegate theDelegate) : base(theDelegate) { }
/// <summary> /// Initializes a new instance of the <see cref="UPWebContentMetadataUrl"/> class. /// </summary> /// <param name="theDelegate">The delegate.</param> public UPWebContentMetadataUrl(UPWebContentMetadataDelegate theDelegate) : base(theDelegate) { this.Finished = true; }