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