/// <summary>Constructs an <see cref="ExtensionItem"/> with the specified extension.</summary> /// /// <param name="extensions">The collection containing this extension.</param> /// <param name="normalizedExtension">The pre-normalized extension for this item.</param> internal ExtensionItem(ExtensionItems extensions, string normalizedExtension) { this.extensions = extensions; Extension = normalizedExtension; color = new Rgb24Color(150, 150, 150); }
/// <summary>Constructs the not-a-file extension.</summary> private ExtensionItem() { extensions = null; Extension = string.Empty; color = Rgb24Color.Black; }