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
- InputScopeAttribute.cs
- ObjectDataSourceStatusEventArgs.cs
- TextEditor.cs
- EntityExpressionVisitor.cs
- RenderDataDrawingContext.cs
- ScriptingRoleServiceSection.cs
- COM2FontConverter.cs
- ServiceBehaviorElement.cs
- DataGridViewHeaderCell.cs
- IriParsingElement.cs
- SystemMulticastIPAddressInformation.cs
- ObjectDisposedException.cs
- DataGridViewSelectedRowCollection.cs
- ErrorFormatterPage.cs
- COM2AboutBoxPropertyDescriptor.cs
- ComNativeDescriptor.cs
- Int32CollectionValueSerializer.cs
- OdbcException.cs
- ConfigurationErrorsException.cs
- RestHandler.cs
- KeyInfo.cs
- XmlEnumAttribute.cs
- IPPacketInformation.cs
- HijriCalendar.cs
- DataGridViewTopRowAccessibleObject.cs
- MethodBody.cs
- EventLogPermissionAttribute.cs
- InkSerializer.cs
- Separator.cs
- EventLogTraceListener.cs
- NetworkCredential.cs
- RequestQueue.cs
- BrowserTree.cs
- EntryIndex.cs
- EntityType.cs
- IgnoreSection.cs
- SymbolDocumentGenerator.cs
- ApplicationHost.cs
- ProfileManager.cs
- TemplateManager.cs
- GroupStyle.cs
- ServiceHostingEnvironment.cs
- SqlPersonalizationProvider.cs
- HttpRequestCacheValidator.cs
- ProcessHostConfigUtils.cs
- UpdateProgress.cs
- StorageBasedPackageProperties.cs
- MediaPlayer.cs
- PerformanceCounterPermissionAttribute.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- EmissiveMaterial.cs
- ColorAnimationUsingKeyFrames.cs
- DoWorkEventArgs.cs
- ObjectQueryState.cs
- CodeLinePragma.cs
- HMACSHA256.cs
- PassportAuthentication.cs
- WebBrowserDocumentCompletedEventHandler.cs
- XXXOnTypeBuilderInstantiation.cs
- ToolStripPanelSelectionBehavior.cs
- FrameworkElementFactory.cs
- PageContent.cs
- DoubleAnimation.cs
- ObjectQuery_EntitySqlExtensions.cs
- ReadContentAsBinaryHelper.cs
- BaseResourcesBuildProvider.cs
- PageEventArgs.cs
- MenuCommandService.cs
- RuleSetBrowserDialog.cs
- StrokeCollectionDefaultValueFactory.cs
- XmlFormatWriterGenerator.cs
- TextProperties.cs
- SapiGrammar.cs
- TypeToken.cs
- Help.cs
- DocumentPageTextView.cs
- MetadataFile.cs
- CacheRequest.cs
- ButtonPopupAdapter.cs
- WsatServiceAddress.cs
- ActivityExecutionContext.cs
- DockPatternIdentifiers.cs
- WinInet.cs
- APCustomTypeDescriptor.cs
- MergeFilterQuery.cs
- WorkflowCompensationBehavior.cs
- BufferedWebEventProvider.cs
- EpmTargetTree.cs
- ComponentCollection.cs
- MenuItemAutomationPeer.cs
- WebPartConnection.cs
- AuthenticationService.cs
- ScriptReference.cs
- TextSelectionProcessor.cs
- DiscoveryMessageSequence11.cs
- Rotation3DKeyFrameCollection.cs
- TextServicesLoader.cs
- TraceInternal.cs
- StorageFunctionMapping.cs
- CorePropertiesFilter.cs