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
- EntityCommand.cs
- EntityStoreSchemaGenerator.cs
- DbReferenceCollection.cs
- exports.cs
- CollectionBase.cs
- SSmlParser.cs
- ValidationRule.cs
- HandleCollector.cs
- ListGeneralPage.cs
- ContentWrapperAttribute.cs
- SmtpNegotiateAuthenticationModule.cs
- DrawingBrush.cs
- MatrixCamera.cs
- ComplexPropertyEntry.cs
- WindowsAuthenticationEventArgs.cs
- XmlTypeMapping.cs
- ExpressionBindingsDialog.cs
- Padding.cs
- FixedSchema.cs
- ConnectionString.cs
- StrokeFIndices.cs
- TranslateTransform.cs
- DocumentXmlWriter.cs
- ConfigurationLocation.cs
- RowVisual.cs
- DesignerObject.cs
- Utils.cs
- SqlServer2KCompatibilityCheck.cs
- ReferenceConverter.cs
- CodeNamespaceCollection.cs
- NameNode.cs
- LineUtil.cs
- Rectangle.cs
- ConsumerConnectionPoint.cs
- FixUpCollection.cs
- XmlCollation.cs
- RewritingPass.cs
- WebConvert.cs
- DataGridColumnHeaderCollection.cs
- WindowsHyperlink.cs
- InvalidOperationException.cs
- PartialList.cs
- CompilerScope.cs
- XmlNavigatorStack.cs
- GreenMethods.cs
- XmlQueryRuntime.cs
- DesignerRegionCollection.cs
- XmlILModule.cs
- PersistenceParticipant.cs
- TranslateTransform.cs
- DbParameterCollectionHelper.cs
- Annotation.cs
- XmlArrayAttribute.cs
- SystemColors.cs
- TdsParameterSetter.cs
- DeflateStream.cs
- WSSecurityPolicy.cs
- BasicHttpMessageSecurity.cs
- StringUtil.cs
- FormViewRow.cs
- ContentFileHelper.cs
- ObjectQueryExecutionPlan.cs
- DispatchProxy.cs
- HttpWebRequest.cs
- SurrogateSelector.cs
- PagePropertiesChangingEventArgs.cs
- OracleParameterCollection.cs
- FamilyMap.cs
- COM2TypeInfoProcessor.cs
- Span.cs
- XmlBufferReader.cs
- SqlConnectionStringBuilder.cs
- StateMachineSubscriptionManager.cs
- WindowsNonControl.cs
- InternalsVisibleToAttribute.cs
- DataGridViewBindingCompleteEventArgs.cs
- GridItemPatternIdentifiers.cs
- XmlHierarchicalEnumerable.cs
- GridViewAutomationPeer.cs
- DesignerCommandSet.cs
- IsolationInterop.cs
- StyleXamlParser.cs
- EventDescriptor.cs
- FixUp.cs
- CookieProtection.cs
- FontNameEditor.cs
- XmlQueryOutput.cs
- SecurityRuntime.cs
- XpsSerializationException.cs
- Border.cs
- IntegerValidator.cs
- FormView.cs
- NamespaceExpr.cs
- MultiBinding.cs
- DbConnectionStringCommon.cs
- AudioSignalProblemOccurredEventArgs.cs
- PointLightBase.cs
- DataTemplate.cs
- Form.cs
- HostProtectionException.cs