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
- PageEventArgs.cs
- Icon.cs
- ContextToken.cs
- Point3DKeyFrameCollection.cs
- SvcMapFileLoader.cs
- TextServicesHost.cs
- IfJoinedCondition.cs
- SqlTypesSchemaImporter.cs
- _SafeNetHandles.cs
- NativeMethods.cs
- Pair.cs
- Cursor.cs
- ToolStripRendererSwitcher.cs
- WebServiceMethodData.cs
- XsltFunctions.cs
- QuerySafeNavigator.cs
- ActivityContext.cs
- FlowDocumentView.cs
- SizeAnimationBase.cs
- QuerySettings.cs
- HostedTcpTransportManager.cs
- UncommonField.cs
- RenameRuleObjectDialog.Designer.cs
- RegexGroup.cs
- GestureRecognizer.cs
- DocumentEventArgs.cs
- ExtensionElementCollection.cs
- XamlPointCollectionSerializer.cs
- EventLogEntryCollection.cs
- Timeline.cs
- PenThreadWorker.cs
- TableAdapterManagerGenerator.cs
- XPathMultyIterator.cs
- SecurityProtocolCorrelationState.cs
- SecurityToken.cs
- DataDocumentXPathNavigator.cs
- AffineTransform3D.cs
- StreamGeometryContext.cs
- NavigationCommands.cs
- SqlDataRecord.cs
- SettingsProperty.cs
- ErrorWebPart.cs
- PrtTicket_Base.cs
- CodeValidator.cs
- RepeatBehaviorConverter.cs
- SettingsAttributes.cs
- FormatException.cs
- Mappings.cs
- SpotLight.cs
- MaskInputRejectedEventArgs.cs
- MdbDataFileEditor.cs
- WebEventCodes.cs
- ToolStripTextBox.cs
- ReferentialConstraint.cs
- AdjustableArrowCap.cs
- BaseCodeDomTreeGenerator.cs
- ClientSettingsSection.cs
- OpCodes.cs
- RegisteredScript.cs
- AutoResetEvent.cs
- DropShadowEffect.cs
- RSAProtectedConfigurationProvider.cs
- ConditionalAttribute.cs
- Assert.cs
- PropertyEntry.cs
- securitymgrsite.cs
- CalendarKeyboardHelper.cs
- CodeCastExpression.cs
- SyndicationSerializer.cs
- CompensatableTransactionScopeActivity.cs
- TransformGroup.cs
- XamlClipboardData.cs
- XmlSchemaNotation.cs
- PropertyPath.cs
- Model3D.cs
- EntityDataSourceEntitySetNameItem.cs
- Page.cs
- SparseMemoryStream.cs
- ForceCopyBuildProvider.cs
- EasingKeyFrames.cs
- DataPagerFieldItem.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- ExternalException.cs
- NeutralResourcesLanguageAttribute.cs
- FixedFlowMap.cs
- IntranetCredentialPolicy.cs
- XPathNodeList.cs
- ReferenceEqualityComparer.cs
- TdsParserSessionPool.cs
- OdbcEnvironmentHandle.cs
- CalendarDateRange.cs
- Application.cs
- MexNamedPipeBindingCollectionElement.cs
- RootContext.cs
- RuleAttributes.cs
- MsmqOutputChannel.cs
- NativeMethods.cs
- XPathException.cs
- Int32AnimationUsingKeyFrames.cs
- WebPartCloseVerb.cs