Esempio n. 1
0
        private void RegisterSignatureHelpProvider()
        {
            var controller = new NQuerySignatureHelpController();

            RegisterService(controller);

            var provider = new NQuerySignatureHelpProvider();

            provider.Providers.AddRange(SignatureHelpExtensions.GetStandardSignatureHelpModelProviders());

            RegisterService <INQuerySignatureHelpProvider>(provider);
            RegisterService <IParameterInfoProvider>(provider);
        }
 public SignatureHelpModelProviderService([ImportMany] IEnumerable <ISignatureHelpModelProvider> providers)
 {
     Providers = providers.Concat(SignatureHelpExtensions.GetStandardSignatureHelpModelProviders()).ToImmutableArray();
 }