code_junkie

Using Generic lists on serviced component

Nov 11th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. public class MyCOM : ServicedComponent {
  2. public enum MyEnumType {
  3. Value1, Value2, Value3
  4. }
  5. public List<MyEnumType> MyList { private set; get; }
  6. public MyCOM()
  7. {
  8. MyList = new List<MyEnumType>();
  9. }
  10. }
Add Comment
Please, Sign In to add comment