public record AccountSetupItem(
Guid Id,
string Caption,
- Func<IAccountFactory> CreateInstance
+ Func<IAccountSetup> CreateInstance
);
private readonly List<AccountSetupItem> setupList;
namespace OpenTween.SocialProtocol
{
- public interface IAccountFactory : IDisposable
+ public interface IAccountSetup : IDisposable
{
public Func<IWin32Window?, Uri, Task>? OpenInBrowser { get; set; }
namespace OpenTween.SocialProtocol.Twitter
{
- public partial class TwitterCookieSetupDialog : OTBaseForm, IAccountFactory
+ public partial class TwitterCookieSetupDialog : OTBaseForm, IAccountSetup
{
public TwitterCookieSetup Model { get; } = new();
namespace OpenTween.SocialProtocol.Twitter
{
- public partial class TwitterOAuthSetupDialog : OTBaseForm, IAccountFactory
+ public partial class TwitterOAuthSetupDialog : OTBaseForm, IAccountSetup
{
public TwitterOAuthSetup Model { get; } = new();