示例#1
0
        // Use this for initialization
        void Start()
        {
            var container = new QFrameworkContainer();

            container.RegisterInstance(new A());
            container.Inject(this);

            container.Resolve <A>().HelloWorld();
        }