Exemple #1
0
        public IFileTabContent Deserialize(Guid guid, ISettingsSection section, IFileTabContentFactoryContext context)
        {
            if (guid != GUID_SerializedContent)
            {
                return(null);
            }

            var langGuid = section.Attribute <Guid?>("Language") ?? LanguageConstants.LANGUAGE_CSHARP;
            var language = LanguageManager.FindOrDefault(langGuid);

            return(new DecompileFileTabContent(this, context.Nodes, language));
        }