Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / DynamicActivityProperty.cs / 1305376 / DynamicActivityProperty.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities { using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Runtime; public class DynamicActivityProperty { Collectionattributes; public DynamicActivityProperty() { } public Collection Attributes { get { if (this.attributes == null) { this.attributes = new Collection (); } return this.attributes; } } [DefaultValue(null)] public string Name { get; set; } [DefaultValue(null)] [SuppressMessage(FxCop.Category.Naming, FxCop.Rule.PropertyNamesShouldNotMatchGetMethods, Justification = "Workflow normalizes on Type for Type properties")] public Type Type { get; set; } [DefaultValue(null)] public object Value { get; set; } public override string ToString() { if (Type != null && Name != null) { return "Property: " + Type.ToString() + " " + Name; } return string.Empty; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OptimalTextSource.cs
- FolderBrowserDialog.cs
- OdbcFactory.cs
- SurrogateSelector.cs
- ButtonField.cs
- UpDownEvent.cs
- UnicastIPAddressInformationCollection.cs
- Geometry3D.cs
- XmlArrayAttribute.cs
- ImageIndexEditor.cs
- WorkflowRuntimeService.cs
- HandlerBase.cs
- Timer.cs
- ChineseLunisolarCalendar.cs
- XmlWrappingReader.cs
- OrderedEnumerableRowCollection.cs
- RegisterResponseInfo.cs
- ScriptResourceHandler.cs
- Canvas.cs
- FlowDocumentScrollViewer.cs
- CodeExpressionCollection.cs
- DrawingCollection.cs
- GeometryDrawing.cs
- HTTPAPI_VERSION.cs
- ProxyWebPart.cs
- XmlSchemaCompilationSettings.cs
- InheritedPropertyChangedEventArgs.cs
- CachedFontFamily.cs
- HtmlEmptyTagControlBuilder.cs
- HtmlInputPassword.cs
- _BasicClient.cs
- OutputCacheProfile.cs
- KerberosRequestorSecurityToken.cs
- XmlSchemaSimpleTypeList.cs
- TextTreeExtractElementUndoUnit.cs
- Decimal.cs
- RectConverter.cs
- CacheModeValueSerializer.cs
- AnnouncementEndpointElement.cs
- MarshalDirectiveException.cs
- RoleGroupCollectionEditor.cs
- CodeDomLoader.cs
- Double.cs
- UserControl.cs
- ProgramPublisher.cs
- SnapshotChangeTrackingStrategy.cs
- QilStrConcat.cs
- KeyNotFoundException.cs
- SynchronizedInputHelper.cs
- KeyTimeConverter.cs
- DiscoveryEndpoint.cs
- _SSPIWrapper.cs
- ConditionalAttribute.cs
- HttpPostedFile.cs
- X509CertificateValidator.cs
- UICuesEvent.cs
- ConfigurationLocation.cs
- TextTreeText.cs
- HashMembershipCondition.cs
- DataGridCellItemAutomationPeer.cs
- DependencyPropertyDescriptor.cs
- _LocalDataStore.cs
- Route.cs
- DescendantOverDescendantQuery.cs
- MimeObjectFactory.cs
- XamlPointCollectionSerializer.cs
- ImageAnimator.cs
- CopyNamespacesAction.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- XmlAttribute.cs
- MimePart.cs
- LabelAutomationPeer.cs
- TextTreeInsertUndoUnit.cs
- ProcessStartInfo.cs
- BinaryConverter.cs
- Package.cs
- WebFormsRootDesigner.cs
- ValidationRuleCollection.cs
- ForwardPositionQuery.cs
- SettingsProperty.cs
- DesigntimeLicenseContextSerializer.cs
- Selector.cs
- XamlClipboardData.cs
- CapabilitiesPattern.cs
- XmlSchemaValidationException.cs
- WindowsFormsSynchronizationContext.cs
- IncrementalReadDecoders.cs
- WorkflowMarkupSerializerMapping.cs
- Constant.cs
- UnmanagedHandle.cs
- TriState.cs
- ScrollableControlDesigner.cs
- _HeaderInfoTable.cs
- EncryptedData.cs
- CommandLibraryHelper.cs
- ProcessModule.cs
- TextProperties.cs
- XmlCodeExporter.cs
- ConversionContext.cs
- UiaCoreProviderApi.cs