public void WillSaveSupportedOAuthSettings()
        {
            StaticApplicationNameProvider appNameProvider = new StaticApplicationNameProvider(nameof(WillSaveSupportedOAuthSettings));

            //CoreClient client = new CoreClient()
            // TODO: finish implementing this
            throw new NotImplementedException();
        }
 public ApplicationModel(AppConf appConf, ApplicationServiceRegistry applicationServiceRegistry)
 {
     AppConf = appConf;
     ApplicationServiceRegistry = applicationServiceRegistry;
     Log = ApplicationServiceRegistry.Get <ILog>();
     ApplicationServiceRegistry.Get("Startup", out Type startupType);
     if (startupType != null)
     {
         ApplicationNameSpace = startupType.Namespace;
     }
     WebServiceRegistry = ApplicationServiceRegistry.Get <WebServiceRegistry>();
     Name = appConf.Name;
     ApplicationServiceRegistry.SetInjectionProperties(this);
     RepositoryProviderResolver = ApplicationServiceRegistry.Get <IRepositoryResolver>();
     ApplicationNameProvider    = new StaticApplicationNameProvider(appConf.Name);
     Organization = new OrganizationModel();
 }