public void UsingAllEnumArguments(MyLongEnum arg1, MyIntEnum arg2, MyShortEnum arg3,
                                   MyByteEnum arg4, MySByteEnum arg5, MyUShortEnum arg6, MyUIntEnum arg7, MyULongEnum arg8)
 {
     if (IsEnabled())
     {
         WriteEvent(307, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
     }
 }
 public void UsingAllEnumArguments(MyLongEnum arg1, MyIntEnum arg2, MyShortEnum arg3,
     MyByteEnum arg4, MySByteEnum arg5, MyUShortEnum arg6, MyUIntEnum arg7, MyULongEnum arg8)
 {
     if (IsEnabled()) { WriteEvent(307, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }
 }
Exemple #3
0
			public MyClassWithEnumMembers(int value)
			{
				_myByteEnum = (MyByteEnum) value;
				_mySByteEnum = (MySByteEnum) value;
				_myShortEnum = (MyShortEnum) value;
				_myUShortEnum = (MyUShortEnum) value;
				_myIntEnum = (MyIntEnum) value;
				_myUIntEnum = (MyUIntEnum) value;
				_myLongEnum = (MyLongEnum) value;
				_myULongEnum = (MyULongEnum) value;
			}