1 implementation of IWmiInstance
System.ServiceModel (1)
System\ServiceModel\Administration\WbemProvider.cs (1)
680class InstanceContext : IWmiInstance
109 references to IWmiInstance
System.ServiceModel (109)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (13)
24IWmiInstance instance = instances.NewInstance(null); 29bool IWmiProvider.GetInstance(IWmiInstance instance) 58internal static void FillAppDomainInfo(IWmiInstance instance) 75static IWmiInstance[] CreateListenersInfo(TraceSource traceSource, IWmiInstance instance) 80IWmiInstance[] traceListeners = new IWmiInstance[traceSource.Listeners.Count]; 85IWmiInstance traceListenerWmiInstance = instance.NewInstance(AdministrationStrings.TraceListener); 87List<IWmiInstance> traceListenerArguments = new List<IWmiInstance>(1); 93IWmiInstance argumentWmiInstance = instance.NewInstance(AdministrationStrings.TraceListenerArgument); 115static void FillListenersInfo(IWmiInstance instance) 134bool IWmiProvider.PutInstance(IWmiInstance instance)
System\ServiceModel\Administration\ContractInstanceProvider.cs (19)
47static void FillContract(IWmiInstance contract, ContractDescription contractDescription) 60IWmiInstance[] operations = new IWmiInstance[contractDescription.Operations.Count]; 65IWmiInstance operation = contract.NewInstance(AdministrationStrings.Operation); 74static void FillOperation(IWmiInstance operation, OperationDescription operationDescription) 107static void FillBehaviorsInfo(IWmiInstance operation, KeyedByTypeCollection<IOperationBehavior> behaviors) 109List<IWmiInstance> behaviorInstances = new List<IWmiInstance>(behaviors.Count); 112IWmiInstance behaviorInstance; 122static void FillBehaviorsInfo(IWmiInstance operation, KeyedByTypeCollection<IContractBehavior> behaviors) 124List<IWmiInstance> behaviorInstances = new List<IWmiInstance>(behaviors.Count); 127IWmiInstance behaviorInstance; 137static void FillBehaviorInfo(IContractBehavior behavior, IWmiInstance existingInstance, out IWmiInstance instance) 169static void FillBehaviorInfo(IOperationBehavior behavior, IWmiInstance existingInstance, out IWmiInstance instance) 255IWmiInstance instance = instances.NewInstance(null); 268bool IWmiProvider.GetInstance(IWmiInstance contract)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (28)
69static void FillBindingInfo(EndpointInfo endpoint, IWmiInstance instance) 73IWmiInstance binding = instance.NewInstance(AdministrationStrings.Binding); 75IWmiInstance[] bindings = new IWmiInstance[endpoint.Binding.Elements.Count]; 93static void FillAddressInfo(EndpointInfo endpoint, IWmiInstance instance) 111static void FillContractInfo(EndpointInfo endpoint, IWmiInstance instance) 119internal static void FillEndpointInfo(EndpointInfo endpoint, IWmiInstance instance) 132static void FillBindingInfo(BindingElement bindingElement, ref IWmiInstance instance) 176IWmiInstance connectionPool = instance.NewInstance(AdministrationStrings.TcpConnectionPoolSettings); 189IWmiInstance connectionPool = instance.NewInstance(AdministrationStrings.NamedPipeConnectionPoolSettings); 267IWmiInstance securitySettings = instance.NewInstance(AdministrationStrings.PeerSecuritySettings); 269IWmiInstance transportSecuritySettings = securitySettings.NewInstance(AdministrationStrings.PeerTransportSecuritySettings); 312IWmiInstance localServiceSecuritySettings = instance.NewInstance(AdministrationStrings.LocalServiceSecuritySettings); 366IWmiInstance channelPoolSettings = instance.NewInstance(AdministrationStrings.ChannelPoolSettings); 432static void FillBehaviorsInfo(EndpointInfo info, IWmiInstance instance) 435List<IWmiInstance> behaviors = new List<IWmiInstance>(info.Behaviors.Count); 438IWmiInstance behaviorInstance; 449static void FillBehaviorInfo(IEndpointBehavior behavior, IWmiInstance existingInstance, out IWmiInstance instance) 540static void FillReaderQuotas(IWmiInstance instance, XmlDictionaryReaderQuotas readerQuotas) 544IWmiInstance readerQuotasInstance = instance.NewInstance(AdministrationStrings.XmlDictionaryReaderQuotas); 553static void FillExtendedProtectionPolicy(IWmiInstance instance, ExtendedProtectionPolicy policy) 555IWmiInstance extendedProtectionPolicy = instance.NewInstance(AdministrationStrings.ExtendedProtectionPolicy); 586IWmiInstance instance = instances.NewInstance(null); 598bool IWmiProvider.GetInstance(IWmiInstance instance) 660string GetOperationCounterInstanceName(string operationName, IWmiInstance endpointInstance) 677bool OwnInstance(IWmiInstance instance)
System\ServiceModel\Administration\ProviderBase.cs (5)
12public static void FillCollectionInfo(ICollection info, IWmiInstance instance, string propertyName) 29public static void FillCollectionInfo(IEnumerable info, IWmiInstance instance, string propertyName) 58bool IWmiProvider.GetInstance(IWmiInstance contract) 63bool IWmiProvider.PutInstance(IWmiInstance instance) 68bool IWmiProvider.DeleteInstance(IWmiInstance instance)
System\ServiceModel\Administration\ServiceAppDomainAssociationProvider.cs (2)
17IWmiInstance instance = instances.NewInstance(null); 26bool IWmiProvider.GetInstance(IWmiInstance instance)
System\ServiceModel\Administration\ServiceEndpointAssociationProvider.cs (2)
23IWmiInstance instance = instances.NewInstance(null); 34bool IWmiProvider.GetInstance(IWmiInstance instance)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (20)
28IWmiInstance instance = instances.NewInstance(null); 37bool IWmiProvider.GetInstance(IWmiInstance instance) 70internal static IWmiInstance GetAppDomainInfo(IWmiInstance instance) 73IWmiInstance appDomainInfo = instance.NewInstance(AdministrationStrings.AppDomainInfo); 82void FillBehaviorsInfo(ServiceInfo info, IWmiInstance instance) 85List<IWmiInstance> behaviors = new List<IWmiInstance>(info.Behaviors.Count); 88IWmiInstance behaviorInstance; 98void FillChannelsInfo(ServiceInfo info, IWmiInstance instance) 104List<IWmiInstance> instances = new List<IWmiInstance>(); 113IWmiInstance channelInstance = instance.NewInstance(AdministrationStrings.Channel); 123static void FillExtensionsInfo(ServiceInfo info, IWmiInstance instance) 130void FillServiceInfo(ServiceInfo info, IWmiInstance instance) 149void FillBehaviorInfo(IServiceBehavior behavior, IWmiInstance existingInstance, out IWmiInstance instance) 345void FillMetadataExporterInfo(IWmiInstance instance, MetadataExporter exporter) 350IWmiInstance metadataExporterInstance = instance.NewInstance(AdministrationStrings.MetadataExporter); 356void FillChannelInfo(IChannel channel, IWmiInstance instance)
System\ServiceModel\Administration\WbemProvider.cs (19)
668IWmiInstance IWmiInstances.NewInstance(string className) 673void IWmiInstances.AddInstance(IWmiInstance inst) 694IWmiInstance IWmiInstance.NewInstance(string className) 699object IWmiInstance.GetProperty(string name) 704void IWmiInstance.SetProperty(string name, object val) 716IWmiInstance instance; 739IWmiInstance IWmiMethodContext.Instance 1096bool IWmiProvider.GetInstance(IWmiInstance instance) { return false; } 1097bool IWmiProvider.PutInstance(IWmiInstance instance) { return false; } 1098bool IWmiProvider.DeleteInstance(IWmiInstance instance) { return false; } 1107bool GetInstance(IWmiInstance instance); 1108bool PutInstance(IWmiInstance instance); 1109bool DeleteInstance(IWmiInstance instance); 1115IWmiInstance NewInstance(string className); 1116void AddInstance(IWmiInstance inst); 1121IWmiInstance NewInstance(string className); 1129IWmiInstance Instance { get; } 1138void FillInstance(IWmiInstance wmiInstance);
System\ServiceModel\Channels\ContextBindingElement.cs (1)
284void IWmiInstanceProvider.FillInstance(IWmiInstance wmiInstance)