Exemplo n.º 1
0
 public SnapshotSuffixDatabaseNameReplacementTokenProvider(
     IDatabaseNameReplacementTokenProvider next,
     ISnapshotContextProvider snapshotContextProvider)
 {
     _next = next;
     _snapshotContextProvider = snapshotContextProvider;
 }
Exemplo n.º 2
0
 public SnapshotContextActionFilter(ISnapshotContextProvider snapshotContextProvider)
 {
     _snapshotContextProvider = snapshotContextProvider;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SnapshotGoneExceptionTranslator" /> class using the
 /// supplied snapshot context provider.
 /// </summary>
 /// <param name="snapshotContextProvider">Provides access to the snapshot context for the current request.</param>
 public SnapshotGoneExceptionTranslator(ISnapshotContextProvider snapshotContextProvider)
 {
     _snapshotContextProvider = snapshotContextProvider;
 }