Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The argument for the attribute. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The argument for the attribute. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextEffectCollection.cs
- CheckPair.cs
- StrokeFIndices.cs
- Padding.cs
- SamlNameIdentifierClaimResource.cs
- XmlSchemaComplexType.cs
- ResourcePart.cs
- MessageDesigner.cs
- EventlogProvider.cs
- RequestQueue.cs
- UIPermission.cs
- AuthenticateEventArgs.cs
- PolyBezierSegment.cs
- FacetValueContainer.cs
- UserPersonalizationStateInfo.cs
- TextEffectResolver.cs
- ConvertersCollection.cs
- SystemResources.cs
- CacheChildrenQuery.cs
- Matrix3D.cs
- StateMachineWorkflowInstance.cs
- input.cs
- CodeTypeOfExpression.cs
- FixedPosition.cs
- UpDownBase.cs
- CountdownEvent.cs
- Query.cs
- CapabilitiesState.cs
- PriorityQueue.cs
- ParameterModifier.cs
- WasAdminWrapper.cs
- WmlLiteralTextAdapter.cs
- WorkflowExecutor.cs
- SaveWorkflowCommand.cs
- TraceLog.cs
- LeaseManager.cs
- LifetimeServices.cs
- Transform.cs
- SmiEventStream.cs
- SQLUtility.cs
- UIElementParaClient.cs
- GeneralTransform3DCollection.cs
- RuntimeEnvironment.cs
- WindowsRichEdit.cs
- EventData.cs
- FlowDocumentReader.cs
- SQLInt32.cs
- WebPartConnectionCollection.cs
- ObjectAnimationBase.cs
- UnsettableComboBox.cs
- AdornerHitTestResult.cs
- MetabaseServerConfig.cs
- PortCache.cs
- NonBatchDirectoryCompiler.cs
- _LocalDataStoreMgr.cs
- LockRecursionException.cs
- VirtualizedContainerService.cs
- GACIdentityPermission.cs
- input.cs
- RemotingServices.cs
- ConnectionsZone.cs
- ReaderWriterLock.cs
- Image.cs
- RegionInfo.cs
- Container.cs
- ApplicationGesture.cs
- UniqueIdentifierService.cs
- ReadOnlyHierarchicalDataSourceView.cs
- CodeGroup.cs
- SecurityManager.cs
- ResourceProviderFactory.cs
- Error.cs
- ViewValidator.cs
- BufferModesCollection.cs
- FilterableAttribute.cs
- FileUpload.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- SvcMapFile.cs
- WebPartZoneCollection.cs
- ScrollContentPresenter.cs
- InstanceNameConverter.cs
- QilChoice.cs
- MultipartIdentifier.cs
- ArgIterator.cs
- WindowsFormsHostPropertyMap.cs
- PackageFilter.cs
- EncryptedKeyIdentifierClause.cs
- TextContainer.cs
- OrderingQueryOperator.cs
- SurrogateSelector.cs
- HtmlShimManager.cs
- FormsAuthenticationTicket.cs
- ConditionCollection.cs
- MetricEntry.cs
- ExtendedPropertiesHandler.cs
- SelectedGridItemChangedEvent.cs
- Ipv6Element.cs
- GenericXmlSecurityToken.cs
- StylusPointDescription.cs
- AssemblyCache.cs