How to obtain the local storage and activator service?

7 replies. Last post: December 29, 2014 6:04 PM by Product Support
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Misery ChenMember

Hi support:

 in  project, I want to use local data . I have tried your mothed which is publiced online:

   for the following code:

       ILocalStorageService storageService = this.GetService<ILocalStorageService>();

            IActivatorService activatorService = this.GetService<IActivatorService>();

            var factory = activatorService.CreateInstance<System.Func<string, ISQLiteConnection>>();

    the underlined parts is wrong in my project, error info is 

                Could not resolve type: activatorService.CreateInstance<global::System.Func<string, global::Intersoft.Crosslight.Data.SQLite.ISQLiteConnection>>

How to slove this problme? 

Thanks!



All times are GMT -5. The time now is 1:31 AM.
Previous Next