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
- ExtenderProvidedPropertyAttribute.cs
- ValueExpressions.cs
- FixedPageProcessor.cs
- UnsafeNativeMethodsCLR.cs
- DelegatingMessage.cs
- VerticalConnector.xaml.cs
- EventEntry.cs
- ConfigurationLocation.cs
- SafeArrayTypeMismatchException.cs
- RecognizeCompletedEventArgs.cs
- RecognitionEventArgs.cs
- GridViewColumnHeaderAutomationPeer.cs
- XmlSchemaChoice.cs
- DLinqColumnProvider.cs
- SqlBinder.cs
- HttpConfigurationSystem.cs
- PrintDialog.cs
- DiscoveryVersion.cs
- WindowsImpersonationContext.cs
- WebRequestModulesSection.cs
- ContextBase.cs
- KeyGestureValueSerializer.cs
- PenThreadPool.cs
- IteratorFilter.cs
- ChineseLunisolarCalendar.cs
- PropertyDescriptorCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- TimeoutValidationAttribute.cs
- MatrixKeyFrameCollection.cs
- smtppermission.cs
- ImplicitInputBrush.cs
- BooleanConverter.cs
- Debug.cs
- MulticastNotSupportedException.cs
- GroupItemAutomationPeer.cs
- DependencyProperty.cs
- RequestStatusBarUpdateEventArgs.cs
- SimpleBitVector32.cs
- MimeBasePart.cs
- PrintControllerWithStatusDialog.cs
- CompositeTypefaceMetrics.cs
- odbcmetadatafactory.cs
- DNS.cs
- BrowserCapabilitiesFactory.cs
- GcHandle.cs
- CategoryAttribute.cs
- FragmentQueryKB.cs
- DataControlField.cs
- XmlSerializer.cs
- UnsafeNativeMethods.cs
- ValidationSummary.cs
- ToolStripSystemRenderer.cs
- ObjectManager.cs
- DataRow.cs
- ParserHooks.cs
- ConnectionsZoneDesigner.cs
- ExpressionVisitorHelpers.cs
- AssemblyHash.cs
- SystemTcpStatistics.cs
- TableLayoutRowStyleCollection.cs
- Helpers.cs
- TabletCollection.cs
- ListControl.cs
- ApplicationServiceManager.cs
- ComboBoxRenderer.cs
- XamlSerializer.cs
- UserControlCodeDomTreeGenerator.cs
- PropertyGridEditorPart.cs
- XmlIncludeAttribute.cs
- AssociatedControlConverter.cs
- ByValueEqualityComparer.cs
- ConditionalAttribute.cs
- PageSettings.cs
- EventMetadata.cs
- ToolStripPanel.cs
- DocumentOrderQuery.cs
- ConditionalDesigner.cs
- GradientBrush.cs
- MemberInfoSerializationHolder.cs
- HttpConfigurationSystem.cs
- PtsContext.cs
- Lease.cs
- SimpleWebHandlerParser.cs
- StatusBar.cs
- XmlSchemaGroup.cs
- XXXOnTypeBuilderInstantiation.cs
- AspNetHostingPermission.cs
- IssuanceLicense.cs
- XmlDocumentFragment.cs
- CodeNamespaceImportCollection.cs
- GenericPrincipal.cs
- XPathItem.cs
- TaskFormBase.cs
- FocusWithinProperty.cs
- Pipe.cs
- RepeaterItemCollection.cs
- Image.cs
- DataServiceCollectionOfT.cs
- PathSegment.cs
- NullableFloatMinMaxAggregationOperator.cs