/// <summary> /// Initializes a new instance of the CsLanguageService class. /// </summary> /// <param name="service">Optional service which which influences the code model output.</param> public CsLanguageService(ICSharpCodeModelService service) { Param.Ignore(service); this.RegisterServices(new ICSharpCodeModelService[] { service }); }
/// <summary> /// Initializes a new instance of the CsLanguageService class. /// </summary> /// <param name="service">Optional service which which influences the code model output.</param> public CsLanguageService(ICSharpCodeModelService service) { Param.Ignore(service); this.RegisterServices(new ICSharpCodeModelService[] { service }); }
/// <summary> /// Initializes a new instance of the CsLanguageService class. /// </summary> /// <param name="preprocessorDefinitions">Optional preprocessor definitions to be applied when parsing source code.</param> /// <param name="service">Optional service which which influences the code model output.</param> public CsLanguageService(IEnumerable<PreprocessorDefinition> preprocessorDefinitions, ICSharpCodeModelService service) : this(preprocessorDefinitions) { Param.Ignore(preprocessorDefinitions); Param.Ignore(service); this.RegisterServices(new ICSharpCodeModelService[] { service }); }
/// <summary> /// Initializes a new instance of the CsLanguageService class. /// </summary> /// <param name="preprocessorDefinitions">Optional preprocessor definitions to be applied when parsing source code.</param> /// <param name="service">Optional service which which influences the code model output.</param> public CsLanguageService(IEnumerable <PreprocessorDefinition> preprocessorDefinitions, ICSharpCodeModelService service) : this(preprocessorDefinitions) { Param.Ignore(preprocessorDefinitions); Param.Ignore(service); this.RegisterServices(new ICSharpCodeModelService[] { service }); }