/// <summary> /// Processes the environment variables supplied to the lambda function /// </summary> private void ProcessEnvironmentVariables() { if (!String.IsNullOrEmpty(Environment.GetEnvironmentVariable("DefaultFormat"))) { ReportFormat Temp = ReportFormat.FindValue(Environment.GetEnvironmentVariable("DefaultFormat")); if (Temp.IsStaticReadOnlyFieldOfClass()) { DefaultFormat = Temp; } } if (!String.IsNullOrEmpty(Environment.GetEnvironmentVariable("DefaultCompression"))) { CompressionFormat Temp = CompressionFormat.FindValue(Environment.GetEnvironmentVariable("DefaultCompression")); if (Temp.IsStaticReadOnlyFieldOfClass()) { DefaultCompression = Temp; } } if (!String.IsNullOrEmpty(Environment.GetEnvironmentVariable("DefaultTimeUnit"))) { TimeUnit Temp = TimeUnit.FindValue(Environment.GetEnvironmentVariable("DefaultTimeUnit")); if (Temp.IsStaticReadOnlyFieldOfClass()) { DefaultTimeUnit = Temp; } } }