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
- HttpPostedFileWrapper.cs
- RuntimeConfigurationRecord.cs
- ObjectConverter.cs
- Config.cs
- ValidationSummaryDesigner.cs
- CorrelationService.cs
- DataBinding.cs
- PointAnimationClockResource.cs
- SchemaInfo.cs
- BuilderElements.cs
- SourceElementsCollection.cs
- pingexception.cs
- X509PeerCertificateElement.cs
- BindingsCollection.cs
- DisplayNameAttribute.cs
- _AutoWebProxyScriptEngine.cs
- TableAutomationPeer.cs
- XmlSchemaIdentityConstraint.cs
- MessageDescription.cs
- DrawingGroup.cs
- QueryResponse.cs
- ReflectTypeDescriptionProvider.cs
- NativeMethods.cs
- SchemeSettingElement.cs
- OptimalBreakSession.cs
- StrongNamePublicKeyBlob.cs
- DataFormats.cs
- UdpReplyToBehavior.cs
- VisualStyleTypesAndProperties.cs
- TextWriterTraceListener.cs
- DesigntimeLicenseContext.cs
- ScriptDescriptor.cs
- CompilerTypeWithParams.cs
- SpecularMaterial.cs
- Transactions.cs
- ToolStripArrowRenderEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- Base64Stream.cs
- SoapAttributeAttribute.cs
- XmlAttribute.cs
- GeneralTransform3DGroup.cs
- MetadataPropertyvalue.cs
- DeviceContexts.cs
- Deflater.cs
- SkinBuilder.cs
- OracleCommandBuilder.cs
- PreProcessInputEventArgs.cs
- XsltOutput.cs
- TextSelectionProcessor.cs
- XMLDiffLoader.cs
- WebServiceMethodData.cs
- XmlSchemaAnyAttribute.cs
- IdnMapping.cs
- MarkupCompilePass2.cs
- DataExpression.cs
- LoginUtil.cs
- URL.cs
- DropShadowBitmapEffect.cs
- WhereaboutsReader.cs
- SiteMap.cs
- IndexExpression.cs
- BitArray.cs
- BuilderInfo.cs
- Keyboard.cs
- TreeBuilderBamlTranslator.cs
- HtmlSelect.cs
- TextRenderer.cs
- ActiveXHost.cs
- RadioButtonStandardAdapter.cs
- RelationshipDetailsRow.cs
- IISUnsafeMethods.cs
- PointIndependentAnimationStorage.cs
- HTMLTextWriter.cs
- connectionpool.cs
- Stream.cs
- DbgUtil.cs
- PassportAuthenticationModule.cs
- Debugger.cs
- Facet.cs
- FontStretches.cs
- UInt32Converter.cs
- BuildManagerHost.cs
- TypeUtil.cs
- InputLangChangeRequestEvent.cs
- Console.cs
- ReadOnlyMetadataCollection.cs
- OleDbPropertySetGuid.cs
- PathStreamGeometryContext.cs
- WebContext.cs
- NullableBoolConverter.cs
- ConfigDefinitionUpdates.cs
- InitializerFacet.cs
- NativeMethods.cs
- PropertyEntry.cs
- RawAppCommandInputReport.cs
- ButtonRenderer.cs
- RenderOptions.cs
- FigureParaClient.cs
- CaseExpr.cs
- AsyncPostBackErrorEventArgs.cs