HamBook – Diff between revs 3 and 15

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 3 Rev 15
Line 124... Line 124...
124 default: 124 default:
125 throw new ArgumentException(); 125 throw new ArgumentException();
126 } 126 }
127 } 127 }
Line -... Line 128...
-   128  
-   129 public static implicit operator RadioMode(string mode)
-   130 {
-   131 return new RadioMode(mode);
-   132 }
128   133  
129 public static implicit operator string(RadioMode radioMode) 134 public static implicit operator string(RadioMode radioMode)
130 { 135 {
131 switch (radioMode.Mode) 136 switch (radioMode.Mode)
132 { 137 {