mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
74 lines
2.4 KiB
C#
74 lines
2.4 KiB
C#
//------------------------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Discovery.Configuration
|
|
{
|
|
using System.Configuration;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Runtime;
|
|
using System.ServiceModel.Configuration;
|
|
|
|
[Fx.Tag.XamlVisible(false)]
|
|
public sealed class DiscoveryClientSettingsElement : ConfigurationElement
|
|
{
|
|
ConfigurationPropertyCollection properties;
|
|
|
|
[ConfigurationProperty(ConfigurationStrings.Endpoint)]
|
|
[SuppressMessage(
|
|
FxCop.Category.Configuration,
|
|
FxCop.Rule.ConfigurationPropertyNameRule,
|
|
Justification = "The configuration name for this element is 'endpoint'.")]
|
|
public ChannelEndpointElement DiscoveryEndpoint
|
|
{
|
|
get
|
|
{
|
|
return (ChannelEndpointElement)base[ConfigurationStrings.Endpoint];
|
|
}
|
|
}
|
|
|
|
|
|
[ConfigurationProperty(ConfigurationStrings.FindCriteria)]
|
|
public FindCriteriaElement FindCriteria
|
|
{
|
|
get
|
|
{
|
|
return (FindCriteriaElement)base[ConfigurationStrings.FindCriteria];
|
|
}
|
|
}
|
|
|
|
protected override ConfigurationPropertyCollection Properties
|
|
{
|
|
get
|
|
{
|
|
if (this.properties == null)
|
|
{
|
|
ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
|
|
|
|
|
|
properties.Add(
|
|
new ConfigurationProperty(
|
|
ConfigurationStrings.Endpoint,
|
|
typeof(ChannelEndpointElement),
|
|
null,
|
|
null,
|
|
null,
|
|
ConfigurationPropertyOptions.None));
|
|
|
|
properties.Add(
|
|
new ConfigurationProperty(
|
|
ConfigurationStrings.FindCriteria,
|
|
typeof(FindCriteriaElement),
|
|
null,
|
|
null,
|
|
null,
|
|
ConfigurationPropertyOptions.None));
|
|
|
|
this.properties = properties;
|
|
}
|
|
return this.properties;
|
|
}
|
|
}
|
|
}
|
|
}
|