コード例 #1
0
        public bool TryLoadConfigFile(DocumentNode config, bool showMessageOnError = true)
        {
            if (config is null)
            {
                return(false);
            }

            var fullName = config.GetFullName();

            Config = new Config()
            {
                FullName = fullName
            };

            return(TryUpdateConfigFile(fullName, showMessageOnError));
        }