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
- DependencyPropertyHelper.cs
- ListenerBinder.cs
- ToolboxItemAttribute.cs
- FilteredAttributeCollection.cs
- WrappingXamlSchemaContext.cs
- BamlVersionHeader.cs
- SubMenuStyleCollection.cs
- CommandPlan.cs
- RuntimeConfigLKG.cs
- DictionaryBase.cs
- WindowClosedEventArgs.cs
- PartitionerStatic.cs
- SecurityPermission.cs
- EventProxy.cs
- MbpInfo.cs
- Lease.cs
- HwndAppCommandInputProvider.cs
- HuffModule.cs
- WebResourceUtil.cs
- XPathAxisIterator.cs
- CalendarDay.cs
- OutputCacheProfileCollection.cs
- InternalConfigSettingsFactory.cs
- AssemblyGen.cs
- _SslStream.cs
- Win32.cs
- ImmutableObjectAttribute.cs
- ExcludePathInfo.cs
- ReferentialConstraint.cs
- Point3DCollectionValueSerializer.cs
- ProcessThreadDesigner.cs
- ModelUIElement3D.cs
- _ProxyRegBlob.cs
- SimpleLine.cs
- StackOverflowException.cs
- CheckableControlBaseAdapter.cs
- ButtonColumn.cs
- IISMapPath.cs
- DynamicDataResources.Designer.cs
- HtmlInputCheckBox.cs
- DataFormat.cs
- ErrorFormatterPage.cs
- CompositeDispatchFormatter.cs
- Wildcard.cs
- MatrixKeyFrameCollection.cs
- WebPartConnectVerb.cs
- EntityCommandDefinition.cs
- SafeNativeMethods.cs
- TypeConverterValueSerializer.cs
- StringConverter.cs
- PtsHelper.cs
- TypeGeneratedEventArgs.cs
- EnumerableRowCollectionExtensions.cs
- CLSCompliantAttribute.cs
- EnglishPluralizationService.cs
- ValidationRuleCollection.cs
- QilInvokeLateBound.cs
- TreeNode.cs
- RoutedUICommand.cs
- TreeNode.cs
- GradientBrush.cs
- DispatcherHooks.cs
- ListViewContainer.cs
- AdvancedBindingPropertyDescriptor.cs
- Operand.cs
- SystemException.cs
- BasicExpressionVisitor.cs
- UrlAuthFailureHandler.cs
- WebRequest.cs
- GuidConverter.cs
- XmlSchemaAttributeGroupRef.cs
- ProcessHostMapPath.cs
- Pool.cs
- WindowsStatic.cs
- StatusBarDesigner.cs
- SafeWaitHandle.cs
- CompilerCollection.cs
- SqlProfileProvider.cs
- NumericExpr.cs
- TextRange.cs
- TextRangeEditLists.cs
- PostBackTrigger.cs
- listitem.cs
- SelectionItemPattern.cs
- SimpleLine.cs
- XamlTreeBuilderBamlRecordWriter.cs
- RenderOptions.cs
- Typography.cs
- TaskExtensions.cs
- ArrayWithOffset.cs
- StoreItemCollection.Loader.cs
- webclient.cs
- SiteMapNodeItemEventArgs.cs
- MasterPageParser.cs
- RegexRunnerFactory.cs
- TreeViewHitTestInfo.cs
- BoolLiteral.cs
- DefaultValueTypeConverter.cs
- OleDbParameterCollection.cs
- Win32MouseDevice.cs