Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public SelectionOne selectionOne;
- public Option1 optionOne ;
- public Option2 optionTwo;
- public static IForm<MyForm> BuildForm()
- {
- return new FormBuilder<MyForm>()
- .Message("Welcome MyForm.")
- .OnCompletion(async (context, profileForm) =>
- {
- // Tell the user that the form is complete
- await context.PostAsync("Thanks.");
- })
- .Build();
- }
- }
- [Serializable]
- public enum SelectionOne
- {
- obj1=1,
- obj2=2,
- obj3=3,
- obj4= 4,
- obj5= 5,
- obj6= 6
- }
- [Serializable]
- public enum Option1
- {
- Type1 = 100,
- Type2 = 150,
- Type3 = 220
- }
- public enum Option2
- {
- Type1 = 100,
- Type2 = 220
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement