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
- IndexedString.cs
- SwitchAttribute.cs
- GroupQuery.cs
- StylusPointPropertyInfo.cs
- CommandLibraryHelper.cs
- RawAppCommandInputReport.cs
- ThicknessKeyFrameCollection.cs
- NavigatingCancelEventArgs.cs
- TabItem.cs
- PageBuildProvider.cs
- X509UI.cs
- TripleDESCryptoServiceProvider.cs
- XslNumber.cs
- WebPartChrome.cs
- FilterQuery.cs
- Focus.cs
- HttpModuleAction.cs
- DataServiceContext.cs
- ScrollBarRenderer.cs
- CachedCompositeFamily.cs
- Token.cs
- HtmlForm.cs
- SvcMapFile.cs
- documentsequencetextpointer.cs
- XmlParser.cs
- TagNameToTypeMapper.cs
- ControlsConfig.cs
- ListViewUpdatedEventArgs.cs
- ComponentConverter.cs
- MatrixAnimationUsingKeyFrames.cs
- FaultPropagationRecord.cs
- ProxyWebPartConnectionCollection.cs
- CategoryNameCollection.cs
- RichTextBox.cs
- Int64AnimationUsingKeyFrames.cs
- HwndHost.cs
- IconBitmapDecoder.cs
- PixelFormat.cs
- ProtectedConfiguration.cs
- CSharpCodeProvider.cs
- MetadataResolver.cs
- DnsElement.cs
- SecurityDocument.cs
- RelationalExpressions.cs
- GridViewColumn.cs
- XmlEntityReference.cs
- AssemblyName.cs
- DBCommandBuilder.cs
- ContainerTracking.cs
- CodeAttributeDeclarationCollection.cs
- Pointer.cs
- xmlNames.cs
- WebExceptionStatus.cs
- DataMember.cs
- Substitution.cs
- JsonByteArrayDataContract.cs
- BinaryWriter.cs
- ObjectDisposedException.cs
- DataGridViewEditingControlShowingEventArgs.cs
- MobileSysDescriptionAttribute.cs
- RegistrationServices.cs
- TextStore.cs
- storepermission.cs
- VoiceChangeEventArgs.cs
- OdbcConnection.cs
- DynamicResourceExtensionConverter.cs
- login.cs
- ThreadStaticAttribute.cs
- QueryStatement.cs
- WebZone.cs
- SQLDouble.cs
- AnonymousIdentificationModule.cs
- NativeCompoundFileAPIs.cs
- CodeActivity.cs
- StaticContext.cs
- BaseParagraph.cs
- MissingSatelliteAssemblyException.cs
- PeerNeighborManager.cs
- SafeCryptHandles.cs
- IgnoreFlushAndCloseStream.cs
- PlanCompiler.cs
- QueryFunctions.cs
- SiteMapProvider.cs
- HealthMonitoringSectionHelper.cs
- BitConverter.cs
- ProxyHwnd.cs
- DataServiceQueryException.cs
- FamilyMapCollection.cs
- __ConsoleStream.cs
- Int32AnimationBase.cs
- BaseTemplateParser.cs
- MdiWindowListItemConverter.cs
- RegistrationContext.cs
- HwndStylusInputProvider.cs
- CultureInfoConverter.cs
- mediapermission.cs
- FileRecordSequenceHelper.cs
- mediapermission.cs
- UInt64.cs
- FloaterParagraph.cs