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
- PinnedBufferMemoryStream.cs
- Tool.cs
- WsdlImporterElementCollection.cs
- SkewTransform.cs
- OutputScopeManager.cs
- Column.cs
- CaretElement.cs
- CustomTrackingRecord.cs
- AndCondition.cs
- DataObject.cs
- CodeBlockBuilder.cs
- ProtocolsConfigurationEntry.cs
- EntityCommand.cs
- CodePageEncoding.cs
- IsolationInterop.cs
- RadioButton.cs
- log.cs
- EntityKey.cs
- LockedActivityGlyph.cs
- FileCodeGroup.cs
- TextProperties.cs
- TaiwanCalendar.cs
- ResXBuildProvider.cs
- JsonStringDataContract.cs
- AdvancedBindingPropertyDescriptor.cs
- Vector3DValueSerializer.cs
- Ops.cs
- DesignerWithHeader.cs
- glyphs.cs
- EntityAdapter.cs
- Configuration.cs
- CombinedHttpChannel.cs
- ColumnHeaderConverter.cs
- LayoutSettings.cs
- NCryptSafeHandles.cs
- NoPersistScope.cs
- FocusWithinProperty.cs
- SafeNativeMethods.cs
- Rights.cs
- updatecommandorderer.cs
- CodeSnippetCompileUnit.cs
- CompilerTypeWithParams.cs
- ProviderCommandInfoUtils.cs
- NativeWindow.cs
- ItemsPresenter.cs
- WrapPanel.cs
- CodeArgumentReferenceExpression.cs
- BaseTemplateBuildProvider.cs
- __FastResourceComparer.cs
- TextTrailingCharacterEllipsis.cs
- OleAutBinder.cs
- DataContract.cs
- DataSvcMapFile.cs
- ConstraintConverter.cs
- XComponentModel.cs
- WebScriptMetadataMessage.cs
- QueryOutputWriter.cs
- XmlDomTextWriter.cs
- ActivationServices.cs
- DateTimeConverter.cs
- CredentialCache.cs
- Menu.cs
- CompositeDataBoundControl.cs
- updateconfighost.cs
- ValidationHelper.cs
- TextPointer.cs
- MSAANativeProvider.cs
- BuildProviderInstallComponent.cs
- QilDataSource.cs
- DecimalConverter.cs
- GridViewDeleteEventArgs.cs
- QilPatternFactory.cs
- LocalTransaction.cs
- PropertyInfoSet.cs
- QueryTaskGroupState.cs
- DocumentViewerConstants.cs
- BitStack.cs
- ThaiBuddhistCalendar.cs
- TextDecorationUnitValidation.cs
- MsmqIntegrationProcessProtocolHandler.cs
- NameValueSectionHandler.cs
- GetPageCompletedEventArgs.cs
- MenuBase.cs
- EmptyStringExpandableObjectConverter.cs
- PolicyException.cs
- MediaCommands.cs
- PageHandlerFactory.cs
- MouseGestureValueSerializer.cs
- CoreSwitches.cs
- ConstantCheck.cs
- AttributeSetAction.cs
- SerializerWriterEventHandlers.cs
- TextProviderWrapper.cs
- ConfigXmlDocument.cs
- XmlnsCache.cs
- XmlComplianceUtil.cs
- NativeMethods.cs
- TraceProvider.cs
- Policy.cs
- BuildManager.cs