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; }
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(); }