public Sources() { //初始化ASP.NET内置对象 Response = System.Web.HttpContext.Current.Response; Request = System.Web.HttpContext.Current.Request; Server = System.Web.HttpContext.Current.Server; Session = System.Web.HttpContext.Current.Session; Application = System.Web.HttpContext.Current.Application; tools = ToolsFactory.CreateTools(); MyBLL = SourcesFactory.CreateSources(); }
public SyncCompetitionsFunction(SourcesFactory factory) { this.factory = factory; }
public LiveDataFunction(SourcesFactory factory) { this.factory = factory; }