Given.Common.TestInitializer.ProcessBefore C# (CSharp) Méthode

ProcessBefore() private méthode

private ProcessBefore ( ) : void
Résultat void
        void ProcessBefore()
        {
            //execute all before items found.
            _fields.Where(fieldInfo => fieldInfo.FieldType == typeof(before))
                   .Select(fieldInfo => new { Delegate = (before)fieldInfo.GetValue(_testClass), Field = fieldInfo }).ToList()
                   .ForEach(x =>
                   {
                       x.Delegate.Invoke();
                   });
        }