update c# api, unifying the enum naming