Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Compilation / WCFModel / ReferencedAssembly.cs / 1305376 / 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
- CLRBindingWorker.cs
- TemplatedWizardStep.cs
- IndexedEnumerable.cs
- WebPartMovingEventArgs.cs
- HostedElements.cs
- PropertyDescriptorGridEntry.cs
- FileUpload.cs
- CommandExpr.cs
- SoapTypeAttribute.cs
- GenericTypeParameterBuilder.cs
- ParseHttpDate.cs
- XmlSchemaAppInfo.cs
- DocumentPageHost.cs
- BindValidator.cs
- _IPv6Address.cs
- Application.cs
- TypeInfo.cs
- AVElementHelper.cs
- EntityObject.cs
- CompilerLocalReference.cs
- DateTimeConverter2.cs
- ColumnWidthChangedEvent.cs
- DataGridView.cs
- DataGridViewRowsRemovedEventArgs.cs
- DataRecord.cs
- XPathNode.cs
- UrlMappingCollection.cs
- ProcessManager.cs
- COM2FontConverter.cs
- ILGenerator.cs
- WebHttpSecurityModeHelper.cs
- InputDevice.cs
- DataComponentNameHandler.cs
- CodeSubDirectory.cs
- TcpClientChannel.cs
- WSHttpSecurityElement.cs
- EntityCommandExecutionException.cs
- ProfessionalColorTable.cs
- ReadOnlyAttribute.cs
- ModelPerspective.cs
- HtmlHead.cs
- TransformedBitmap.cs
- XamlStream.cs
- SubpageParagraph.cs
- DataGridViewCell.cs
- UIElementPropertyUndoUnit.cs
- SoapTypeAttribute.cs
- HttpResponse.cs
- DocComment.cs
- SecurityTokenAuthenticator.cs
- SessionStateUtil.cs
- XPathDocumentNavigator.cs
- TypeUtils.cs
- X509ChainElement.cs
- TemplateXamlParser.cs
- Paragraph.cs
- PrimaryKeyTypeConverter.cs
- WindowsListBox.cs
- DataControlFieldTypeEditor.cs
- TextBox.cs
- ZoneIdentityPermission.cs
- XmlSerializationGeneratedCode.cs
- OneToOneMappingSerializer.cs
- GlobalProxySelection.cs
- SliderAutomationPeer.cs
- formatter.cs
- WebColorConverter.cs
- Invariant.cs
- XsltConvert.cs
- DBConnectionString.cs
- ValidationEventArgs.cs
- XmlDataProvider.cs
- _BasicClient.cs
- ProxyGenerationError.cs
- DataServiceRequestOfT.cs
- ProcessHostMapPath.cs
- SafeRightsManagementPubHandle.cs
- Brushes.cs
- TextTreeRootTextBlock.cs
- DesignerEventService.cs
- ScrollEventArgs.cs
- ipaddressinformationcollection.cs
- MultipartContentParser.cs
- List.cs
- PseudoWebRequest.cs
- TreeViewImageIndexConverter.cs
- ExtenderProvidedPropertyAttribute.cs
- TripleDES.cs
- DateTimeFormatInfoScanner.cs
- DebuggerAttributes.cs
- COAUTHIDENTITY.cs
- TouchDevice.cs
- NetCodeGroup.cs
- CommandEventArgs.cs
- HttpStreams.cs
- HtmlEncodedRawTextWriter.cs
- SeverityFilter.cs
- SplitterPanelDesigner.cs
- ProcessStartInfo.cs
- BrowserCapabilitiesFactory.cs