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
- NullableLongMinMaxAggregationOperator.cs
- DataKeyCollection.cs
- CursorConverter.cs
- AllMembershipCondition.cs
- DrawTreeNodeEventArgs.cs
- XmlUtilWriter.cs
- BatchParser.cs
- Line.cs
- DesignTimeVisibleAttribute.cs
- Odbc32.cs
- XmlChildEnumerator.cs
- Visitors.cs
- UnmanagedHandle.cs
- ListenerElementsCollection.cs
- CharEntityEncoderFallback.cs
- XmlChildEnumerator.cs
- TreeBuilderXamlTranslator.cs
- FunctionNode.cs
- TemplateBuilder.cs
- WbmpConverter.cs
- HandlerFactoryWrapper.cs
- Matrix3DValueSerializer.cs
- LoginAutoFormat.cs
- Utils.cs
- DataErrorValidationRule.cs
- ModuleElement.cs
- XmlILAnnotation.cs
- XslVisitor.cs
- RenderData.cs
- SecurityTraceRecordHelper.cs
- HMACSHA256.cs
- Label.cs
- CellIdBoolean.cs
- FacetValueContainer.cs
- localization.cs
- CalendarDay.cs
- MainMenu.cs
- MetadataItemEmitter.cs
- Crc32Helper.cs
- ListBindableAttribute.cs
- CurrentChangingEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- ControlCodeDomSerializer.cs
- UnsafeNativeMethods.cs
- _SpnDictionary.cs
- Nullable.cs
- HtmlTableRow.cs
- SettingsBase.cs
- DictationGrammar.cs
- ToolStripDropTargetManager.cs
- ProbeMatchesApril2005.cs
- ProviderMetadata.cs
- ResourceReferenceExpression.cs
- RijndaelManagedTransform.cs
- PositiveTimeSpanValidator.cs
- ConnectionsZoneAutoFormat.cs
- ModelPropertyImpl.cs
- DriveInfo.cs
- ToolboxCategoryItems.cs
- ClientConfigurationHost.cs
- Cursor.cs
- InstanceData.cs
- HtmlTitle.cs
- SystemResourceKey.cs
- ResourceProviderFactory.cs
- GridViewColumnCollectionChangedEventArgs.cs
- X509ThumbprintKeyIdentifierClause.cs
- EmptyQuery.cs
- WarningException.cs
- XmlDocument.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- XmlAtomicValue.cs
- RestrictedTransactionalPackage.cs
- CollectionDataContractAttribute.cs
- EncoderExceptionFallback.cs
- SoapInteropTypes.cs
- StrongName.cs
- TaskFormBase.cs
- MemberRelationshipService.cs
- Binding.cs
- CompilerWrapper.cs
- LocalizeDesigner.cs
- MasterPage.cs
- Property.cs
- SoapAttributeOverrides.cs
- WebProxyScriptElement.cs
- XamlPoint3DCollectionSerializer.cs
- CancellationToken.cs
- EventSetter.cs
- BooleanFunctions.cs
- CallId.cs
- XmlIterators.cs
- ToolStripMenuItemDesigner.cs
- ConstructorArgumentAttribute.cs
- BuildProvider.cs
- CorrelationValidator.cs
- UserCancellationException.cs
- Table.cs
- SQLBoolean.cs
- FrameworkElement.cs