Пример #1
0
        public static IProperty<Issue> GetPropertyByField(IssueField field)
        {
            var index = (int) field;

            if (index < 0 || index >= Properties.Count)
                throw new ArgumentOutOfRangeException("field", field, null);
            
            return Properties[index];
        }
Пример #2
0
        public static IProperty <Issue> GetPropertyByField(IssueField field)
        {
            var index = (int)field;

            if (index < 0 || index >= Properties.Count)
            {
                throw new ArgumentOutOfRangeException("field", field, null);
            }

            return(Properties[index]);
        }