Adf.Test.TestProvider.IsActionPresent C# (CSharp) Метод

IsActionPresent() приватный Метод

private IsActionPresent ( TestItemType type, TestAction action ) : bool
type Adf.Core.Test.TestItemType
action Adf.Core.Test.TestAction
Результат bool
        private bool IsActionPresent(TestItemType type, TestAction action)
        {
            return _items
                       .Where(item => item.Type == type)
                       .Where(item => item.Action == action)
                       .Count() > 0;
        }