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
- ErrorWrapper.cs
- DesignerAutoFormatCollection.cs
- PersonalizationStateQuery.cs
- XmlILModule.cs
- TypeLoadException.cs
- QuaternionRotation3D.cs
- PlainXmlSerializer.cs
- Transform3DGroup.cs
- DragEvent.cs
- WebPartUtil.cs
- DataTemplate.cs
- MetadataArtifactLoaderResource.cs
- LineBreakRecord.cs
- TypedColumnHandler.cs
- DescendantOverDescendantQuery.cs
- SafeSecurityHandles.cs
- StyleCollection.cs
- Table.cs
- figurelength.cs
- BulletedListEventArgs.cs
- Pair.cs
- MediaPlayer.cs
- WindowInteropHelper.cs
- EnumMember.cs
- Axis.cs
- SqlLiftIndependentRowExpressions.cs
- DynamicQueryStringParameter.cs
- DataBindingHandlerAttribute.cs
- WorkflowOperationBehavior.cs
- _ProxyChain.cs
- VisualBasicDesignerHelper.cs
- PathData.cs
- DbConnectionStringBuilder.cs
- FixedLineResult.cs
- ConstrainedGroup.cs
- MetadataItemEmitter.cs
- SchemaCollectionCompiler.cs
- ListControl.cs
- ZoomingMessageFilter.cs
- DatePickerTextBox.cs
- CompiledQuery.cs
- SqlNotificationEventArgs.cs
- ExecutionEngineException.cs
- SqlNotificationRequest.cs
- COM2IDispatchConverter.cs
- DataGridPageChangedEventArgs.cs
- UInt64Converter.cs
- InvalidDocumentContentsException.cs
- PowerStatus.cs
- DbConnectionPoolOptions.cs
- SessionPageStatePersister.cs
- InvokeWebService.cs
- DataGridViewSelectedRowCollection.cs
- UpWmlPageAdapter.cs
- ClientRoleProvider.cs
- UserNamePasswordClientCredential.cs
- ControlTemplate.cs
- Rule.cs
- InlineCategoriesDocument.cs
- PixelFormatConverter.cs
- Int32Rect.cs
- ComponentDispatcherThread.cs
- HtmlUtf8RawTextWriter.cs
- QilSortKey.cs
- BamlResourceDeserializer.cs
- TCPClient.cs
- RequestNavigateEventArgs.cs
- XmlNamespaceManager.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- EmbeddedMailObject.cs
- WindowsContainer.cs
- TraceXPathNavigator.cs
- RequestUriProcessor.cs
- XsltLibrary.cs
- EntityDataReader.cs
- FormViewUpdateEventArgs.cs
- PageAsyncTaskManager.cs
- KnownTypeAttribute.cs
- ListViewItemMouseHoverEvent.cs
- Rect3DValueSerializer.cs
- TargetException.cs
- WebEncodingValidator.cs
- CacheRequest.cs
- MimeParameters.cs
- DataSourceExpressionCollection.cs
- SqlPersonalizationProvider.cs
- InputBuffer.cs
- WebBrowserEvent.cs
- HitTestFilterBehavior.cs
- AuthorizationPolicyTypeElementCollection.cs
- TextEffect.cs
- MetafileHeaderWmf.cs
- DrawListViewSubItemEventArgs.cs
- WebBrowsableAttribute.cs
- PinnedBufferMemoryStream.cs
- GridItemPattern.cs
- OutputScopeManager.cs
- DetailsView.cs
- TextBoxRenderer.cs
- Pen.cs