3 instantiations of DiscoveryVersion
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\DiscoveryVersion.cs (3)
47DiscoveryVersion.wsDiscoveryApril2005 = new DiscoveryVersion( 68DiscoveryVersion.wsDiscoveryCD1 = new DiscoveryVersion( 89DiscoveryVersion.wsDiscovery11 = new DiscoveryVersion(
141 references to DiscoveryVersion
System.ServiceModel.Discovery (141)
System\ServiceModel\Discovery\AnnouncementEndpoint.cs (7)
15DiscoveryVersion discoveryVersion; 18: this(DiscoveryVersion.DefaultDiscoveryVersion) 23: this(DiscoveryVersion.DefaultDiscoveryVersion, binding, address) 27public AnnouncementEndpoint(DiscoveryVersion discoveryVersion) 32public AnnouncementEndpoint(DiscoveryVersion discoveryVersion, Binding binding, EndpointAddress address) 56public DiscoveryVersion DiscoveryVersion 64static ContractDescription GetAnnouncementContract(DiscoveryVersion discoveryVersion)
System\ServiceModel\Discovery\Configuration\AnnouncementEndpointElement.cs (4)
44public DiscoveryVersion DiscoveryVersion 48return (DiscoveryVersion)base[ConfigurationStrings.DiscoveryVersion]; 82typeof(DiscoveryVersion), 83DiscoveryVersion.DefaultDiscoveryVersion,
System\ServiceModel\Discovery\Configuration\DiscoveryEndpointElement.cs (4)
58public DiscoveryVersion DiscoveryVersion 62return (DiscoveryVersion)base[ConfigurationStrings.DiscoveryVersion]; 96typeof(DiscoveryVersion), 97DiscoveryVersion.DefaultDiscoveryVersion,
System\ServiceModel\Discovery\Configuration\DiscoveryVersionConverter.cs (3)
37return DiscoveryVersion.FromName((string)value); 47if (typeof(string) == destinationType && value is DiscoveryVersion) 49return ((DiscoveryVersion)value).Name;
System\ServiceModel\Discovery\DiscoveryEndpoint.cs (6)
16: this(DiscoveryVersion.DefaultDiscoveryVersion, ServiceDiscoveryMode.Managed) 21: this(DiscoveryVersion.DefaultDiscoveryVersion, ServiceDiscoveryMode.Managed, binding, endpointAddress) 25public DiscoveryEndpoint(DiscoveryVersion discoveryVersion, ServiceDiscoveryMode discoveryMode) 30public DiscoveryEndpoint(DiscoveryVersion discoveryVersion, ServiceDiscoveryMode discoveryMode, Binding binding, EndpointAddress endpointAddress) 58public DiscoveryVersion DiscoveryVersion 74static ContractDescription GetDiscoveryContract(DiscoveryVersion discoveryVersion, ServiceDiscoveryMode discoveryMode)
System\ServiceModel\Discovery\DiscoveryOperationContextExtension.cs (4)
15DiscoveryVersion discoveryVersion; 18: this(TimeSpan.Zero, ServiceDiscoveryMode.Adhoc, DiscoveryVersion.DefaultDiscoveryVersion) 22internal DiscoveryOperationContextExtension(TimeSpan maxResponseDelay, ServiceDiscoveryMode discoveryMode, DiscoveryVersion discoveryVersion) 53public DiscoveryVersion DiscoveryVersion
System\ServiceModel\Discovery\DiscoveryVersion.cs (21)
18static DiscoveryVersion wsDiscoveryApril2005; 19static DiscoveryVersion wsDiscoveryCD1; 20static DiscoveryVersion wsDiscovery11; 37public static DiscoveryVersion WSDiscoveryApril2005 41if (DiscoveryVersion.wsDiscoveryApril2005 == null) 45if (DiscoveryVersion.wsDiscoveryApril2005 == null) 47DiscoveryVersion.wsDiscoveryApril2005 = new DiscoveryVersion( 54return DiscoveryVersion.wsDiscoveryApril2005; 58public static DiscoveryVersion WSDiscoveryCD1 62if (DiscoveryVersion.wsDiscoveryCD1 == null) 66if (DiscoveryVersion.wsDiscoveryCD1 == null) 68DiscoveryVersion.wsDiscoveryCD1 = new DiscoveryVersion( 75return DiscoveryVersion.wsDiscoveryCD1; 79public static DiscoveryVersion WSDiscovery11 83if (DiscoveryVersion.wsDiscovery11 == null) 87if (DiscoveryVersion.wsDiscovery11 == null) 89DiscoveryVersion.wsDiscovery11 = new DiscoveryVersion( 96return DiscoveryVersion.wsDiscovery11; 136internal static DiscoveryVersion DefaultDiscoveryVersion 140return DiscoveryVersion.FromName(ProtocolStrings.VersionNameDefault); 152public static DiscoveryVersion FromName(string name)
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (2)
335internal void ReadFrom(DiscoveryVersion discoveryVersion, XmlReader reader) 411internal void WriteTo(DiscoveryVersion discoveryVersion, XmlWriter writer)
System\ServiceModel\Discovery\FindCriteria.cs (2)
285internal void ReadFrom(DiscoveryVersion discoveryVersion, XmlReader reader) 359internal void WriteTo(DiscoveryVersion discoveryVersion, XmlWriter writer)
System\ServiceModel\Discovery\IDiscoveryVersionImplementation.cs (1)
16DiscoveryVersion.SchemaQualifiedNames QualifiedNames { get; }
System\ServiceModel\Discovery\ResolveCriteria.cs (2)
87internal void ReadFrom(DiscoveryVersion discoveryVersion, XmlReader reader) 136internal void WriteTo(DiscoveryVersion discoveryVersion, XmlWriter writer)
System\ServiceModel\Discovery\SchemaUtility.cs (26)
14public static XmlQualifiedName EnsureProbeMatchSchema(DiscoveryVersion discoveryVersion, XmlSchemaSet schemaSet) 20if (discoveryVersion == DiscoveryVersion.WSDiscoveryApril2005 || discoveryVersion == DiscoveryVersion.WSDiscoveryCD1) 24else if (discoveryVersion == DiscoveryVersion.WSDiscovery11) 71public static XmlQualifiedName EnsureProbeSchema(DiscoveryVersion discoveryVersion, XmlSchemaSet schemaSet) 113public static XmlQualifiedName EnsureResolveSchema(DiscoveryVersion discoveryVersion, XmlSchemaSet schemaSet) 125if (discoveryVersion == DiscoveryVersion.WSDiscoveryApril2005 || discoveryVersion == DiscoveryVersion.WSDiscoveryCD1) 129else if (discoveryVersion == DiscoveryVersion.WSDiscovery11) 168public static XmlQualifiedName EnsureAppSequenceSchema(DiscoveryVersion discoveryVersion, XmlSchemaSet schemaSet) 201static void AddElements(DiscoveryVersion discoveryVersion, SchemaElements elementsFound, XmlSchema discoverySchema) 221static void AddAppSequenceType(DiscoveryVersion discoveryVersion, XmlSchema schema) 273static void AddMetadataVersionSchemaElement(DiscoveryVersion discoveryVersion, XmlSchema schema) 283static void AddResolveType(DiscoveryVersion discoveryVersion, XmlSchema schema) 318static void AddProbeMatchType(DiscoveryVersion discoveryVersion, XmlSchema schema) 378static void AddProbeType(DiscoveryVersion discoveryVersion, XmlSchema schema) 421static void AddQNameListType(DiscoveryVersion discoveryVersion, XmlSchema schema) 437static void AddSchemaTypes(DiscoveryVersion discoveryVersion, SchemaTypes typesFound, XmlSchema discoverySchema) 465static void AddScopesElement(DiscoveryVersion discoveryVersion, XmlSchema schema) 475static void AddScopesType(DiscoveryVersion discoveryVersion, XmlSchema schema) 511static void AddTypesElement(DiscoveryVersion discoveryVersion, XmlSchema schema) 521static void AddUriListType(DiscoveryVersion discoveryVersion, XmlSchema schema) 537static void AddXAddrsElement(DiscoveryVersion discoveryVersion, XmlSchema schema) 547static XmlSchema CreateSchema(DiscoveryVersion discoveryVersion) 558static void LocateSchemaElements(DiscoveryVersion discoveryVersion, XmlSchema schema, ref SchemaElements elementsFound) 582static void LocateSchemaTypes(DiscoveryVersion discoveryVersion, XmlSchema schema, ref SchemaTypes typesFound)
System\ServiceModel\Discovery\SerializationUtility.cs (12)
263public static EndpointAddress ReadEndpointAddress(DiscoveryVersion discoveryVersion, XmlReader reader) 268if (discoveryVersion == DiscoveryVersion.WSDiscoveryApril2005 || discoveryVersion == DiscoveryVersion.WSDiscoveryCD1) 277else if (discoveryVersion == DiscoveryVersion.WSDiscovery11) 395public static void WriteEndPointAddress(DiscoveryVersion discoveryVersion, EndpointAddress endpointAddress, XmlWriter writer) 400if (discoveryVersion == DiscoveryVersion.WSDiscoveryApril2005 || discoveryVersion == DiscoveryVersion.WSDiscoveryCD1) 405else if (discoveryVersion == DiscoveryVersion.WSDiscovery11) 416public static void WriteContractTypeNames(DiscoveryVersion discoveryVersion, Collection<XmlQualifiedName> contractTypeNames, XmlWriter writer) 431public static void WriteScopes(DiscoveryVersion discoveryVersion, Collection<Uri> scopes, Uri scopeMatchBy, XmlWriter writer) 461public static void WriteListenUris(DiscoveryVersion discoveryVersion, Collection<Uri> listenUris, XmlWriter writer) 471public static void WriteMetadataVersion(DiscoveryVersion discoveryVersion, int metadataVersion, XmlWriter writer)
System\ServiceModel\Discovery\UdpAnnouncementEndpoint.cs (4)
35: this(DiscoveryVersion.DefaultDiscoveryVersion, multicastAddress) 39public UdpAnnouncementEndpoint(DiscoveryVersion discoveryVersion) 44public UdpAnnouncementEndpoint(DiscoveryVersion discoveryVersion, string multicastAddress) 49public UdpAnnouncementEndpoint(DiscoveryVersion discoveryVersion, Uri multicastAddress)
System\ServiceModel\Discovery\UdpDiscoveryEndpoint.cs (4)
37: this(DiscoveryVersion.DefaultDiscoveryVersion, multicastAddress) 41public UdpDiscoveryEndpoint(DiscoveryVersion discoveryVersion) 46public UdpDiscoveryEndpoint(DiscoveryVersion discoveryVersion, string multicastAddress) 51public UdpDiscoveryEndpoint(DiscoveryVersion discoveryVersion, Uri multicastAddress)
System\ServiceModel\Discovery\Version11\DiscoveryMessageSequence11.cs (1)
44return SchemaUtility.EnsureAppSequenceSchema(DiscoveryVersion.WSDiscovery11, schemaSet);
System\ServiceModel\Discovery\Version11\DiscoveryVersion11Implementation.cs (3)
23DiscoveryVersion.SchemaQualifiedNames qualifiedNames; 65public DiscoveryVersion.SchemaQualifiedNames QualifiedNames 71this.qualifiedNames = new DiscoveryVersion.SchemaQualifiedNames(ProtocolStrings.Version11.Namespace, this.WsaNamespace);
System\ServiceModel\Discovery\Version11\EndpointDiscoveryMetadata11.cs (3)
45return SchemaUtility.EnsureProbeMatchSchema(DiscoveryVersion.WSDiscovery11, schemaSet); 61this.endpointDiscoveryMetadata.ReadFrom(DiscoveryVersion.WSDiscovery11, reader); 66this.endpointDiscoveryMetadata.WriteTo(DiscoveryVersion.WSDiscovery11, writer);
System\ServiceModel\Discovery\Version11\FindCriteria11.cs (3)
45return SchemaUtility.EnsureProbeSchema(DiscoveryVersion.WSDiscovery11, schemaSet); 61this.findCriteria.ReadFrom(DiscoveryVersion.WSDiscovery11, reader); 66this.findCriteria.WriteTo(DiscoveryVersion.WSDiscovery11, writer);
System\ServiceModel\Discovery\Version11\ResolveCriteria11.cs (3)
44return SchemaUtility.EnsureResolveSchema(DiscoveryVersion.WSDiscovery11, schemaSet); 60this.resolveCriteria.ReadFrom(DiscoveryVersion.WSDiscovery11, reader); 65this.resolveCriteria.WriteTo(DiscoveryVersion.WSDiscovery11, writer);
System\ServiceModel\Discovery\VersionApril2005\DiscoveryMessageSequenceApril2005.cs (1)
44return SchemaUtility.EnsureAppSequenceSchema(DiscoveryVersion.WSDiscoveryApril2005, schemaSet);
System\ServiceModel\Discovery\VersionApril2005\DiscoveryVersionApril2005Implementation.cs (3)
23DiscoveryVersion.SchemaQualifiedNames qualifiedNames; 65public DiscoveryVersion.SchemaQualifiedNames QualifiedNames 71this.qualifiedNames = new DiscoveryVersion.SchemaQualifiedNames(ProtocolStrings.VersionApril2005.Namespace, this.WsaNamespace);
System\ServiceModel\Discovery\VersionApril2005\EndpointDiscoveryMetadataApril2005.cs (3)
45return SchemaUtility.EnsureProbeMatchSchema(DiscoveryVersion.WSDiscoveryApril2005, schemaSet); 61this.endpointDiscoveryMetadata.ReadFrom(DiscoveryVersion.WSDiscoveryApril2005, reader); 66this.endpointDiscoveryMetadata.WriteTo(DiscoveryVersion.WSDiscoveryApril2005, writer);
System\ServiceModel\Discovery\VersionApril2005\FindCriteriaApril2005.cs (3)
45return SchemaUtility.EnsureProbeSchema(DiscoveryVersion.WSDiscoveryApril2005, schemaSet); 61this.findCriteria.ReadFrom(DiscoveryVersion.WSDiscoveryApril2005, reader); 66this.findCriteria.WriteTo(DiscoveryVersion.WSDiscoveryApril2005, writer);
System\ServiceModel\Discovery\VersionApril2005\ResolveCriteriaApril2005.cs (3)
44return SchemaUtility.EnsureResolveSchema(DiscoveryVersion.WSDiscoveryApril2005, schemaSet); 60this.resolveCriteria.ReadFrom(DiscoveryVersion.WSDiscoveryApril2005, reader); 65this.resolveCriteria.WriteTo(DiscoveryVersion.WSDiscoveryApril2005, writer);
System\ServiceModel\Discovery\VersionCD1\DiscoveryMessageSequenceCD1.cs (1)
44return SchemaUtility.EnsureAppSequenceSchema(DiscoveryVersion.WSDiscoveryCD1, schemaSet);
System\ServiceModel\Discovery\VersionCD1\DiscoveryVersionCD1Implementation.cs (3)
23DiscoveryVersion.SchemaQualifiedNames qualifiedNames; 65public DiscoveryVersion.SchemaQualifiedNames QualifiedNames 71this.qualifiedNames = new DiscoveryVersion.SchemaQualifiedNames(ProtocolStrings.VersionCD1.Namespace, this.WsaNamespace);
System\ServiceModel\Discovery\VersionCD1\EndpointDiscoveryMetadataCD1.cs (3)
45return SchemaUtility.EnsureProbeMatchSchema(DiscoveryVersion.WSDiscoveryCD1, schemaSet); 61this.endpointDiscoveryMetadata.ReadFrom(DiscoveryVersion.WSDiscoveryCD1, reader); 66this.endpointDiscoveryMetadata.WriteTo(DiscoveryVersion.WSDiscoveryCD1, writer);
System\ServiceModel\Discovery\VersionCD1\FindCriteriaCD1.cs (3)
45return SchemaUtility.EnsureProbeSchema(DiscoveryVersion.WSDiscoveryCD1, schemaSet); 61this.findCriteria.ReadFrom(DiscoveryVersion.WSDiscoveryCD1, reader); 66this.findCriteria.WriteTo(DiscoveryVersion.WSDiscoveryCD1, writer);
System\ServiceModel\Discovery\VersionCD1\ResolveCriteriaCD1.cs (3)
44return SchemaUtility.EnsureResolveSchema(DiscoveryVersion.WSDiscoveryCD1, schemaSet); 60this.resolveCriteria.ReadFrom(DiscoveryVersion.WSDiscoveryCD1, reader); 65this.resolveCriteria.WriteTo(DiscoveryVersion.WSDiscoveryCD1, writer);