Esempio n. 1
0
 public MyFormHandler(UiMetadataWebApi uiMetadataWebApi,
                      ManagersCollection managersCollection,
                      IFormWrapper formWrapper,
                      Dictionary <string, FormMetadata> allForms = null)
 {
     this.ManagersCollection = managersCollection ?? new ManagersCollection();
     this.AllFormsMetadata   = allForms;
     this.UiMetadataWebApi   = uiMetadataWebApi;
     this.AppPreference      = new AppSharedPreference(Application.Context);
     this.FormWrapper        = formWrapper;
 }
Esempio n. 2
0
 public MyFormHandler(
     IFormWrapper formWrapper,
     UiMetadataWebApi uiMetadataWebApi,
     ManagersCollection managersCollection,
     Dictionary <string, FormMetadata> allForms)
 {
     this.AllFormsMetadata   = allForms;
     this.UiMetadataWebApi   = uiMetadataWebApi;
     this.FormWrapper        = formWrapper;
     this.UserDefaults       = NSUserDefaults.StandardUserDefaults;
     this.ManagersCollection = managersCollection ?? new ManagersCollection();
 }