/// <summary> /// Adds a class to the package /// </summary> /// <param name="cl">the <see cref="INamedType"/> add</param> private void AddClass(INamedType cl) { if (HasClass(cl.FullName)) { return; } NamedTypes.Add(cl); }
/// <summary> /// Gets whether the class with the given name exists /// </summary> /// <param name="fullName">The full name of the class</param> /// <returns>True if it exists</returns> public bool HasClass(string fullName) { return(NamedTypes.ContainsItemWithName(fullName)); }