Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / Statements / PickBranch.cs / 1305376 / PickBranch.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.Statements { using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.Collections; using System.Windows.Markup; [ContentProperty("Action")] public sealed class PickBranch { Collectionvariables; string displayName; public PickBranch() { displayName = "PickBranch"; } public Collection Variables { get { if (this.variables == null) { this.variables = new ValidatingCollection { // disallow null values OnAddValidationCallback = item => { if (item == null) { throw FxTrace.Exception.ArgumentNull("item"); } } }; } return this.variables; } } [DefaultValue(null)] [DependsOn("Variables")] public Activity Trigger { get; set; } [DefaultValue(null)] [DependsOn("Trigger")] public Activity Action { get; set; } // [DefaultValue("PickBranch")] public string DisplayName { get { return this.displayName; } set { this.displayName = value; } } } } // 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
- StreamResourceInfo.cs
- ExtensionFile.cs
- DataGridViewComboBoxColumnDesigner.cs
- KnownColorTable.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlResolver.cs
- Invariant.cs
- util.cs
- UnsafeNetInfoNativeMethods.cs
- HttpListenerResponse.cs
- SafeSecurityHandles.cs
- XsdValidatingReader.cs
- ReplacementText.cs
- ScalarType.cs
- _BufferOffsetSize.cs
- EpmSourcePathSegment.cs
- ListItemsPage.cs
- WebResponse.cs
- FormViewInsertedEventArgs.cs
- ContentElementAutomationPeer.cs
- ScriptResourceInfo.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- RuntimeConfig.cs
- GridLength.cs
- PkcsMisc.cs
- EraserBehavior.cs
- CompiledIdentityConstraint.cs
- ItemCollection.cs
- MessageTraceRecord.cs
- FacetDescriptionElement.cs
- FunctionQuery.cs
- JsonQNameDataContract.cs
- KeyFrames.cs
- OleDbInfoMessageEvent.cs
- StringConverter.cs
- ScriptManager.cs
- MSAAEventDispatcher.cs
- ComponentChangingEvent.cs
- sqlnorm.cs
- XmlHierarchicalEnumerable.cs
- storagemappingitemcollection.viewdictionary.cs
- ReferenceTypeElement.cs
- BaseResourcesBuildProvider.cs
- ListDictionaryInternal.cs
- HostedHttpRequestAsyncResult.cs
- CodeCatchClauseCollection.cs
- CodeTypeReferenceCollection.cs
- ChangeTracker.cs
- HostUtils.cs
- DataServiceCollectionOfT.cs
- CodeTypeDeclarationCollection.cs
- TickBar.cs
- Dynamic.cs
- ComplexPropertyEntry.cs
- ClosableStream.cs
- CompositeFontInfo.cs
- GenericRootAutomationPeer.cs
- CodeDomSerializerBase.cs
- XmlHierarchicalEnumerable.cs
- TextMarkerSource.cs
- EntityReference.cs
- MappingSource.cs
- RefreshPropertiesAttribute.cs
- Part.cs
- DrawingBrush.cs
- UnionCodeGroup.cs
- SQLStringStorage.cs
- EraserBehavior.cs
- TextSegment.cs
- VisualStyleTypesAndProperties.cs
- NumericUpDown.cs
- ResourceCategoryAttribute.cs
- LocationFactory.cs
- SqlDataSourceEnumerator.cs
- HtmlEncodedRawTextWriter.cs
- FaultDesigner.cs
- BuildProviderCollection.cs
- Utility.cs
- MachineKey.cs
- PathFigureCollectionConverter.cs
- DeploymentSection.cs
- ItemsControl.cs
- BitmapMetadataBlob.cs
- MapPathBasedVirtualPathProvider.cs
- HttpRequestWrapper.cs
- QilPatternFactory.cs
- ListDataBindEventArgs.cs
- MediaSystem.cs
- PrtCap_Builder.cs
- XmlSchemaGroupRef.cs
- XPathAncestorQuery.cs
- IntegerFacetDescriptionElement.cs
- XmlTypeAttribute.cs
- SpecialFolderEnumConverter.cs
- TypeDependencyAttribute.cs
- RolePrincipal.cs
- MexTcpBindingElement.cs
- SystemMulticastIPAddressInformation.cs
- CollectionViewGroupRoot.cs
- RootNamespaceAttribute.cs