コード例 #1
0
 public CSharpParserService(
     IStringUtilService stringUtilService,
     ICSharpCommonStgService cSharpCommonStgService)
 {
     _stringUtilService      = stringUtilService;
     _cSharpCommonStgService = cSharpCommonStgService;
 }
コード例 #2
0
 public BreadcrumbControllerInjector(
     IStringUtilService stringUtilService,
     ICSharpParserService cSharpParserService,
     IBreadcrumbCommandParserService breadcrumbCommandParserService,
     ICSharpCommonStgService cSharpCommonStgService,
     BufferedTokenStream tokenStream,
     ControllerDictionary controllerDictionary,
     string breadcrumbServiceNamespace,
     string controllerRootNamespace,
     string defaultAreaBreadcrumbServiceRootName,
     string tabString)
 {
     _stringUtilService              = stringUtilService;
     _cSharpParserService            = cSharpParserService;
     _breadcrumbCommandParserService = breadcrumbCommandParserService;
     _cSharpCommonStgService         = cSharpCommonStgService;
     Tokens         = tokenStream;
     Rewriter       = new TokenStreamRewriter(tokenStream);
     ControllerDict = controllerDictionary;
     _breadcrumbServiceNamespace           = breadcrumbServiceNamespace;
     _controllerRootNamespace              = controllerRootNamespace;
     _defaultAreaBreadcrumbServiceRootName = defaultAreaBreadcrumbServiceRootName;
     _tabString         = tabString;
     _currentNamespace  = new Stack <string>();
     _currentClass      = new Stack <string>();
     _isControllerClass = new Stack <bool>();
     _isControllerClass.Push(false);
     _isClassModified = new Stack <bool>();
     _isClassModified.Push(false);
     IsModified = false;
 }
コード例 #3
0
 public ServiceCommandParserService(
     IStringUtilService stringUtilService,
     ICSharpCommonStgService cSharpCommonStgService,
     IServiceCommandStgService serviceCommandStgService)
 {
     _stringUtilService        = stringUtilService;
     _cSharpCommonStgService   = cSharpCommonStgService;
     _serviceCommandStgService = serviceCommandStgService;
 }
コード例 #4
0
 public BreadcrumbCommandParserService(
     IStringUtilService stringUtilService,
     ICSharpCommonStgService cSharpCommonStgService,
     IBreadcrumbCommandStgService breadcrumbCommandStgService)
 {
     _stringUtilService           = stringUtilService;
     _cSharpCommonStgService      = cSharpCommonStgService;
     _breadcrumbCommandStgService = breadcrumbCommandStgService;
 }
コード例 #5
0
 public ServiceConstructorInjectorFactory(
     IStringUtilService stringUtilService,
     ICSharpParserService cSharpParserService,
     ICSharpCommonStgService cSharpCommonStgService,
     ILogger <MvcPodiumController> logger)
 {
     _stringUtilService      = stringUtilService;
     _cSharpParserService    = cSharpParserService;
     _cSharpCommonStgService = cSharpCommonStgService;
     _logger = logger;
 }
コード例 #6
0
 public BreadcrumbControllerInjectorFactory(
     IStringUtilService stringUtilService,
     ICSharpParserService cSharpParserService,
     IBreadcrumbCommandParserService breadcrumbCommandParserService,
     ICSharpCommonStgService cSharpCommonStgService)
 {
     _stringUtilService              = stringUtilService;
     _cSharpParserService            = cSharpParserService;
     _breadcrumbCommandParserService = breadcrumbCommandParserService;
     _cSharpCommonStgService         = cSharpCommonStgService;
 }
コード例 #7
0
 public ServiceCommandController(
     ILogger <MvcPodiumController> logger,
     IOptions <ProjectEnvironment> projectEnvironment,
     IOptions <UserSettings> userSettings,
     IIoUtilService ioUtilService,
     IServiceCommandService serviceCommandService,
     ICSharpCommonStgService cSharpCommonStgService,
     IServiceCommandStgService serviceCommandStgService,
     IServiceCommandParserService serviceCommandParserService)
 {
     _logger                      = logger;
     _projectEnvironment          = projectEnvironment;
     _userSettings                = userSettings;
     _ioUtilService               = ioUtilService;
     _serviceCommandService       = serviceCommandService;
     _cSharpCommonStgService      = cSharpCommonStgService;
     _serviceCommandStgService    = serviceCommandStgService;
     _serviceCommandParserService = serviceCommandParserService;
 }
コード例 #8
0
 public ServiceConstructorInjector(
     IStringUtilService stringUtilService,
     ICSharpParserService cSharpParserService,
     ICSharpCommonStgService cSharpCommonStgService,
     ILogger logger,
     BufferedTokenStream tokenStream,
     string constructorClassName,
     string constructorClassNamespace,
     string serviceIdentifier,
     string serviceNamespace,
     string serviceInterfaceType,
     FieldDeclaration fieldDeclaration,
     FixedParameter constructorParameter,
     SimpleAssignment constructorAssignment,
     ConstructorDeclaration constructorDeclaration,
     string tabString = null)
 {
     _stringUtilService      = stringUtilService;
     _cSharpParserService    = cSharpParserService;
     _cSharpCommonStgService = cSharpCommonStgService;
     _logger  = logger;
     Tokens   = tokenStream;
     Rewriter = new TokenStreamRewriter(tokenStream);
     _constructorClassName      = constructorClassName;
     _constructorClassNamespace = constructorClassNamespace;
     _serviceIdentifier         = serviceIdentifier;
     _serviceNamespace          = serviceNamespace;
     _serviceInterfaceType      = serviceInterfaceType;
     _fieldDeclaration          = fieldDeclaration;
     _constructorParameter      = constructorParameter;
     _constructorAssignment     = constructorAssignment;
     _constructorDeclaration    = constructorDeclaration;
     _tabString               = tabString;
     _currentNamespace        = new Stack <string>();
     IsModified               = false;
     _isConstructorClassFound = false;
     _isRewritten             = false;
 }