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
- ParameterCollection.cs
- DeviceSpecific.cs
- NameValueSectionHandler.cs
- PatternMatcher.cs
- FixedNode.cs
- FlagsAttribute.cs
- RoutingBehavior.cs
- RolePrincipal.cs
- ValidationErrorEventArgs.cs
- webeventbuffer.cs
- BuildProviderCollection.cs
- ClientTarget.cs
- Mappings.cs
- IdentityManager.cs
- ThemeConfigurationDialog.cs
- DashStyle.cs
- HtmlInputFile.cs
- PermissionRequestEvidence.cs
- AssociationEndMember.cs
- UrlPropertyAttribute.cs
- ImageAttributes.cs
- RelationshipEndCollection.cs
- httpserverutility.cs
- Process.cs
- CollectionViewGroupInternal.cs
- arc.cs
- ChannelManager.cs
- RowToParametersTransformer.cs
- DataGridViewCellMouseEventArgs.cs
- VariableQuery.cs
- FloaterBaseParaClient.cs
- BitmapSource.cs
- NoneExcludedImageIndexConverter.cs
- DataGridState.cs
- messageonlyhwndwrapper.cs
- CookielessHelper.cs
- CharAnimationBase.cs
- RowCache.cs
- DBCommand.cs
- RectangleF.cs
- CodeNamespace.cs
- InvalidateEvent.cs
- GridSplitter.cs
- XmlDownloadManager.cs
- BackgroundWorker.cs
- CanonicalFormWriter.cs
- NumericUpDownAcceleration.cs
- ValidatingCollection.cs
- ObjectHelper.cs
- VirtualizedItemProviderWrapper.cs
- ConfigurationPropertyCollection.cs
- DateTimePicker.cs
- AssemblyUtil.cs
- SafeViewOfFileHandle.cs
- FixedFlowMap.cs
- SpotLight.cs
- HuffmanTree.cs
- WebPartsPersonalizationAuthorization.cs
- DataService.cs
- EmbeddedMailObject.cs
- TraceSource.cs
- Size.cs
- DbConnectionInternal.cs
- MaterialGroup.cs
- XmlParserContext.cs
- OdbcFactory.cs
- HwndHost.cs
- StatementContext.cs
- CompiledWorkflowDefinitionContext.cs
- OutputCacheModule.cs
- UriTemplateMatchException.cs
- CharAnimationBase.cs
- DiffuseMaterial.cs
- XmlSchemaImport.cs
- DesignerActionGlyph.cs
- FileSystemWatcher.cs
- DynamicContractTypeBuilder.cs
- XmlNamedNodeMap.cs
- AssemblySettingAttributes.cs
- WriteableOnDemandPackagePart.cs
- SeverityFilter.cs
- XmlWhitespace.cs
- CultureSpecificStringDictionary.cs
- SafeProcessHandle.cs
- OptimalBreakSession.cs
- SqlNode.cs
- SiteMapNodeItemEventArgs.cs
- ErasingStroke.cs
- DateBoldEvent.cs
- ClientCredentialsElement.cs
- ConfigurationStrings.cs
- CodeTypeParameterCollection.cs
- X509PeerCertificateAuthentication.cs
- SecurityUtils.cs
- FixedDocumentSequencePaginator.cs
- FieldToken.cs
- BitmapEffectInput.cs
- SerializerProvider.cs
- StringSource.cs
- followingsibling.cs