Given.Common.TestStateManager.AddThen C# (CSharp) Method

AddThen() public method

public AddThen ( string text, MethodInfo method ) : void
text string
method System.Reflection.MethodInfo
return void
        public void AddThen(string text, MethodInfo method)
        {
            Thens.Add(method, new StatedThen { Name = text });
        }

Usage Example

Ejemplo n.º 1
0
 void ProcessThen()
 {
     _typeToProcess
     .GetMethods()
     .Where(TestRunManager.TestRunConfiguration.ThenIdentificationMethod).ToList()
     .ForEach(x => _testStateManager.AddThen(x.Name, x));
 }