I am making a C# Library with only 1 class, that should act as a shell for some web services.
Those services have their own classes and enums.
In some of my functions, some parameters should be enums from the web service (its easiest to do it like that).
But, when I need to call that function from the code that is using the library in question, it ends up something like this:
LibraryClass.FunctionName(LibraryName.WebServicesName.EnumName.EnumValue);
Is it possible to make the code look more like this:
LibraryClass.FunctionName(EnumName.EnumValue);
by exposing the enum from web services in the library class?
I know I can do this by creating my own Enum in library class, and I will probably do that, but this questions crossed my mind, and I stopped here to ask: is it possible to expose enums like this?