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
- SapiRecoContext.cs
- AnnotationAuthorChangedEventArgs.cs
- CollectionsUtil.cs
- CompositeCollection.cs
- SolidBrush.cs
- VisualCollection.cs
- SmiRequestExecutor.cs
- IChannel.cs
- TextElement.cs
- LostFocusEventManager.cs
- PrivilegeNotHeldException.cs
- SystemTcpConnection.cs
- ExponentialEase.cs
- WsdlBuildProvider.cs
- StandardRuntimeEnumValidator.cs
- SafeProcessHandle.cs
- AdRotator.cs
- RuntimeConfigLKG.cs
- While.cs
- MarkupCompiler.cs
- EmbeddedMailObjectCollectionEditor.cs
- DbParameterHelper.cs
- ApplicationId.cs
- CodeGenerationManager.cs
- StructuredType.cs
- SmtpSection.cs
- XmlSchemaAttributeGroup.cs
- EnterpriseServicesHelper.cs
- SelectionService.cs
- TextTreeRootNode.cs
- HashHelpers.cs
- infer.cs
- SocketPermission.cs
- ManagedWndProcTracker.cs
- PropagatorResult.cs
- SerializationFieldInfo.cs
- MulticastIPAddressInformationCollection.cs
- RepeaterItem.cs
- PtsHost.cs
- AssertUtility.cs
- DataServiceQuery.cs
- ToolboxComponentsCreatingEventArgs.cs
- ContentElement.cs
- BulletChrome.cs
- ImageDrawing.cs
- _SSPIWrapper.cs
- Claim.cs
- RouteValueExpressionBuilder.cs
- ExtentCqlBlock.cs
- safex509handles.cs
- UrlPath.cs
- WebPartMenuStyle.cs
- View.cs
- CapiNative.cs
- XsltOutput.cs
- XmlDataSource.cs
- BuildProvidersCompiler.cs
- WorkerRequest.cs
- FormViewAutoFormat.cs
- RequestCachePolicyConverter.cs
- ContextStaticAttribute.cs
- ClientSession.cs
- AddInBase.cs
- IPipelineRuntime.cs
- DateTimeFormatInfoScanner.cs
- TreeWalkHelper.cs
- PathSegmentCollection.cs
- DataErrorValidationRule.cs
- DropDownList.cs
- ProviderCollection.cs
- XmlException.cs
- ItemContainerProviderWrapper.cs
- FamilyCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- FixedDocumentPaginator.cs
- ClosableStream.cs
- ToolStripRenderer.cs
- DEREncoding.cs
- ScriptReference.cs
- TemplatedAdorner.cs
- SqlTypesSchemaImporter.cs
- EntitySqlQueryState.cs
- XappLauncher.cs
- TargetControlTypeAttribute.cs
- BamlReader.cs
- DataServiceBehavior.cs
- MethodBody.cs
- XmlUtil.cs
- mactripleDES.cs
- SimpleType.cs
- DbMetaDataCollectionNames.cs
- SQLInt16Storage.cs
- InstanceKey.cs
- DataObjectMethodAttribute.cs
- filewebrequest.cs
- MenuEventArgs.cs
- ServiceDocument.cs
- OracleString.cs
- RepeaterItemCollection.cs
- EventHandlersStore.cs