Пример #1
0
 private TwoBitEnum ModifyingEnumCallback(TwoBitEnum currentValue)
 {
     if (enableValueProviders)
     {
         return(currentValue + 1);
     }
     return(currentValue);
 }
Пример #2
0
 private TwoBitEnum ModifyingEnumCallback(TwoBitEnum currentValue)
 {
     if(enableValueProviders)
     {
         return currentValue + 1;
     }
     return currentValue;
 }
Пример #3
0
 private void EnumCallback(TwoBitEnum oldValue, TwoBitEnum newValue)
 {
     enumCallbacks++;
     oldEnumValue = oldValue;
     newEnumValue = newValue;
 }
Пример #4
0
 private void EnumCallback(TwoBitEnum oldValue, TwoBitEnum newValue)
 {
     enumCallbacks++;
     oldEnumValue = oldValue;
     newEnumValue = newValue;
 }