10 references to Service
System.ServiceModel (10)
System\ServiceModel\Administration\ServiceInfo.cs (5)
45
Fx.Assert(null != this.
Service
.BaseAddresses, "");
47
if (this.
Service
.BaseAddresses.Count > 0)
49
Fx.Assert(null != this.
Service
.BaseAddresses[0], "");
50
address = this.
Service
.BaseAddresses[0].ToString();
99
return this.
Service
.State;
System\ServiceModel\Administration\ServiceInstanceProvider.cs (5)
105
IEnumerable<InstanceContext> contexts = info.
Service
.GetInstanceContexts();
127
ProviderBase.FillCollectionInfo(info.
Service
.Extensions, instance, AdministrationStrings.Extensions);
134
ProviderBase.FillCollectionInfo(info.
Service
.BaseAddresses, instance, AdministrationStrings.BaseAddresses);
135
instance.SetProperty(AdministrationStrings.CounterInstanceName, PerformanceCounters.PerformanceCountersEnabled ? ServicePerformanceCounters.GetFriendlyInstanceName(info.
Service
) : String.Empty);
141
instance.SetProperty(AdministrationStrings.Opened, ManagementExtension.GetTimeOpened(info.
Service
));