AspNetEdit.Editor.ComponentModel.DesignerHost.Load C# (CSharp) Метод

Load() публичный Метод

public Load ( Stream file, string fileName ) : void
file Stream
fileName string
Результат void
        public void Load(Stream file, string fileName)
        {
            if (activated || RootComponent != null)
                throw new InvalidOperationException ("You must reset the host before loading another file.");
            loading = true;

            this.Container.Add (new WebFormPage());
            this.rootDocument = new Document ((Control)rootComponent, this, file, fileName);

            loading = false;
            OnLoadComplete ();
        }