25 references to ManagementExtension
System.ServiceModel (25)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
236
foreach (ServiceInfo info in new ServiceInfoCollection(
ManagementExtension
.Services))
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
582
foreach (ServiceInfo info in new ServiceInfoCollection(
ManagementExtension
.Services))
645
foreach (ServiceInfo info in new ServiceInfoCollection(
ManagementExtension
.Services))
System\ServiceModel\Administration\ManagementExtension.cs (11)
23
get { return
ManagementExtension
.activated; }
28
get { return
ManagementExtension
.isEnabled; }
41
if (
ManagementExtension
.services == null)
43
lock (
ManagementExtension
.syncRoot)
45
if (
ManagementExtension
.services == null)
47
ManagementExtension
.services = new Dictionary<ServiceHostBase, DateTime>();
51
return
ManagementExtension
.services;
104
if (!
ManagementExtension
.activated)
106
lock (
ManagementExtension
.syncRoot)
108
if (!
ManagementExtension
.activated)
111
ManagementExtension
.activated = true;
System\ServiceModel\Administration\ServiceAppDomainAssociationProvider.cs (1)
15
foreach (ServiceInfo info in new ServiceInfoCollection(
ManagementExtension
.Services))
System\ServiceModel\Administration\ServiceEndpointAssociationProvider.cs (1)
17
foreach (ServiceInfo info in new ServiceInfoCollection(
ManagementExtension
.Services))
System\ServiceModel\Administration\ServiceInstanceProvider.cs (3)
26
foreach (ServiceInfo info in new ServiceInfoCollection(
ManagementExtension
.Services))
43
foreach (ServiceInfo info in new ServiceInfoCollection(
ManagementExtension
.Services))
141
instance.SetProperty(AdministrationStrings.Opened,
ManagementExtension
.GetTimeOpened(info.Service));
System\ServiceModel\ServiceHost.cs (6)
858
if (
ManagementExtension
.IsEnabled && null != this.Description)
860
ManagementExtension
.OnServiceClosing(this);
1075
if (
ManagementExtension
.IsEnabled)
1077
ManagementExtension
.OnServiceOpened(this);
1311
if (
ManagementExtension
.IsEnabled && null != serviceHost.Description)
1313
ManagementExtension
.OnServiceClosing(serviceHost);