コード例 #1
0
 public static void AddLinePragmaInitial(this CodeDomHelper codeDomHelper, CodeTypeDeclaration testType, string sourceFile, SpecFlowConfiguration specFlowConfiguration)
 {
     if (specFlowConfiguration.AllowDebugGeneratedFiles)
     {
         return;
     }
     codeDomHelper.BindTypeToSourceFile(testType, Path.GetFileName(sourceFile));
 }
コード例 #2
0
        private void AddLinePragmaInitial(CodeTypeDeclaration testType, string sourceFile)
        {
            if (generatorConfiguration.AllowDebugGeneratedFiles)
            {
                return;
            }

            codeDomHelper.BindTypeToSourceFile(testType, Path.GetFileName(sourceFile));
        }
コード例 #3
0
        private void AddLinePragmaInitial(CodeTypeDeclaration testType, Feature feature)
        {
            if (allowDebugGeneratedFiles)
            {
                return;
            }

            codeDomHelper.BindTypeToSourceFile(testType, Path.GetFileName(feature.SourceFile));
        }
コード例 #4
0
 private void AddLinePragmaInitial(CodeTypeDeclaration testType, string sourceFile)
 {
     _codeDomHelper.BindTypeToSourceFile(testType, Path.GetFileName(sourceFile));
 }