Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- XmlWellformedWriter.cs
- FontUnit.cs
- WebPartChrome.cs
- ButtonChrome.cs
- ComponentResourceKey.cs
- TemplatePropertyEntry.cs
- Brush.cs
- StatusBar.cs
- Win32MouseDevice.cs
- CuspData.cs
- InputLanguageCollection.cs
- InfoCardBaseException.cs
- XPathDocument.cs
- DataRowExtensions.cs
- Triplet.cs
- ReliabilityContractAttribute.cs
- BindingNavigator.cs
- RegionData.cs
- ArrayWithOffset.cs
- SqlNotificationEventArgs.cs
- SoapObjectInfo.cs
- FakeModelPropertyImpl.cs
- IndexedString.cs
- TypeHelpers.cs
- DataBoundControlAdapter.cs
- QueryPageSettingsEventArgs.cs
- WebPartCloseVerb.cs
- UrlMappingsSection.cs
- DbConnectionPool.cs
- ImageDrawing.cs
- TagPrefixAttribute.cs
- QueryExtender.cs
- BreakRecordTable.cs
- WebDisplayNameAttribute.cs
- ApplicationTrust.cs
- XpsSerializationManager.cs
- ToolStripSettings.cs
- MenuItem.cs
- AsyncResult.cs
- VectorKeyFrameCollection.cs
- HtmlElementCollection.cs
- XmlProcessingInstruction.cs
- WindowsListViewItemStartMenu.cs
- DelegateSerializationHolder.cs
- FlowStep.cs
- SelectionRangeConverter.cs
- ItemsPanelTemplate.cs
- TemplateKey.cs
- BinaryReader.cs
- BindingMemberInfo.cs
- GlyphRun.cs
- DrawListViewSubItemEventArgs.cs
- Multiply.cs
- ResourcePart.cs
- ContextQuery.cs
- MetadataItemSerializer.cs
- SafeCryptHandles.cs
- CodeEventReferenceExpression.cs
- EnumBuilder.cs
- DirectoryObjectSecurity.cs
- EditCommandColumn.cs
- Delay.cs
- NavigationWindow.cs
- EncoderFallback.cs
- SuppressIldasmAttribute.cs
- TableItemStyle.cs
- ContainerUtilities.cs
- SqlPersonalizationProvider.cs
- Int32AnimationUsingKeyFrames.cs
- MetaTableHelper.cs
- WebPartActionVerb.cs
- GcSettings.cs
- WindowsListViewSubItem.cs
- CallbackCorrelationInitializer.cs
- XhtmlConformanceSection.cs
- TimeSpanMinutesConverter.cs
- StreamSecurityUpgradeInitiator.cs
- EventPrivateKey.cs
- ConfigXmlComment.cs
- UniformGrid.cs
- ToolboxBitmapAttribute.cs
- ToolStripItemClickedEventArgs.cs
- SqlException.cs
- StylusSystemGestureEventArgs.cs
- CodePageUtils.cs
- DeadCharTextComposition.cs
- DynamicILGenerator.cs
- BoolExpr.cs
- EventRoute.cs
- WindowsGrip.cs
- ellipse.cs
- SignatureConfirmationElement.cs
- InstanceCompleteException.cs
- Array.cs
- TextHidden.cs
- IntPtr.cs
- CounterCreationDataCollection.cs
- CqlIdentifiers.cs
- RC2.cs
- SrgsElement.cs