Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / Compilation / WCFModel / ReferencedCollectionType.cs / 1 / 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
- QueryOutputWriterV1.cs
- SequentialWorkflowRootDesigner.cs
- OracleInfoMessageEventArgs.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- BaseAsyncResult.cs
- ObjectParameter.cs
- GridViewDeleteEventArgs.cs
- CapabilitiesState.cs
- TabPanel.cs
- ListSortDescription.cs
- DataControlHelper.cs
- XmlCountingReader.cs
- LightweightEntityWrapper.cs
- RemoteWebConfigurationHostStream.cs
- ValidatorCollection.cs
- TaiwanCalendar.cs
- ThreadPool.cs
- TypedElement.cs
- FilteredDataSetHelper.cs
- ClaimComparer.cs
- ColumnHeaderCollectionEditor.cs
- ListViewItem.cs
- DecryptRequest.cs
- CodeGenerationManager.cs
- FormViewPageEventArgs.cs
- TrackingMemoryStreamFactory.cs
- CodeTypeOfExpression.cs
- WebPartsPersonalization.cs
- SQLInt16Storage.cs
- SizeKeyFrameCollection.cs
- DecoderReplacementFallback.cs
- TreeView.cs
- SendMailErrorEventArgs.cs
- XmlSchemaSimpleTypeUnion.cs
- DoubleStorage.cs
- QueryableFilterUserControl.cs
- TextBoxAutoCompleteSourceConverter.cs
- BoolExpressionVisitors.cs
- WindowCollection.cs
- util.cs
- AssemblyBuilder.cs
- NavigationPropertyAccessor.cs
- DoubleIndependentAnimationStorage.cs
- WindowsScrollBarBits.cs
- SizeLimitedCache.cs
- PerfCounters.cs
- TypeNameParser.cs
- DirectionalLight.cs
- XmlDomTextWriter.cs
- CLSCompliantAttribute.cs
- DataGridRow.cs
- CodeDOMUtility.cs
- DesignerTextViewAdapter.cs
- UnsafeNativeMethods.cs
- DocumentsTrace.cs
- ToolZone.cs
- TcpHostedTransportConfiguration.cs
- SchemaInfo.cs
- Vector.cs
- CustomValidator.cs
- JapaneseCalendar.cs
- DataGridViewComboBoxCell.cs
- TemplateParser.cs
- PersonalizationProviderHelper.cs
- SafeWaitHandle.cs
- LoggedException.cs
- IxmlLineInfo.cs
- TextServicesHost.cs
- ErrorWebPart.cs
- ThicknessAnimation.cs
- PowerStatus.cs
- ServiceNameCollection.cs
- RC2.cs
- QuaternionValueSerializer.cs
- SizeConverter.cs
- BinaryObjectReader.cs
- DescendantBaseQuery.cs
- DesignTimeVisibleAttribute.cs
- HMACSHA256.cs
- NumericUpDownAccelerationCollection.cs
- UnionCodeGroup.cs
- DataSpaceManager.cs
- Deserializer.cs
- DataKey.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- _LazyAsyncResult.cs
- RemoteWebConfigurationHostStream.cs
- CommandLineParser.cs
- DbgUtil.cs
- Directory.cs
- EdmConstants.cs
- EncoderParameter.cs
- _CacheStreams.cs
- XmlQueryType.cs
- SessionEndedEventArgs.cs
- TextSearch.cs
- BitmapSource.cs
- PropertyGeneratedEventArgs.cs
- SynchronizationLockException.cs
- ZipIOBlockManager.cs