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 / ReferencedAssembly.cs / 1 / ReferencedAssembly.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 { ////// ///#if WEB_EXTENSIONS_CODE internal class ReferencedAssembly #else [CLSCompliant(true)] public class ReferencedAssembly #endif { private string m_AssemblyName; /// /// Constructor /// public ReferencedAssembly() { m_AssemblyName = String.Empty; } ////// Constructor /// public ReferencedAssembly(string assemblyName) { if (assemblyName == null) { throw new ArgumentNullException("assemblyName"); } m_AssemblyName = assemblyName; } ////// assembly name /// ////// [XmlSerialization.XmlAttribute()] public string AssemblyName { get { return m_AssemblyName; } set { m_AssemblyName = value; } } } } // 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 { ////// ///#if WEB_EXTENSIONS_CODE internal class ReferencedAssembly #else [CLSCompliant(true)] public class ReferencedAssembly #endif { private string m_AssemblyName; /// /// Constructor /// public ReferencedAssembly() { m_AssemblyName = String.Empty; } ////// Constructor /// public ReferencedAssembly(string assemblyName) { if (assemblyName == null) { throw new ArgumentNullException("assemblyName"); } m_AssemblyName = assemblyName; } ////// assembly name /// ////// [XmlSerialization.XmlAttribute()] public string AssemblyName { get { return m_AssemblyName; } set { m_AssemblyName = value; } } } } // 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
- TableLayoutPanelCellPosition.cs
- DrawToolTipEventArgs.cs
- RuntimeHandles.cs
- FixedHighlight.cs
- Scripts.cs
- TransformedBitmap.cs
- X509CertificateChain.cs
- ContentType.cs
- TextDecorationCollectionConverter.cs
- RoutedEventHandlerInfo.cs
- DesignParameter.cs
- WebConfigurationHost.cs
- ActiveDesignSurfaceEvent.cs
- HorizontalAlignConverter.cs
- PageCatalogPart.cs
- FrameworkElement.cs
- MessageRpc.cs
- WebPartDescription.cs
- TextElement.cs
- Baml2006Reader.cs
- DataGridViewSelectedCellCollection.cs
- BitmapSource.cs
- DiscoveryReferences.cs
- BaseUriHelper.cs
- PresentationTraceSources.cs
- Model3DGroup.cs
- Vector3DCollection.cs
- WebZone.cs
- SQLMoneyStorage.cs
- ForAllOperator.cs
- ObjectCache.cs
- DbMetaDataCollectionNames.cs
- SecurityProtocolCorrelationState.cs
- SegmentInfo.cs
- RegexParser.cs
- Condition.cs
- XXXOnTypeBuilderInstantiation.cs
- XomlSerializationHelpers.cs
- BuildResultCache.cs
- AssociatedControlConverter.cs
- PtsHost.cs
- EllipseGeometry.cs
- InvalidContentTypeException.cs
- AppSettingsSection.cs
- DetailsViewRowCollection.cs
- M3DUtil.cs
- TypeLoadException.cs
- XmlSchemaNotation.cs
- PolicyException.cs
- HtmlElementCollection.cs
- TypeInitializationException.cs
- ProxySimple.cs
- QilLiteral.cs
- arabicshape.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- DataTableMappingCollection.cs
- XmlMembersMapping.cs
- RelAssertionDirectKeyIdentifierClause.cs
- SspiNegotiationTokenAuthenticatorState.cs
- GPStream.cs
- DictionarySectionHandler.cs
- DataExpression.cs
- XmlSchemaSimpleContent.cs
- ObjectNotFoundException.cs
- ProcessProtocolHandler.cs
- DataChangedEventManager.cs
- Triplet.cs
- CharacterShapingProperties.cs
- PageParserFilter.cs
- ConfigurationFileMap.cs
- SchemaElementLookUpTable.cs
- QilBinary.cs
- __ComObject.cs
- WebPartConnectionsCloseVerb.cs
- DbConnectionPoolOptions.cs
- ConfigurationException.cs
- DuplicateWaitObjectException.cs
- StrokeIntersection.cs
- SchemaLookupTable.cs
- ToolTip.cs
- TreeNodeStyleCollectionEditor.cs
- MethodMessage.cs
- SqlNodeTypeOperators.cs
- WebPartZoneCollection.cs
- PrtCap_Base.cs
- RtType.cs
- EntryWrittenEventArgs.cs
- Debugger.cs
- DataRecordInternal.cs
- PageParser.cs
- HttpClientChannel.cs
- RealizationContext.cs
- ReceiveActivity.cs
- ReachPrintTicketSerializer.cs
- XmlQueryTypeFactory.cs
- RawStylusActions.cs
- UserCancellationException.cs
- XmlSerializerOperationGenerator.cs
- Schema.cs
- SiteMapProvider.cs