Ejemplo n.º 1
0
        private string GetExpectedTargetFileName([NotNull] IT4File file)
        {
            Locks.AssertReadAccessAllowed();
            var    sourceFile      = file.PhysicalPsiSourceFile.NotNull();
            string name            = sourceFile.Name;
            string targetExtension = file.GetTargetExtension() ?? T4CSharpCodeGenerationUtils.DefaultTargetExtension;

            return(name.WithOtherExtension(targetExtension));
        }
Ejemplo n.º 2
0
        private string GetExpectedTargetFileName([NotNull] IT4File file)
        {
            Locks.AssertReadAccessAllowed();
            var    sourceFile      = file.GetSourceFile().NotNull();
            string name            = sourceFile.Name;
            string targetExtension = file.GetTargetExtension();

            return(name.WithOtherExtension(targetExtension));
        }