Esempio n. 1
0
        public static T FieldOf <T>(this CoreWorkItem workItem, CoreField fieldRef)        // where T : class
        {
            object value = Field(workItem, fieldRef);

            return(WorkItemExtender.ValueOf <T>(value));
        }
Esempio n. 2
0
        public static T FieldOf <T>(this CoreWorkItem workItem, string fieldName)        // where T : class
        {
            object value = Field(workItem, fieldName);

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