Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- XmlAttributeAttribute.cs
- InputLanguageCollection.cs
- MLangCodePageEncoding.cs
- XmlSchemaSimpleContentRestriction.cs
- StorageMappingFragment.cs
- ParenthesizePropertyNameAttribute.cs
- OleDbStruct.cs
- ListDictionaryInternal.cs
- ProgressBarRenderer.cs
- AsymmetricSignatureDeformatter.cs
- SqlCacheDependencySection.cs
- BindingMemberInfo.cs
- TableLayout.cs
- FocusTracker.cs
- MenuItem.cs
- DataTableReaderListener.cs
- NamespaceDisplay.xaml.cs
- DispatcherTimer.cs
- XmlBaseReader.cs
- SystemTcpStatistics.cs
- QilIterator.cs
- RuleSettingsCollection.cs
- MaxMessageSizeStream.cs
- TableRow.cs
- CodeArrayIndexerExpression.cs
- XPathNode.cs
- Choices.cs
- SplayTreeNode.cs
- AvtEvent.cs
- CheckBox.cs
- ConvertersCollection.cs
- SHA512Managed.cs
- ClientCredentials.cs
- MetadataArtifactLoaderComposite.cs
- WindowsHyperlink.cs
- SafeWaitHandle.cs
- KeyManager.cs
- ConfigurationSectionCollection.cs
- base64Transforms.cs
- TransformerInfo.cs
- Clipboard.cs
- FlowLayout.cs
- TreeViewEvent.cs
- Attributes.cs
- FrameworkContextData.cs
- AnnotationComponentChooser.cs
- ExpressionVisitor.cs
- SafeHandles.cs
- WebConfigurationFileMap.cs
- SqlParameter.cs
- ChannelDemuxer.cs
- CodeNamespaceImportCollection.cs
- WmfPlaceableFileHeader.cs
- XmlDocumentSurrogate.cs
- DynamicDiscoveryDocument.cs
- OptimalTextSource.cs
- SystemIPv6InterfaceProperties.cs
- TableSectionStyle.cs
- XmlSchemaImport.cs
- RunInstallerAttribute.cs
- ControlAdapter.cs
- _ContextAwareResult.cs
- XPathBuilder.cs
- CommunicationException.cs
- DataPointer.cs
- SoundPlayer.cs
- OleDbConnectionInternal.cs
- Panel.cs
- RangeBase.cs
- FactoryGenerator.cs
- ToolboxDataAttribute.cs
- CustomExpression.cs
- DataColumn.cs
- TemplateKeyConverter.cs
- Transaction.cs
- GeometryModel3D.cs
- TiffBitmapEncoder.cs
- SqlWebEventProvider.cs
- WebPartManager.cs
- ByteStorage.cs
- TransactionTraceIdentifier.cs
- HtmlControlDesigner.cs
- SqlNamer.cs
- DragDropManager.cs
- ConnectionManagementElementCollection.cs
- LazyTextWriterCreator.cs
- NavigationProgressEventArgs.cs
- DataGridViewCellEventArgs.cs
- SettingsProviderCollection.cs
- Floater.cs
- WebEventTraceProvider.cs
- SecurityTokenAuthenticator.cs
- ColorAnimation.cs
- KeyGesture.cs
- ByteStream.cs
- MetadataUtilsSmi.cs
- ProcessProtocolHandler.cs
- DataGridViewRowPrePaintEventArgs.cs
- ScrollEventArgs.cs
- DefaultTraceListener.cs