mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-24 11:42:47 +01:00
16 lines
442 B
C#
16 lines
442 B
C#
using System;
|
|
using TweetLib.Browser.Interfaces;
|
|
|
|
namespace TweetLib.Browser.Base {
|
|
public class BaseBrowser<T> : IDisposable where T : BaseBrowser<T> {
|
|
protected readonly IBrowserComponent browserComponent;
|
|
|
|
protected BaseBrowser(IBrowserComponent browserComponent, Func<T, BrowserSetup> setup) {
|
|
this.browserComponent = browserComponent;
|
|
this.browserComponent.Setup(setup((T) this));
|
|
}
|
|
|
|
public virtual void Dispose() {}
|
|
}
|
|
}
|