Esempio n. 1
0
 /// <summary>
 /// Registers the given factory method as a primary resolver of a <see cref="ISnapshotStore"/>
 /// </summary>
 public void Register(Func <ResolutionContext, ISnapshotStore> factory)
 {
     _optionsConfigurationBuilder.Register(factory);
 }
Esempio n. 2
0
 /// <summary>
 /// Registers the given factory method as a primary resolver of a <see cref="ISnapshotStore"/>
 /// </summary>
 public void Register(Func <IServiceProvider, ISnapshotStore> factory)
 {
     _optionsConfigurationBuilder.Register(factory.Invoke);
 }