refactor(notification-outbox): drop unused state from sandbox Notify fakes
This commit is contained in:
@@ -96,16 +96,9 @@ public class SandboxDatabaseHelper
|
||||
/// </summary>
|
||||
public class SandboxNotifyHelper
|
||||
{
|
||||
private readonly string _instanceName;
|
||||
|
||||
public SandboxNotifyHelper(string instanceName)
|
||||
{
|
||||
_instanceName = instanceName;
|
||||
}
|
||||
|
||||
/// <summary>Selects the notification list to send to.</summary>
|
||||
public SandboxNotifyTarget To(string listName) =>
|
||||
new(listName, _instanceName);
|
||||
new();
|
||||
|
||||
/// <summary>
|
||||
/// Queries the delivery status of a previously-sent notification. The
|
||||
@@ -123,13 +116,8 @@ public class SandboxNotifyHelper
|
||||
/// </summary>
|
||||
public class SandboxNotifyTarget
|
||||
{
|
||||
private readonly string _listName;
|
||||
private readonly string _instanceName;
|
||||
|
||||
internal SandboxNotifyTarget(string listName, string instanceName)
|
||||
internal SandboxNotifyTarget()
|
||||
{
|
||||
_listName = listName;
|
||||
_instanceName = instanceName;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user