BumblebeeExample.Tests.MobileTests.Attributes.Metadata.Get C# (CSharp) Метод

Get() публичный статический Метод

public static Get ( string key ) : IEnumerable
key string
Результат IEnumerable
        public static IEnumerable<string> Get(string key)
        {
            var test = TestContext.CurrentContext.Test;
            IEnumerable<string> ids = new string[] { };

            while (test != null)
            {
                ids = ids.Concat(test.Metadata[key]);
                test = test.Parent;
            }

            return ids;
        }
    }
Metadata