src/Kingdom.OrTools.Core/IClrObjectHost.cs
/// <summary>
/// Tracks the <paramref name="obj"/> given the <paramref name="host"/>. Returns the
/// <paramref name="obj"/> for use afterwards.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="obj"></param>
/// <param name="host"></param>
/// <returns></returns>
Tracks the  given the . Returns the
for use afterwards.
Tracks the given the . Returns the for use afterwards .
public static T TrackClrObject<T>(this T obj, IClrObjectHost host)
        {
            host.ClrCreatedObjects.Add(obj);
            return obj;
        }
public static T TrackClrObject < T > ( this T obj , IClrObjectHost host ) { host . ClrCreatedObjects . Add ( obj ) ; return obj ; }
Tracks the  given the .
Tracks the given the .
None
T
this
host
IClrObjectHost
None
obj
None
typeparam
None