Exemplo n.º 1
0
        private static string GetDataFileName(CharacterClass characterClass, string extension)
        {
            var document = characterClass.GetAttributeValue <DataDocumentAttribute, string>(o => o.Document);

            if (!document.EndsWith(extension))
            {
                document += extension;
            }

            return(document);
        }