* Enhance null-safety annotations across modules and refactor for improved consistency: - Added `null!` annotations to enforce non-nullability expectations. - Updated workflows, tests, and runtime services to handle default null values reliably. - Removed obsolete and unused APIs, simplifying interfaces and improving maintainability. - Refactored methods and properties for clarity, thread-safety, and consistency. - Adjusted test configurations for code coverage tracking and integration improvements. * Refactor activity iteration in container serialization tests to simplify type casting.
10 lines
320 B
C#
10 lines
320 B
C#
using Microsoft.Extensions.Configuration;
|
|
|
|
namespace Elsa.Expressions.Liquid.Helpers;
|
|
|
|
public class ConfigurationSectionWrapper(IConfigurationSection section)
|
|
{
|
|
public override string ToString() => section.Value!;
|
|
|
|
public ConfigurationSectionWrapper GetSection(string name) => new(section.GetSection(name));
|
|
} |