/// <summary> /// Get a list of proxies of the given <paramref name="targets"/>. /// </summary> /// <typeparam name="T"> /// Type of the list elements. /// </typeparam> /// <param name="targets"> /// A list of original target objects. /// </param> /// <returns> /// A list of proxies of targets or targets itself if it is already /// a list of others. /// </returns> public static IList <T> GetProxy <T>(IList <T> targets) where T : class { return(ListProxy <T> .GetProxy(targets)); }