示例#1
0
 public SnapshotSuffixDatabaseNameReplacementTokenProvider(
     IDatabaseNameReplacementTokenProvider next,
     ISnapshotContextProvider snapshotContextProvider)
 {
     _next = next;
     _snapshotContextProvider = snapshotContextProvider;
 }
示例#2
0
 public SnapshotContextActionFilter(ISnapshotContextProvider snapshotContextProvider)
 {
     _snapshotContextProvider = snapshotContextProvider;
 }
示例#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;
 }