コード例 #1
0
 private IEnumerable <string> GetCategories(MethodInfo methodInfo)
 {
     return(ReflectionOnlyContextAttributeValueReader.TryGetAttributeConstructorArgument <TestCategoryAttribute, string>(methodInfo));
 }
コード例 #2
0
 private string GetOwner(MethodInfo methodInfo)
 {
     return(ReflectionOnlyContextAttributeValueReader.TryGetAttributeConstructorArgument <OwnerAttribute, string>(methodInfo).FirstOrDefault <string>());
 }