Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Compilation / WCFModel / ReferencedCollectionType.cs / 1305376 / ReferencedCollectionType.cs
//------------------------------------------------------------------------------ //// Copyright (C) Microsoft Corporation. All Rights Reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; using XmlSerialization = System.Xml.Serialization; #if WEB_EXTENSIONS_CODE namespace System.Web.Compilation.WCFModel #else namespace Microsoft.VSDesigner.WCFModel #endif { ////// a collection type sharing record /// ///#if WEB_EXTENSIONS_CODE internal class ReferencedCollectionType #else [CLSCompliant(true)] public class ReferencedCollectionType #endif { private string m_TypeName; private CollectionCategory m_Category; /// /// assembly qualified type name /// ////// [XmlSerialization.XmlAttribute()] public string TypeName { get { return m_TypeName; } set { m_TypeName = value; } } /// /// Which combobox in the UI this collection type should go into /// (the "Dictionary collection type" or "List collection type" /// combobox) in the Configure Service Dialog. /// ////// [XmlSerialization.XmlAttribute()] public CollectionCategory Category { get { return m_Category; } set { m_Category = value; } } /// /// Which combobox in the UI this collection type should go into /// (the "Dictionary collection type" or "List collection type" /// combobox) in the Configure Service Dialog. /// ///public enum CollectionCategory { [XmlSerialization.XmlEnum(Name = "Unknown")] Unknown = 0, [XmlSerialization.XmlEnum(Name = "List")] List = 1, [XmlSerialization.XmlEnum(Name = "Dictionary")] Dictionary = 2, } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // // Copyright (C) Microsoft Corporation. All Rights Reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; using XmlSerialization = System.Xml.Serialization; #if WEB_EXTENSIONS_CODE namespace System.Web.Compilation.WCFModel #else namespace Microsoft.VSDesigner.WCFModel #endif { ////// a collection type sharing record /// ///#if WEB_EXTENSIONS_CODE internal class ReferencedCollectionType #else [CLSCompliant(true)] public class ReferencedCollectionType #endif { private string m_TypeName; private CollectionCategory m_Category; /// /// assembly qualified type name /// ////// [XmlSerialization.XmlAttribute()] public string TypeName { get { return m_TypeName; } set { m_TypeName = value; } } /// /// Which combobox in the UI this collection type should go into /// (the "Dictionary collection type" or "List collection type" /// combobox) in the Configure Service Dialog. /// ////// [XmlSerialization.XmlAttribute()] public CollectionCategory Category { get { return m_Category; } set { m_Category = value; } } /// /// Which combobox in the UI this collection type should go into /// (the "Dictionary collection type" or "List collection type" /// combobox) in the Configure Service Dialog. /// ///public enum CollectionCategory { [XmlSerialization.XmlEnum(Name = "Unknown")] Unknown = 0, [XmlSerialization.XmlEnum(Name = "List")] List = 1, [XmlSerialization.XmlEnum(Name = "Dictionary")] Dictionary = 2, } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourceDisplayNameAttribute.cs
- DefaultValueTypeConverter.cs
- ConfigurationManagerInternalFactory.cs
- ItemList.cs
- ConnectionPointGlyph.cs
- Condition.cs
- XmlMtomReader.cs
- ToolBarButtonClickEvent.cs
- WorkerRequest.cs
- SystemIPv6InterfaceProperties.cs
- PrincipalPermission.cs
- ReliableMessagingVersion.cs
- DoubleAnimationClockResource.cs
- MessageBox.cs
- DbProviderManifest.cs
- ValueUnavailableException.cs
- StyleTypedPropertyAttribute.cs
- AnnotationStore.cs
- _UriTypeConverter.cs
- WindowsAuthenticationEventArgs.cs
- PageRanges.cs
- BindValidationContext.cs
- IdentityNotMappedException.cs
- TextEditorParagraphs.cs
- EasingKeyFrames.cs
- RegistrySecurity.cs
- CompositeScriptReference.cs
- XmlNotation.cs
- DetailsViewDeleteEventArgs.cs
- X509CertificateCollection.cs
- Viewport2DVisual3D.cs
- CharEnumerator.cs
- MergePropertyDescriptor.cs
- _SecureChannel.cs
- FunctionImportMapping.cs
- SemaphoreSlim.cs
- DataSourceControl.cs
- WebBrowserDocumentCompletedEventHandler.cs
- CodeNamespaceImport.cs
- DesignerActionPropertyItem.cs
- SafeSecurityHandles.cs
- HttpResponseHeader.cs
- x509utils.cs
- embossbitmapeffect.cs
- PrefixHandle.cs
- ContentDisposition.cs
- ConfigurationException.cs
- ImageDrawing.cs
- HotSpot.cs
- PeerCustomResolverBindingElement.cs
- WebSysDefaultValueAttribute.cs
- MultipartContentParser.cs
- IssuedTokenClientCredential.cs
- PreviewKeyDownEventArgs.cs
- MetadataUtil.cs
- ControlSerializer.cs
- TrackingAnnotationCollection.cs
- ToolboxBitmapAttribute.cs
- DataGridBoolColumn.cs
- ClientSettings.cs
- TextParagraphProperties.cs
- Stream.cs
- Stylesheet.cs
- Decoder.cs
- IndependentAnimationStorage.cs
- KeysConverter.cs
- IgnoreSectionHandler.cs
- ObjectCloneHelper.cs
- SqlDataSource.cs
- AsyncOperationContext.cs
- AssemblyAssociatedContentFileAttribute.cs
- OrderedDictionary.cs
- NetworkStream.cs
- ChangePassword.cs
- DbMetaDataFactory.cs
- MarkupCompilePass2.cs
- RadialGradientBrush.cs
- XmlExtensionFunction.cs
- COM2ComponentEditor.cs
- ZeroOpNode.cs
- Debug.cs
- ResourceExpressionEditorSheet.cs
- GorillaCodec.cs
- XmlSignificantWhitespace.cs
- _CommandStream.cs
- ParagraphResult.cs
- Size3DValueSerializer.cs
- JsonUriDataContract.cs
- FrameworkTemplate.cs
- ExceptionHelpers.cs
- ModulesEntry.cs
- MDIControlStrip.cs
- BroadcastEventHelper.cs
- PermissionSetEnumerator.cs
- SerialStream.cs
- ReadWriteSpinLock.cs
- Compress.cs
- WebPartConnection.cs
- QuaternionValueSerializer.cs
- StatusBarItemAutomationPeer.cs