So I have an enum like this:
public class MyObnoxiouslyLongClassName : AbstractModel, IPerforceModule
{
public enum Status { Fatal, Priority, Error, Warning, Info, Debug }
and when I access the enum in another class I have to do so like:
MyObnoxiouslyLongClassName.Status state = MyObnoxiouslyLongClassName.Status.Fatal
What im trying to do is like link to this enum in my other class so I can skip the long class name.. something like this pseudocode:
public class MyOtherClass : AbstractModel, IFileBrowser
{
private enum Status = MyObnoxiouslyLongClassName.Status
Status state = Status.Fatal;
(state == MyObnoxiouslyLongClassName.Status.Fatal) //true
Any way this could be done in C#?