Align .editorconfig files Move Controller logic to DMO classes GlobalVars.AppSettings = Models.AppSettings.GetFromConfigurationManager(); Question EditorConfig Project level editorconfig Format White Spaces AppSetting when EnvironmentVariable not set Corrective Actions Tests Schedule Actions Tests DMO Tests Controller Tests Get ready to use VSCode IDE
14 lines
337 B
C#
14 lines
337 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Fab2ApprovalSystem.Misc;
|
|
|
|
public static class CollectionExtensions {
|
|
|
|
public static IEnumerable<T> SetValue<T>(this IEnumerable<T> items, Action<T> updateMethod) {
|
|
foreach (T item in items) {
|
|
updateMethod(item);
|
|
}
|
|
return items;
|
|
}
|
|
} |