public static int MapPriority1To2 (OlImportance value)
{
switch (value)
{
case OlImportance.olImportanceLow:
return 9;
case OlImportance.olImportanceNormal:
return 5;
case OlImportance.olImportanceHigh:
return 1;
}
throw new NotImplementedException (string.Format ("Mapping for value '{0}' not implemented.", value));
}