Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1 / CodeAttributeArgument.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeAttributeArgument { private string name; private CodeExpression value; ////// Represents an argument for use in a custom attribute declaration. /// ////// public CodeAttributeArgument() { } ////// Initializes a new instance of ///. /// /// public CodeAttributeArgument(CodeExpression value) { Value = value; } ////// Initializes a new instance of ///using the specified value. /// /// public CodeAttributeArgument(string name, CodeExpression value) { Name = name; Value = value; } ////// Initializes a new instance of ///using the specified name and /// value. /// /// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// The name of the attribute. /// ////// public CodeExpression Value { get { return value; } set { this.value = value; } } } }/// The argument for the attribute. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlUtils.cs
- TypeGenericEnumerableViewSchema.cs
- __ConsoleStream.cs
- DrawingContextDrawingContextWalker.cs
- TransformerTypeCollection.cs
- CrossAppDomainChannel.cs
- XmlCharType.cs
- EditorPart.cs
- MultipleViewProviderWrapper.cs
- TaskHelper.cs
- XPathNode.cs
- StandardCommands.cs
- ProbeMatchesMessageCD1.cs
- DropShadowEffect.cs
- JoinCqlBlock.cs
- SoapExtension.cs
- Errors.cs
- EmptyEnumerable.cs
- GridItem.cs
- CompilerCollection.cs
- PropertyChangingEventArgs.cs
- BaseTemplatedMobileComponentEditor.cs
- AstNode.cs
- DocumentCollection.cs
- FileDialogCustomPlacesCollection.cs
- WriterOutput.cs
- ChannelServices.cs
- SmtpAuthenticationManager.cs
- GridToolTip.cs
- AutomationPatternInfo.cs
- HtmlTextViewAdapter.cs
- BinaryMethodMessage.cs
- EmissiveMaterial.cs
- SynchronizedDispatch.cs
- DiscoveryMessageSequence.cs
- HistoryEventArgs.cs
- DataControlFieldHeaderCell.cs
- NonSerializedAttribute.cs
- MenuItemBinding.cs
- TaiwanLunisolarCalendar.cs
- Overlapped.cs
- AnchorEditor.cs
- SlotInfo.cs
- InkPresenter.cs
- DataGridState.cs
- ProgressBar.cs
- RuntimeHelpers.cs
- BlobPersonalizationState.cs
- SoundPlayer.cs
- FormsAuthenticationEventArgs.cs
- SafeNativeMethods.cs
- StringToken.cs
- SoapCommonClasses.cs
- MetafileHeaderEmf.cs
- EnumerableValidator.cs
- EncoderParameter.cs
- DesignerEditorPartChrome.cs
- HandlerBase.cs
- DefaultObjectMappingItemCollection.cs
- JsonDeserializer.cs
- JsonByteArrayDataContract.cs
- ViewCellRelation.cs
- GridViewRow.cs
- BufferedWebEventProvider.cs
- ListItemParagraph.cs
- ButtonColumn.cs
- CompilerCollection.cs
- NavigateEvent.cs
- NativeObjectSecurity.cs
- XdrBuilder.cs
- UserControlDesigner.cs
- StreamUpdate.cs
- CodeSubDirectoriesCollection.cs
- AuthenticationManager.cs
- InvokeHandlers.cs
- CapabilitiesPattern.cs
- ReplyChannel.cs
- OdbcFactory.cs
- XPathNavigatorKeyComparer.cs
- StringSorter.cs
- HtmlTableCellCollection.cs
- CheckBoxStandardAdapter.cs
- CheckBox.cs
- RuntimeEnvironment.cs
- DeferredReference.cs
- QuotedPrintableStream.cs
- Parameter.cs
- HostVisual.cs
- GridItem.cs
- SqlBooleanMismatchVisitor.cs
- PixelShader.cs
- EventHandlersStore.cs
- KoreanCalendar.cs
- QilInvokeLateBound.cs
- NumberFormatInfo.cs
- COM2IPerPropertyBrowsingHandler.cs
- RegexCompiler.cs
- entityreference_tresulttype.cs
- figurelengthconverter.cs
- PolicyUnit.cs