Created
January 10, 2019 20:08
-
-
Save stephenkirk/9428c4ad5dcaa2573c9a1a44b935dfab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void CreateEnums(string path) | |
{ | |
var js = ""; | |
js += Enum<CarStatus>.GetExportableJs(); | |
js += Enum<CarPurchaseType>.GetExportableJs(); | |
js += Enum<UserRoles>.GetExportableJs(); | |
js += Enum<CarValuationStatus>.GetExportableJs(); | |
js += Enum<FacilityType>.GetExportableJs(); | |
js += Enum<CostType>.GetExportableJs(); | |
js += Enum<RimType>.GetExportableJs(); | |
js += Enum<WheelType>.GetExportableJs(); | |
js += Enum<WheelsetStatus>.GetExportableJs(); | |
js += Enum<Banks>.GetExportableJs(); | |
js += Enum<PaymentChannel>.GetExportableJs(); | |
js += Enum<PaymentType>.GetExportableJs(); | |
js += Enum<CarAfterCareActionStatus>.GetExportableJs(); | |
js += Enum<WarrantyRemainingLevel>.GetExportableJs(); | |
js += Enum<CustomerStatus>.GetExportableJs(); | |
var filepath = $"{path}/enums.js"; | |
File.WriteAllText(filepath, js); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment