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
- ProcessRequestArgs.cs
- SQLSingle.cs
- OleCmdHelper.cs
- VBCodeProvider.cs
- ClientFormsAuthenticationCredentials.cs
- CodeObjectCreateExpression.cs
- GridView.cs
- WebPartRestoreVerb.cs
- MimeReturn.cs
- FixedElement.cs
- FormatSettings.cs
- DocumentPaginator.cs
- ModulesEntry.cs
- FunctionMappingTranslator.cs
- XmlAggregates.cs
- ScriptManager.cs
- BitmapEffectvisualstate.cs
- CollectionViewGroup.cs
- mansign.cs
- DispatcherHookEventArgs.cs
- LogicalExpr.cs
- InvokeMethodActivityDesigner.cs
- CollectionConverter.cs
- ArgumentsParser.cs
- JoinSymbol.cs
- QilName.cs
- AesManaged.cs
- ClaimComparer.cs
- ToolBarPanel.cs
- Rotation3D.cs
- COAUTHINFO.cs
- ToolStripManager.cs
- DelegatedStream.cs
- XsltConvert.cs
- IriParsingElement.cs
- MenuItemStyleCollection.cs
- CopyOnWriteList.cs
- TextRenderer.cs
- LoginView.cs
- DropShadowBitmapEffect.cs
- DataGridViewImageColumn.cs
- WebPartDeleteVerb.cs
- SafeNativeMethods.cs
- SQLInt64Storage.cs
- EDesignUtil.cs
- DoubleAnimationUsingPath.cs
- StateChangeEvent.cs
- AuthenticationConfig.cs
- DataGridViewLinkColumn.cs
- Metafile.cs
- EndpointIdentityConverter.cs
- StringValueSerializer.cs
- DataKeyArray.cs
- LiteralText.cs
- PanelContainerDesigner.cs
- ProcessStartInfo.cs
- StructuredTypeEmitter.cs
- EdmSchemaAttribute.cs
- TableParagraph.cs
- DataServiceSaveChangesEventArgs.cs
- controlskin.cs
- StateManagedCollection.cs
- PathGeometry.cs
- StorageMappingItemLoader.cs
- HttpClientCertificate.cs
- Internal.cs
- FileNotFoundException.cs
- EdmTypeAttribute.cs
- QueryOutputWriterV1.cs
- Model3DCollection.cs
- UniqueIdentifierService.cs
- GridToolTip.cs
- ResourceReferenceExpressionConverter.cs
- TextProperties.cs
- SamlAuthenticationStatement.cs
- FirstMatchCodeGroup.cs
- ThreadExceptionEvent.cs
- Helper.cs
- SHA384.cs
- CheckBoxField.cs
- ListViewCancelEventArgs.cs
- PropertyGeneratedEventArgs.cs
- Utils.cs
- ToolTip.cs
- ImageButton.cs
- DWriteFactory.cs
- DropShadowBitmapEffect.cs
- DefaultClaimSet.cs
- FormatterConverter.cs
- TextBlockAutomationPeer.cs
- TextAction.cs
- SimpleHandlerFactory.cs
- TemplatePartAttribute.cs
- WebPartCollection.cs
- _PooledStream.cs
- StyleTypedPropertyAttribute.cs
- GridViewPageEventArgs.cs
- SiteMapDataSource.cs
- ErrorHandler.cs
- Tracer.cs