コード例 #1
0
        public static T Field <T>(this CoreWorkItem workItem, CoreField fieldRef)        // where T : class
        {
            object value = Field(workItem, fieldRef);

            return(WorkItemExtender.ValueAs <T>(value));
        }
コード例 #2
0
        public static T Field <T>(this CoreWorkItem workItem, string fieldName)        // where T : class
        {
            object value = Field(workItem, fieldName);

            return(WorkItemExtender.ValueAs <T>(value));
        }