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
- ChameleonKey.cs
- DocumentCollection.cs
- _SslState.cs
- SafeNativeMethods.cs
- TypeConverter.cs
- DbExpressionBuilder.cs
- CorePropertiesFilter.cs
- LogicalExpressionEditor.cs
- PlatformCulture.cs
- SystemIcons.cs
- RowCache.cs
- TreeNodeConverter.cs
- ServiceDescription.cs
- CompiledELinqQueryState.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- StoreContentChangedEventArgs.cs
- EndpointReference.cs
- AVElementHelper.cs
- AnnotationComponentChooser.cs
- FamilyCollection.cs
- RichTextBoxConstants.cs
- SystemResources.cs
- SecurityHeaderElementInferenceEngine.cs
- DataSourceExpressionCollection.cs
- RtfControlWordInfo.cs
- Focus.cs
- Geometry3D.cs
- ViewLoader.cs
- WebWorkflowRole.cs
- TableHeaderCell.cs
- DesignerLabelAdapter.cs
- AutomationPropertyInfo.cs
- GeometryCollection.cs
- WebResourceAttribute.cs
- OrderablePartitioner.cs
- ShaperBuffers.cs
- PropertyValidationContext.cs
- UInt32.cs
- MailMessage.cs
- StaticDataManager.cs
- BaseInfoTable.cs
- XmlWriterTraceListener.cs
- SetterBaseCollection.cs
- BinHexDecoder.cs
- RecognizedWordUnit.cs
- ConfigurationManagerInternal.cs
- ExtenderControl.cs
- DocumentXmlWriter.cs
- ServiceOperationInvoker.cs
- RepeatButtonAutomationPeer.cs
- PageThemeBuildProvider.cs
- SectionRecord.cs
- SqlUtil.cs
- CopyEncoder.cs
- SqlParameterCollection.cs
- dbdatarecord.cs
- OptionUsage.cs
- HiddenFieldPageStatePersister.cs
- BitmapEffectInput.cs
- DependencyPropertyKind.cs
- TextEditorSpelling.cs
- NavigationProperty.cs
- Serializer.cs
- ContainerActivationHelper.cs
- Point4DConverter.cs
- EndpointBehaviorElementCollection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- Vector3dCollection.cs
- Part.cs
- UnsafeNativeMethods.cs
- VisualStyleRenderer.cs
- PackageDigitalSignatureManager.cs
- Polyline.cs
- EventToken.cs
- XmlSchemaAttribute.cs
- ServiceMetadataExtension.cs
- ClientProxyGenerator.cs
- WebHeaderCollection.cs
- EntityDataSourceView.cs
- CoreSwitches.cs
- FormatSettings.cs
- OperationResponse.cs
- MyContact.cs
- DocumentPropertiesDialog.cs
- X509Certificate.cs
- UInt32Storage.cs
- XmlHierarchicalEnumerable.cs
- PixelFormatConverter.cs
- grammarelement.cs
- Expression.cs
- WindowsFont.cs
- CustomAttributeSerializer.cs
- Point4D.cs
- LastQueryOperator.cs
- ContentElementCollection.cs
- RawAppCommandInputReport.cs
- VectorConverter.cs
- BindingContext.cs
- PropertyInfoSet.cs
- StateMachine.cs