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
- ParameterCollection.cs
- ReflectPropertyDescriptor.cs
- SqlMethods.cs
- PageParser.cs
- TypeConstant.cs
- ImageClickEventArgs.cs
- ExpressionConverter.cs
- parserscommon.cs
- ProvideValueServiceProvider.cs
- ContentElement.cs
- SettingsPropertyIsReadOnlyException.cs
- TextRange.cs
- CfgSemanticTag.cs
- DynamicUpdateCommand.cs
- ValidatorCompatibilityHelper.cs
- OutputCacheSettings.cs
- NetCodeGroup.cs
- TypeResolver.cs
- MarshalByRefObject.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- XmlImplementation.cs
- WebDisplayNameAttribute.cs
- NullableConverter.cs
- DrawTreeNodeEventArgs.cs
- SponsorHelper.cs
- GenerateScriptTypeAttribute.cs
- ToolStripItemCollection.cs
- ProxyHelper.cs
- ParserContext.cs
- ReflectionHelper.cs
- CacheSection.cs
- OneWayBindingElement.cs
- NativeMethods.cs
- PolicyValidationException.cs
- PictureBox.cs
- EncryptedPackageFilter.cs
- ZipIORawDataFileBlock.cs
- PropertyTab.cs
- XmlIlGenerator.cs
- StyleXamlParser.cs
- ModelTreeEnumerator.cs
- UserControl.cs
- PaperSource.cs
- DbSource.cs
- QilVisitor.cs
- InvalidDataException.cs
- InfoCardSymmetricAlgorithm.cs
- Compiler.cs
- PassportAuthentication.cs
- RowParagraph.cs
- DES.cs
- DSACryptoServiceProvider.cs
- BezierSegment.cs
- InternalSafeNativeMethods.cs
- SiteMapSection.cs
- DependentList.cs
- JsonFormatReaderGenerator.cs
- AllMembershipCondition.cs
- InputLangChangeEvent.cs
- DataBinding.cs
- RelatedPropertyManager.cs
- CommonProperties.cs
- ColumnCollectionEditor.cs
- GridViewRowPresenterBase.cs
- WmlValidatorAdapter.cs
- HandleCollector.cs
- StateChangeEvent.cs
- BooleanAnimationBase.cs
- EmbeddedMailObjectCollectionEditor.cs
- Tablet.cs
- DoubleKeyFrameCollection.cs
- DataGridViewCellCollection.cs
- Package.cs
- AutomationProperties.cs
- SqlSelectClauseBuilder.cs
- SqlConnectionFactory.cs
- Pointer.cs
- SettingsPropertyValue.cs
- LinqDataSourceContextEventArgs.cs
- WorkflowViewService.cs
- SurrogateSelector.cs
- SymmetricKeyWrap.cs
- ServiceReference.cs
- SerializationSectionGroup.cs
- DataGridViewRowPostPaintEventArgs.cs
- AsymmetricKeyExchangeDeformatter.cs
- ActiveXSite.cs
- OleDbReferenceCollection.cs
- FormatVersion.cs
- IOException.cs
- PenCursorManager.cs
- GPStream.cs
- ContentTextAutomationPeer.cs
- MimeParameterWriter.cs
- PathGradientBrush.cs
- MemoryStream.cs
- DataGridColumnHeaderAutomationPeer.cs
- EncoderNLS.cs
- LostFocusEventManager.cs
- VerificationException.cs