internal static void RemoveObject (IDrawable obj) { var client = CallContext.Client; if (!objects.ContainsKey (client) || !objects [client].Contains (obj)) throw new ArgumentException ("Drawing object not found"); obj.Destroy (); objects [client].Remove (obj); }
internal static void RemoveObject(IDrawable obj) { var client = CallContext.Client; if (!objects.ContainsKey(client) || !objects [client].Contains(obj)) { throw new ArgumentException("Drawing object not found"); } obj.Destroy(); objects [client].Remove(obj); }