来源:https://stackoverflow.com/questions/3007596/behaviour-to-simulate-an-enum-implementing-an-interface 标签 c# interface enums extension-methods