public void ChangeButtonRead()
        {
            if (_logger != null)
            {
                _logger.Log("Read Button clicked", LogLevel.INFO);
            }

            ButtonRead = "Read Clicked";

            assemblyMetadata = _reflectionService.Read();

            if (ReadFileName.Contains(".json"))
            {
                if (_logger != null)
                {
                    _logger.Log("Trying to read .json file", LogLevel.INFO);
                }
                foreach (NamespaceMetadata n in assemblyMetadata.Namespaces)
                {
                    foreach (TypeMetadata type in n.Types)
                    {
                        type.CreateDictionary();
                    }
                }
            }

            if (_logger != null)
            {
                _logger.Log("Creating tree view assembly metadata", LogLevel.INFO);
            }
            treeViewAssemblyMetadata = new AssemblyTreeItem(assemblyMetadata);
            TreeViewLoaded();
        }
        public void ChangeButtonLoadFromFile()
        {
            _ReadFileName = _openFilePathService.FilePath("");

            ButtonLoadFromFile = "Loaded from file";
            if (_logger != null)
            {
                _logger.Log("LoadFromFile invoked", LogLevel.INFO);
            }

            if (ReadFileName.Contains(".dll"))
            {
                if (_logger != null)
                {
                    _logger.Log("Trying to read .dll file", LogLevel.INFO);
                }
                assemblyMetadata = new AssemblyMetadata(Assembly.ReflectionOnlyLoadFrom(ReadFileName));
            }

            treeViewAssemblyMetadata = new AssemblyTreeItem(assemblyMetadata);
            TreeViewLoaded();
        }