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
- ComplexTypeEmitter.cs
- BindingsSection.cs
- InkCanvasSelection.cs
- BasicViewGenerator.cs
- ServiceHostFactory.cs
- LoaderAllocator.cs
- CodeExporter.cs
- CommandCollectionEditor.cs
- SmtpClient.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- ObjectPersistData.cs
- Style.cs
- TextBoxLine.cs
- CaseInsensitiveHashCodeProvider.cs
- EpmCustomContentWriterNodeData.cs
- UIElementHelper.cs
- X509Extension.cs
- DragStartedEventArgs.cs
- MatrixTransform3D.cs
- ContextProperty.cs
- StrokeDescriptor.cs
- HMACSHA1.cs
- ConfigPathUtility.cs
- RowBinding.cs
- ReachDocumentReferenceCollectionSerializer.cs
- SqlDataSourceCommandEventArgs.cs
- GreenMethods.cs
- FixedSOMPageConstructor.cs
- KeyValueConfigurationElement.cs
- List.cs
- OleServicesContext.cs
- Tuple.cs
- ViewBox.cs
- IgnoreDataMemberAttribute.cs
- ByteStreamMessageEncodingElement.cs
- ConstraintEnumerator.cs
- KnownAssembliesSet.cs
- StreamingContext.cs
- DataKey.cs
- DbConnectionPoolCounters.cs
- FileDataSourceCache.cs
- Int16Animation.cs
- NameObjectCollectionBase.cs
- ErrorCodes.cs
- HelpProvider.cs
- SchemaObjectWriter.cs
- TreeViewHitTestInfo.cs
- PinnedBufferMemoryStream.cs
- OutputCacheSettingsSection.cs
- LayoutTableCell.cs
- AspCompat.cs
- ProtocolImporter.cs
- XmlDictionary.cs
- XmlTextAttribute.cs
- Typography.cs
- mediaeventargs.cs
- Transform3D.cs
- EmbeddedObject.cs
- OledbConnectionStringbuilder.cs
- PeerService.cs
- ServicePointManager.cs
- Vector3DConverter.cs
- NameNode.cs
- SerialPinChanges.cs
- NullReferenceException.cs
- XamlReader.cs
- ParagraphResult.cs
- RuntimeWrappedException.cs
- ResourcePool.cs
- FormatterServices.cs
- RedistVersionInfo.cs
- DataFormat.cs
- ProxyAttribute.cs
- SmiEventSink_Default.cs
- ReliabilityContractAttribute.cs
- FormView.cs
- DataGridViewLayoutData.cs
- dataprotectionpermissionattribute.cs
- BypassElementCollection.cs
- _LocalDataStoreMgr.cs
- CannotUnloadAppDomainException.cs
- ExpandableObjectConverter.cs
- RemoteHelper.cs
- SkipQueryOptionExpression.cs
- DocumentPropertiesDialog.cs
- ActiveXHelper.cs
- XappLauncher.cs
- ByteStreamGeometryContext.cs
- ThreadTrace.cs
- RtfControls.cs
- SettingsProperty.cs
- OrthographicCamera.cs
- RectValueSerializer.cs
- ProfileService.cs
- MailAddress.cs
- HttpRuntimeSection.cs
- CodeTypeDelegate.cs
- Compilation.cs
- XmlSerializer.cs
- Registry.cs