Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / VersionApril2005 / ResolveCriteriaApril2005.cs / 1305376 / ResolveCriteriaApril2005.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery.VersionApril2005 { using System.Runtime; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; [XmlSchemaProvider("GetSchema")] [Fx.Tag.XamlVisible(false)] public class ResolveCriteriaApril2005 : IXmlSerializable { ResolveCriteria resolveCriteria; ResolveCriteriaApril2005() { this.resolveCriteria = new ResolveCriteria(); } ResolveCriteriaApril2005(ResolveCriteria resolveCriteria) { this.resolveCriteria = resolveCriteria; } public static ResolveCriteriaApril2005 FromResolveCriteria(ResolveCriteria resolveCriteria) { if (resolveCriteria == null) { throw FxTrace.Exception.ArgumentNull("resolveCriteria"); } return new ResolveCriteriaApril2005(resolveCriteria); } public static XmlQualifiedName GetSchema(XmlSchemaSet schemaSet) { if (schemaSet == null) { throw FxTrace.Exception.ArgumentNull("schemaSet"); } return SchemaUtility.EnsureResolveSchema(DiscoveryVersion.WSDiscoveryApril2005, schemaSet); } public ResolveCriteria ToResolveCriteria() { return this.resolveCriteria; } public XmlSchema GetSchema() { return null; } [Fx.Tag.InheritThrows(From = "ReadFrom", FromDeclaringType = typeof(ResolveCriteria))] public void ReadXml(XmlReader reader) { this.resolveCriteria.ReadFrom(DiscoveryVersion.WSDiscoveryApril2005, reader); } public void WriteXml(XmlWriter writer) { this.resolveCriteria.WriteTo(DiscoveryVersion.WSDiscoveryApril2005, writer); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MouseOverProperty.cs
- TemplateManager.cs
- FastEncoderWindow.cs
- BindingContext.cs
- HttpRuntimeSection.cs
- Italic.cs
- WebConfigurationFileMap.cs
- SessionStateModule.cs
- WindowsListBox.cs
- TypeInfo.cs
- TransformerInfo.cs
- PageHandlerFactory.cs
- SiteMapNodeItemEventArgs.cs
- validation.cs
- DnsEndpointIdentity.cs
- ButtonRenderer.cs
- ErrorInfoXmlDocument.cs
- XmlILTrace.cs
- SrgsSemanticInterpretationTag.cs
- WebPartDisplayMode.cs
- GroupDescription.cs
- PlanCompilerUtil.cs
- Effect.cs
- DirectionalLight.cs
- PlatformCulture.cs
- SchemaMapping.cs
- BufferedWebEventProvider.cs
- Claim.cs
- SqlRowUpdatedEvent.cs
- XsltContext.cs
- NameTable.cs
- wgx_sdk_version.cs
- SqlXml.cs
- DataGridCellEditEndingEventArgs.cs
- CodeGenerator.cs
- CuspData.cs
- PageHandlerFactory.cs
- IPipelineRuntime.cs
- RegionInfo.cs
- ProviderIncompatibleException.cs
- TransformerTypeCollection.cs
- LinearGradientBrush.cs
- ControlBuilder.cs
- SizeChangedInfo.cs
- SpecialNameAttribute.cs
- DataGridViewImageCell.cs
- HashSet.cs
- DataColumnMappingCollection.cs
- BasicKeyConstraint.cs
- ApplicationException.cs
- SchemaSetCompiler.cs
- InkPresenterAutomationPeer.cs
- __ConsoleStream.cs
- DesignTimeType.cs
- ReceiveContent.cs
- SmiContext.cs
- NamespaceQuery.cs
- CrossContextChannel.cs
- EventDriven.cs
- RTLAwareMessageBox.cs
- XmlObjectSerializerReadContext.cs
- BufferModesCollection.cs
- StoryFragments.cs
- AutomationPropertyInfo.cs
- CodeDOMUtility.cs
- Domain.cs
- WasHttpModulesInstallComponent.cs
- QueryContinueDragEvent.cs
- ListViewUpdateEventArgs.cs
- FixedSOMTableCell.cs
- PrimitiveXmlSerializers.cs
- TargetConverter.cs
- DataGridViewEditingControlShowingEventArgs.cs
- PersonalizationState.cs
- ModelItemCollection.cs
- ScrollItemProviderWrapper.cs
- DispatcherHooks.cs
- SignatureDescription.cs
- PlatformNotSupportedException.cs
- XmlMessageFormatter.cs
- TokenCreationParameter.cs
- XPathSelectionIterator.cs
- ellipse.cs
- SHA384.cs
- SplitterEvent.cs
- IntSecurity.cs
- CommandField.cs
- TransformGroup.cs
- XmlTextWriter.cs
- HttpResponseInternalBase.cs
- altserialization.cs
- LicFileLicenseProvider.cs
- HtmlUtf8RawTextWriter.cs
- MethodExecutor.cs
- StyleCollection.cs
- ConfigsHelper.cs
- ArraySubsetEnumerator.cs
- Underline.cs
- TextFormatterHost.cs
- CounterCreationDataCollection.cs