/// <summary> /// Returns a Slinq that enumerates the key, value groupings contained in the lookup, with the values returned in Linked form. /// As the groupings are enumerated, ownership of the values in each grouping is transferred to the owner of the grouping, who is /// responsible for their disposal. /// When the enumeration is complete, the lookup and any unenumerated values it contains are added to the disposal queue. /// </summary> public Slinq <Grouping <K, T>, GroupByContext <K, T> > SlinqLinkedAndDispose() { return(GroupByContext <K, T> .SlinqLinked(this, true)); }
/// <summary> /// Returns a Slinq that enumerates the key, value groupings contained in the lookup, with the values returned in Linked form. /// Ownership of the lookup and any values it contains is retained by the caller. /// </summary> public Slinq <Grouping <K, T>, GroupByContext <K, T> > SlinqLinkedAndKeep() { return(GroupByContext <K, T> .SlinqLinked(this, false)); }