Exemplo n.º 1
0
        protected override void Update()
        {
            foreach (var fileFormat in _fileformats)
            {
                foreach (var fileFormatProfile in fileFormat.Value)
                {
                    if (fileFormatProfile.Value.IsMatch(Header))
                    {
                        Format        = fileFormat.Key;
                        FormatProfile = fileFormatProfile.Key;

                        return;
                    }
                }
            }
        }
Exemplo n.º 2
0
        protected override void Update()
        {
            foreach (var fileFormat in _fileformats)
            {
                foreach (var fileFormatProfile in fileFormat.Value)
                {
                    if (fileFormatProfile.Value.IsMatch(Header))
                    {
                        Format = fileFormat.Key;
                        FormatProfile = fileFormatProfile.Key;

                        return;
                    }
                }
            }
        }