Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / VersionCD1 / FindCriteriaCD1.cs / 1305376 / FindCriteriaCD1.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery.VersionCD1 { using System.Runtime; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; [XmlSchemaProvider("GetSchema")] [Fx.Tag.XamlVisible(false)] public class FindCriteriaCD1 : IXmlSerializable { FindCriteria findCriteria; FindCriteriaCD1() { this.findCriteria = new FindCriteria(); } FindCriteriaCD1(FindCriteria findCriteria) { this.findCriteria = findCriteria; } public static FindCriteriaCD1 FromFindCriteria(FindCriteria findCriteria) { if (findCriteria == null) { throw FxTrace.Exception.ArgumentNull("findCriteria"); } return new FindCriteriaCD1(findCriteria); } public static XmlQualifiedName GetSchema(XmlSchemaSet schemaSet) { if (schemaSet == null) { throw FxTrace.Exception.ArgumentNull("schemaSet"); } return SchemaUtility.EnsureProbeSchema(DiscoveryVersion.WSDiscoveryCD1, schemaSet); } public FindCriteria ToFindCriteria() { return this.findCriteria; } public XmlSchema GetSchema() { return null; } [Fx.Tag.InheritThrows(From = "ReadFrom", FromDeclaringType = typeof(FindCriteria))] public void ReadXml(XmlReader reader) { this.findCriteria.ReadFrom(DiscoveryVersion.WSDiscoveryCD1, reader); } public void WriteXml(XmlWriter writer) { this.findCriteria.WriteTo(DiscoveryVersion.WSDiscoveryCD1, 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
- IDQuery.cs
- Pkcs7Signer.cs
- ContextMenuStrip.cs
- HtmlToClrEventProxy.cs
- Helpers.cs
- AssemblyHash.cs
- xmlNames.cs
- arc.cs
- TextRenderer.cs
- KnowledgeBase.cs
- DataBoundControlAdapter.cs
- MediaElement.cs
- StreamWithDictionary.cs
- DispatchWrapper.cs
- DLinqTableProvider.cs
- ProgressChangedEventArgs.cs
- HttpContext.cs
- WsatAdminException.cs
- ListViewTableCell.cs
- InstanceKeyNotReadyException.cs
- StringAnimationUsingKeyFrames.cs
- AnnotationComponentChooser.cs
- AttributeQuery.cs
- FileDataSourceCache.cs
- SHA1.cs
- CompilerTypeWithParams.cs
- MenuItemStyle.cs
- autovalidator.cs
- ImageMap.cs
- InstanceData.cs
- StringConverter.cs
- ResourceAssociationSetEnd.cs
- ControlValuePropertyAttribute.cs
- ApplicationFileParser.cs
- SystemIPInterfaceStatistics.cs
- DetailsViewUpdatedEventArgs.cs
- Simplifier.cs
- OracleNumber.cs
- Pipe.cs
- CounterSetInstanceCounterDataSet.cs
- ByteStreamGeometryContext.cs
- ServiceSettingsResponseInfo.cs
- FrameSecurityDescriptor.cs
- InvokeHandlers.cs
- UserNameSecurityTokenProvider.cs
- EdgeProfileValidation.cs
- AtomParser.cs
- UnmanagedMemoryStreamWrapper.cs
- HttpListenerPrefixCollection.cs
- CatalogZoneBase.cs
- DrawingGroup.cs
- HostVisual.cs
- FocusTracker.cs
- TrackPoint.cs
- XmlEncoding.cs
- Preprocessor.cs
- _emptywebproxy.cs
- EntitySqlException.cs
- ObjectViewEntityCollectionData.cs
- ChtmlSelectionListAdapter.cs
- MessagePropertyDescriptionCollection.cs
- TextWriterTraceListener.cs
- RoutedEventValueSerializer.cs
- UniformGrid.cs
- xamlnodes.cs
- TextSchema.cs
- GradientBrush.cs
- RouteCollection.cs
- ThreadInterruptedException.cs
- CodeDirectoryCompiler.cs
- Substitution.cs
- DataGridRowClipboardEventArgs.cs
- CheckoutException.cs
- WindowsGraphicsWrapper.cs
- EncodingDataItem.cs
- FunctionUpdateCommand.cs
- GenericNameHandler.cs
- Constant.cs
- MultilineStringConverter.cs
- DriveNotFoundException.cs
- SByteConverter.cs
- DocumentXmlWriter.cs
- WpfPayload.cs
- Queue.cs
- RequiredAttributeAttribute.cs
- SchemaTableColumn.cs
- hresults.cs
- ColorEditor.cs
- EventLogPermissionEntryCollection.cs
- BooleanFunctions.cs
- SoundPlayerAction.cs
- ContentTypeSettingClientMessageFormatter.cs
- TryExpression.cs
- TabControlEvent.cs
- DecoratedNameAttribute.cs
- AsyncCompletedEventArgs.cs
- TransformDescriptor.cs
- QueryPageSettingsEventArgs.cs
- BinaryEditor.cs
- SoundPlayerAction.cs