Ejemplo n.º 1
0
        /// <summary>
        /// Set Panopto "notify" setting environment variable.
        /// </summary>
        public static void SetNotify(bool notify)
        {
            // Convert bool to string.
            string settingText = notify ? "true" : "false";

            ConfigurationVariable.SetValue(NotificationsVarName, null, null, null, null, null, VariableType.DefaultSetting, settingText);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Set Panopto application key environment variable.
 /// </summary>
 public static void SetAppKey(string appKey)
 {
     ConfigurationVariable.SetValue(AppKeyVarName, null, null, null, null, null, VariableType.DefaultSetting, appKey);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Set Angel instance name environment variable.
 /// </summary>
 public static void SetInstanceName(string instanceName)
 {
     ConfigurationVariable.SetValue(InstanceVarName, null, null, null, null, null, VariableType.DefaultSetting, instanceName);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Set Panopto server name environment variable.
 /// </summary>
 public static void SetServerName(string serverName)
 {
     ConfigurationVariable.SetValue(ServerVarName, null, null, null, null, null, VariableType.DefaultSetting, serverName);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Set the ID of the Panopto course to pull content from for the specified Angel course.
 /// </summary>
 /// <param name="angelCourseID">ID of the Angel course to set the setting on.</param>
 /// <param name="panoptoCourseID">ID of the Panopto course to pull content from.</param>
 public static void SetPanoptoCourseID(string angelCourseID, Guid panoptoCourseID)
 {
     ConfigurationVariable.SetValue(PanoptoCourseIDVarName, null, null, null, angelCourseID, null, VariableType.CourseSetting, panoptoCourseID.ToString());
 }