Example #1
0
        private Runner()
        {
            _classDeclarationRegex = new Regex(_classDeclarationRegexPattern, RegexOptions.CultureInvariant);

            Options = new RunnerOptions();

            ClearSession();

            MessageHub.Instance.Subscribe <AddNamespaceMessage>(message =>
                                                                addUsing(message.Content));
        }
Example #2
0
        private Runner()
        {
            _classDeclarationRegex = new Regex(_classDeclarationRegexPattern, RegexOptions.CultureInvariant);

            Options = new RunnerOptions();

            ClearSession();

            MessageHub.Instance.Subscribe<AddNamespaceMessage>(message =>
                addUsing(message.Content));
        }