protected override void LoadChildren(List <NodeViewModel> children)
        {
            if (_assembly == null)
            {
                return;
            }

            // Modules
            foreach (var module in _assembly.Modules)
            {
                if (!module.Image.IsILOnly)
                {
                    continue;
                }

                AD.ProjectModule projectModule;
                if (!_projectAssembly.Modules.TryGetValue(module.Name, out projectModule))
                {
                    projectModule = new ProjectModule();
                }

                var moduleViewModel = new ModuleViewModel(module, projectModule, this);
                children.Add(moduleViewModel);
            }

            // Resources
            if (_assembly.Resources.Count > 0)
            {
                var resourceFolderViewModel = new ResourceFolderViewModel(_assembly, _projectAssembly, this);
                children.Add(resourceFolderViewModel);
            }
        }
 public override void Unload()
 {
     _node = null;
 }
 public override void Load(NodeViewModel node)
 {
     _node = (ResourceFolderViewModel)node;
 }