none
Extending Enums RRS feed

  • Question

  • So lets assume I have an Enum in assembly a

    public enum TransationType

    {

    a,b,c

    }

    void GetCode(TransactionType mytype)

    {

    switch(mytype).....

    }

    know I have a second assembly b that has a derided class that overloads method GetCode however I need to add more enums into TransactionType

    basically I am refactoring my solution and want to split core logic into an external framework for reuse that being said TransactionType has over 200 enums types in it and I only need 15 of the in the reusable framework.

    Thursday, February 13, 2014 8:49 PM

Answers

All replies