public static MobileAppConfiguration MapLegacyCrossDomainController(this MobileAppConfiguration options, IEnumerable <string> origins) { if (options == null) { throw new ArgumentNullException("options"); } options.RegisterConfigProvider(new CrossDomainExtensionConfigProvider(origins)); return(options); }
public static MobileAppConfiguration AddPushNotifications(this MobileAppConfiguration options) { if (options == null) { throw new ArgumentNullException("options"); } options.RegisterConfigProvider(new NotificationsExtensionConfigProvider()); return(options); }
public static MobileAppConfiguration AddTables(this MobileAppConfiguration config, MobileAppTableConfiguration tableConfig) { if (config == null) { throw new ArgumentNullException("config"); } config.RegisterConfigProvider(new TableMobileAppConfigProvider(tableConfig)); return(config); }
public static MobileAppConfiguration AddMobileAppHomeController(this MobileAppConfiguration options) { if (options == null) { throw new ArgumentNullException("options"); } options.RegisterConfigProvider(new HomeExtensionConfigProvider()); return(options); }
public static MobileAppConfiguration WithTableControllerConfigProvider(this MobileAppConfiguration options, ITableControllerConfigProvider tableConfigProvider) { if (options == null) { throw new ArgumentNullException("options"); } if (tableConfigProvider == null) { throw new ArgumentNullException("tableConfigProvider"); } options.RegisterConfigProvider(new TableMobileAppExtensionConfig(tableConfigProvider)); return(options); }