﻿/*----------------------------------------------------------------
            // Copyright © 2014-2016 Air2000
            // 
            // FileName: ServiceContext.cs
			// Describle:
			// Created By:  Wells Hsu
			// Date&Time:  10/3 星期一 17:11:23
            // Modify History:
            //
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Air2000
{
    public abstract class ServiceContext<T1, T2> : Theme<T1, T2>
           where T1 : Theme<T1, T2>
        where T2 : ThemePerformer<T1, T2>
    {
        [InternalInject]
        public static T1 Instance { get; set; }
        public ServiceContext() { Instance = this as T1; }
    }
}
