public frmProject(SPWrapper sp) { Check.ArgNull (sp, "sp"); this.sp = sp; InitializeComponent(); configToFields = new Dictionary<string, Setting> { //BOTH {"id", new TextSetting (inID)}, {"display_name", new TextSetting (inDisplayName)}, {"authorization_key", new TextSetting (inAuthKey)}, {"version", new TextSetting (inVersion)}, {"loading_screen_file", new TextSetting (inLoading)}, {"url_schemes", new TextSetting (inURLSchemes)}, {"orientations", new ComboSetting<Orientation> (cmbOrientation, OrientationSerialize.fromOrientation, OrientationSerialize.toOrientation)}, // IOS //{"ios_device_families", new ComboSetting (cmbDeviceFamily)}, {"ios_resources", new FileSetting (fileResourcesiOS)}, {"ios_dev_identity", new FileSetting (fileIdentity)}, {"ios_add_icon_gloss", new BoolSetting (inGlassEffect)}, {"ios_dev_mobile_provision_file", new FileSetting (fileProvision)}, {"ios_app_runs_in_background", new BoolSetting (inBackground)}, {"ios_device_families", new ComboSetting<DeviceFamily> (cmbFamiliesiOS, FamilySerialize.fromFamily, FamilySerialize.toFamily)}, // ANDROID {"version_code", new TextSetting (inVersionAndroid)}, {"keystore_file", new FileSetting (fileKeystore)}, {"keystore_password_file",new FileSetting (fileKeystorePassword)}, {"key_password_file", new FileSetting (fileKeyPassword)}, {"android_resources", new FileSetting (fileResourcesAndroid)} }; fieldsToConfig = configToFields.ToDictionary (p => p.Value, p => p.Key); }
public string Start(string appId, string userId, string securityToken) { return(SPWrapper.Call <string>("start", appId, userId, securityToken)); }