Ejemplo n.º 1
0
        // TODO: parse both and try to find the basetype of the partial codebehind
        //
        public CodeProvider(string fileName, ITypeResolutionService resolutionSvc)
        {
            if (fileName == null)
            {
                throw new ArgumentNullException("fileName");
            }

            _fileName            = fileName;
            _codeBehindFileName  = FindCodeBehindFile(_fileName);
            _provider            = GetCodeProvider(fileName);
            _informationProvider = new EnvironmentInformationProvider(resolutionSvc);
        }
Ejemplo n.º 2
0
 public EvalHelpCommand(TwitchClient twitchClient, Options options, Settings settings)
     : base(twitchClient, options, settings)
 {
     this.environmentInformationProvider = new EnvironmentInformationProvider();
 }