예제 #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));
 }