示例#1
0
 public StateBuilder(ILoggerFactory loggerFactory, Blazored.LocalStorage.ISyncLocalStorageService lStorage)
 {
     LoggerFactory            = loggerFactory;
     Logger                   = loggerFactory.CreateLogger <StateBuilder>();
     LStorage                 = lStorage;
     Pages                    = new List <Page>();
     Pages2                   = new List <DynamicObject>();
     StateChangeEventHandlers = new List <StateChangeEventHandler>();
 }
示例#2
0
 public State(ILoggerFactory loggerFactory, Blazored.LocalStorage.ISyncLocalStorageService lStorage)
 {
     Logger   = loggerFactory.CreateLogger <State>();
     LStorage = lStorage;
 }