Exemplo n.º 1
0
 /// <summary>
 /// Add environment variables from a file containing a Functions app settings file
 /// </summary>
 /// <param name="appSettingsPath">A path to the app settings file</param>
 /// <param name="oneTimeOnly">Defaults to true, if true only set the variables one time</param>
 public void AddEnvironmentVariables(string appSettingsPath, bool oneTimeOnly = true) =>
 EnvironmentVariableManager.AddEnvironmentVariables(appSettingsPath, oneTimeOnly);
Exemplo n.º 2
0
 /// <summary>
 /// Add environment variables from a stream containing a Functions app settings file
 /// </summary>
 /// <param name="appSettingsStream">The app settings stream</param>
 /// <param name="oneTimeOnly">Defaults to true, if true only set the variables one time</param>
 public void AddEnvironmentVariables(Stream appSettingsStream, bool oneTimeOnly = true) =>
 EnvironmentVariableManager.AddEnvironmentVariables(appSettingsStream, oneTimeOnly);