Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Compiler / TypeSystem / AttributeInfo.cs / 1305376 / AttributeInfo.cs
namespace System.Workflow.ComponentModel.Compiler
{
using System;
using System.CodeDom;
using System.Collections;
using System.Globalization;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Collections.ObjectModel;
///
/// Summary description for AttributeInfo.
///
[CLSCompliant(false)]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true)]
public sealed class AttributeInfoAttribute : Attribute
{
private AttributeInfo attributeInfo;
internal AttributeInfoAttribute(AttributeInfo attributeInfo)
{
if (attributeInfo == null)
throw new ArgumentNullException("attributeInfo");
this.attributeInfo = attributeInfo;
}
internal static AttributeInfoAttribute CreateAttributeInfoAttribute(Type attributeType, string[] argumentNames, object[] argumentValues)
{
return new AttributeInfoAttribute(new AttributeInfo(attributeType, argumentNames, argumentValues));
}
public AttributeInfo AttributeInfo
{
get
{
return this.attributeInfo;
}
}
}
public sealed class AttributeInfo
{
#region Members and Constructors
private Type attributeType;
private string[] argumentNames;
private object[] argumentValues;
internal AttributeInfo(Type attributeType, string[] argumentNames, object[] argumentValues)
{
this.attributeType = attributeType;
this.argumentNames = (string[])argumentNames.Clone();
this.argumentValues = (object[])argumentValues.Clone();
}
#endregion
#region Properties
public Type AttributeType
{
get
{
return attributeType;
}
}
public ReadOnlyCollection
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClaimTypeRequirement.cs
- SimpleExpression.cs
- OutputScope.cs
- DataGridColumnCollectionEditor.cs
- UTF8Encoding.cs
- TickBar.cs
- TypeInitializationException.cs
- IndexObject.cs
- ChangeNode.cs
- TypeValidationEventArgs.cs
- XamlReaderConstants.cs
- OpenTypeLayoutCache.cs
- EventListener.cs
- WebBrowserNavigatingEventHandler.cs
- EnumMember.cs
- StandardRuntimeEnumValidator.cs
- HttpPostedFileWrapper.cs
- Expressions.cs
- EmptyStringExpandableObjectConverter.cs
- SspiSafeHandles.cs
- CodeTypeOfExpression.cs
- DurationConverter.cs
- AuthenticationServiceManager.cs
- OdbcRowUpdatingEvent.cs
- QueueProcessor.cs
- InternalRelationshipCollection.cs
- TdsParameterSetter.cs
- EncodingNLS.cs
- XmlWrappingReader.cs
- MediaContext.cs
- MulticastNotSupportedException.cs
- mediapermission.cs
- StrongNameIdentityPermission.cs
- ServiceBehaviorAttribute.cs
- _NestedSingleAsyncResult.cs
- HttpHandlersSection.cs
- XmlWriterTraceListener.cs
- SqlStream.cs
- ContextMenu.cs
- StringDictionaryWithComparer.cs
- PropertyOverridesTypeEditor.cs
- TextHintingModeValidation.cs
- CodeTryCatchFinallyStatement.cs
- MapPathBasedVirtualPathProvider.cs
- SqlBooleanizer.cs
- Sql8ConformanceChecker.cs
- BezierSegment.cs
- SourceFileBuildProvider.cs
- ValidationPropertyAttribute.cs
- TableLayoutRowStyleCollection.cs
- PtsPage.cs
- LineInfo.cs
- StylusButtonEventArgs.cs
- ControlEvent.cs
- PropertyTabAttribute.cs
- TextRangeEditLists.cs
- DataGrid.cs
- XmlSchemaCompilationSettings.cs
- DbDataReader.cs
- ContextStaticAttribute.cs
- DataControlFieldCell.cs
- Atom10ItemFormatter.cs
- HelpEvent.cs
- MailWebEventProvider.cs
- login.cs
- CollectionView.cs
- DbParameterCollection.cs
- GetPageNumberCompletedEventArgs.cs
- TemplatePropertyEntry.cs
- VisualBrush.cs
- IteratorFilter.cs
- Line.cs
- WpfPayload.cs
- QueryCursorEventArgs.cs
- WindowsScroll.cs
- FrameworkPropertyMetadata.cs
- IgnoreSection.cs
- COAUTHINFO.cs
- ColumnWidthChangingEvent.cs
- RepeaterItemEventArgs.cs
- CompositeDataBoundControl.cs
- StrokeCollection.cs
- ReturnEventArgs.cs
- GenericEnumerator.cs
- XmlSchemaNotation.cs
- DataGridViewRowConverter.cs
- StateItem.cs
- PropertyTabChangedEvent.cs
- DataTableReader.cs
- DragDeltaEventArgs.cs
- ImageClickEventArgs.cs
- CrossAppDomainChannel.cs
- XamlFigureLengthSerializer.cs
- HtmlInputRadioButton.cs
- DesignerWebPartChrome.cs
- Command.cs
- Int32Collection.cs
- DesignTimeTemplateParser.cs
- X509UI.cs
- BrowserTree.cs