private static LinkCollectionImpl ParseLinks(JsonWorkItem workItem) { var value = (JArray)((JObject)workItem.JsonValue).Properties().First(p => p.Name == "relations").Value; LinkCollectionImpl results = LinkCollectionImpl.FromToken(value); return(results); }
internal static LinkCollectionImpl GetInstance([CallerMemberName] string callerName = "") { LinkCollectionImpl instance = default(LinkCollectionImpl); InstanceFactory(ref instance, callerName); return(instance); }
private static LinkCollectionImpl DeferredLoadLinks(JsonWorkItem workItem) { LinkCollectionImpl result = APIFactory().GetLinksForWorkItemRevision(workItem, LinkCollectionImpl.FromToken).Result; return(result); }
static partial void InstanceFactory(ref LinkCollectionImpl instance, [CallerMemberName] string callerName = "");