AspNetEdit.Editor.ComponentModel.DesignerHost.DesignerHost C# (CSharp) 메소드

DesignerHost() 공개 메소드

public DesignerHost ( ServiceContainer parentServices ) : System
parentServices System.ComponentModel.Design.ServiceContainer
리턴 System
        public DesignerHost(ServiceContainer parentServices)
        {
            this.parentServices = parentServices;
            container = new DesignContainer (this);
            referenceManager = new WebFormReferenceManager (this);

            //register services
            parentServices.AddService (typeof (IDesignerHost), this);
            parentServices.AddService (typeof (IComponentChangeService), container);
            parentServices.AddService (typeof (IWebFormReferenceManager), referenceManager);
        }