/// <summary> /// Initializes a new instance of the <see cref="AppPartPropertyUIOverrider" /> class. /// </summary> /// <param name="hostWebManager">The host web manager.</param> /// <param name="properties">The properties of the app event receiver event.</param> /// <param name="jQueryFileName">Filename of jquery-x.x.x.min.js sitting in the ASP.NET (Remote Web) Scripts directory. Example: "jquery-2.1.0.min.js"</param> /// <param name="remoteWebFullUrlOverride">Optional override to the remote web full url detection logic. Example: "https://acutalurl.contoso.com"</param> public AppPartPropertyUIOverrider(HostWebManager hostWebManager, SPRemoteEventProperties properties, string jQueryFileName, string remoteWebFullUrlOverride) { this.hostWebManagerField = hostWebManager; this.propertiesField = properties; this.jQueryFileNameField = jQueryFileName; this.remoteWebFullUrlOverrideField = remoteWebFullUrlOverride; }
/// <summary> /// Initializes a new instance of the <see cref="AppPartPropertyUIOverrider" /> class. /// </summary> /// <param name="hostWebManager">The host web manager.</param> /// <param name="properties">The properties of the app event receiver event.</param> /// <param name="jQueryFileName">Filename of jquery-x.x.x.min.js sitting in the ASP.NET (Remote Web) Scripts directory. Example: "jquery-2.1.0.min.js"</param> public AppPartPropertyUIOverrider(HostWebManager hostWebManager, SPRemoteEventProperties properties, string jQueryFileName) : this(hostWebManager, properties, jQueryFileName, null) { }