namespace ComponentWrapperGenerator
{
    internal sealed class UsingStatement
    {
        public string Alias { get; set; }
        public string Namespace { get; set; }

        public string ComparableString => Alias?.ToUpperInvariant() ?? Namespace?.ToUpperInvariant();

        public string UsingText => $"using {(Alias != null ? Alias + " = " : "")}{Namespace};";
    }
}
