SelectAssembly() public method

public SelectAssembly ( string fileName ) : void
fileName string
return void
        public override Task Load(FileOpenInformation fileOpenInformation)
        {
            ContentName = GettextCatalog.GetString("Assembly Browser");
            var loader = widget.AddReferenceByFileName(fileOpenInformation.FileName);

            widget.SelectAssembly(loader.UnresolvedAssembly.AssemblyName);
            return(Task.FromResult(true));
        }
        public override Task Load(FileOpenInformation fileOpenInformation)
        {
            ContentName = GettextCatalog.GetString("Assembly Browser");
            var loader = widget.AddReferenceByFileName(fileOpenInformation.FileName);

            loader.LoadingTask.ContinueWith(delegate {
                widget.SelectAssembly(loader);
            });
            return(Task.FromResult(true));
        }
Exemplo n.º 3
0
        public void Load(FilePath filePath)
        {
            var loader = widget.AddReferenceByFileName(filePath);

            if (loader != null)
            {
                loader.LoadingTask
                .ContinueWith(t => widget.SelectAssembly(t.Result), Runtime.MainTaskScheduler)
                .Ignore();
            }
        }
        public void Load(FilePath filePath)
        {
            var loader = widget.AddReferenceByFileName(filePath);

            if (loader != null)
            {
                loader.LoadingTask.ContinueWith(delegate {
                    widget.SelectAssembly(loader);
                });
            }
        }