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
- ISAPIApplicationHost.cs
- AnchorEditor.cs
- WorkflowElementDialogWindow.xaml.cs
- XmlAttributeOverrides.cs
- TreeWalkHelper.cs
- XamlVector3DCollectionSerializer.cs
- PackUriHelper.cs
- Simplifier.cs
- AnonymousIdentificationModule.cs
- StorageAssociationTypeMapping.cs
- ParameterCollectionEditor.cs
- OneOf.cs
- CatalogPart.cs
- VisualBrush.cs
- CodeObjectCreateExpression.cs
- IntSecurity.cs
- itemelement.cs
- ApplicationActivator.cs
- HtmlImage.cs
- ClientFormsAuthenticationCredentials.cs
- LinkLabelLinkClickedEvent.cs
- WebCodeGenerator.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- BooleanFacetDescriptionElement.cs
- SqlTransaction.cs
- WebPartExportVerb.cs
- Thread.cs
- WebPartEditorCancelVerb.cs
- Exceptions.cs
- DefaultAssemblyResolver.cs
- ServiceNotStartedException.cs
- SoapAttributeAttribute.cs
- SoapReflectionImporter.cs
- AnnotationDocumentPaginator.cs
- LinearQuaternionKeyFrame.cs
- Setter.cs
- ReferenceEqualityComparer.cs
- PropertyRecord.cs
- MetadataAssemblyHelper.cs
- UnsafeNativeMethodsTablet.cs
- OdbcUtils.cs
- SoapTypeAttribute.cs
- DropSourceBehavior.cs
- ClientSponsor.cs
- SecureEnvironment.cs
- UInt16Converter.cs
- DesignerActionHeaderItem.cs
- TCPListener.cs
- Window.cs
- SortableBindingList.cs
- ProcessHostConfigUtils.cs
- AppDomainCompilerProxy.cs
- DataGridView.cs
- Char.cs
- DbConnectionPoolGroupProviderInfo.cs
- PiiTraceSource.cs
- _ContextAwareResult.cs
- DependencyObjectPropertyDescriptor.cs
- DrawingContextWalker.cs
- SortDescriptionCollection.cs
- ParseElementCollection.cs
- MatrixConverter.cs
- XamlInt32CollectionSerializer.cs
- PnrpPermission.cs
- Validator.cs
- XsdBuildProvider.cs
- Pair.cs
- GridViewColumn.cs
- X509CertificateValidator.cs
- NumberFormatInfo.cs
- BevelBitmapEffect.cs
- CodeDelegateInvokeExpression.cs
- RequestCacheValidator.cs
- TableParaClient.cs
- ParagraphResult.cs
- NameObjectCollectionBase.cs
- RelationshipType.cs
- RotateTransform3D.cs
- QuaternionAnimation.cs
- ButtonChrome.cs
- BrushMappingModeValidation.cs
- BrowsableAttribute.cs
- GroupBoxRenderer.cs
- RequestCachePolicy.cs
- DataList.cs
- CodeArrayIndexerExpression.cs
- SettingsPropertyIsReadOnlyException.cs
- MethodExpr.cs
- DBSqlParserTable.cs
- TargetControlTypeCache.cs
- WindowHideOrCloseTracker.cs
- BaseCollection.cs
- SecurityHelper.cs
- CodeComment.cs
- remotingproxy.cs
- ExitEventArgs.cs
- KeySplineConverter.cs
- Stylus.cs
- WCFModelStrings.Designer.cs
- WrappedIUnknown.cs