Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / Tracking / ActivityStateQuery.cs / 1305376 / ActivityStateQuery.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Activities.Tracking { using System.Collections.ObjectModel; public class ActivityStateQuery : TrackingQuery { Collectionarguments; Collection states; Collection variables; public ActivityStateQuery() { this.ActivityName = "*"; } public string ActivityName { get; set; } public Collection Arguments { get { if (this.arguments == null) { this.arguments = new Collection (); } return this.arguments; } } public Collection Variables { get { if (this.variables == null) { this.variables = new Collection (); } return this.variables; } } public Collection States { get { if (this.states == null) { this.states = new Collection (); } return this.states; } } internal bool HasStates { get { return this.states != null && this.states.Count > 0; } } internal bool HasArguments { get { return this.arguments != null && this.arguments.Count > 0; } } internal bool HasVariables { get { return this.variables != null && this.variables.Count > 0; } } } } // 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
- TypeUsage.cs
- ParameterToken.cs
- TransformDescriptor.cs
- TimeSpanStorage.cs
- LogStore.cs
- RsaSecurityKey.cs
- CommandTreeTypeHelper.cs
- SocketManager.cs
- BaseAsyncResult.cs
- ComponentConverter.cs
- AsymmetricCryptoHandle.cs
- CatalogPart.cs
- UIHelper.cs
- Single.cs
- XmlProcessingInstruction.cs
- FileAuthorizationModule.cs
- ServiceModelDictionary.cs
- ValueType.cs
- RSACryptoServiceProvider.cs
- ActivityTypeDesigner.xaml.cs
- AffineTransform3D.cs
- sqlmetadatafactory.cs
- EdmFunctionAttribute.cs
- PageCodeDomTreeGenerator.cs
- ExtendedProtectionPolicy.cs
- AttachedAnnotation.cs
- SequentialOutput.cs
- OpenCollectionAsyncResult.cs
- CollaborationHelperFunctions.cs
- InvalidOperationException.cs
- RSAOAEPKeyExchangeFormatter.cs
- Page.cs
- FileVersion.cs
- WebEventTraceProvider.cs
- DBPropSet.cs
- SystemFonts.cs
- SqlStatistics.cs
- ApplicationException.cs
- MessageDecoder.cs
- Vector3DConverter.cs
- hwndwrapper.cs
- XmlSchemaSimpleTypeRestriction.cs
- RequestBringIntoViewEventArgs.cs
- OleDbErrorCollection.cs
- Translator.cs
- TextAutomationPeer.cs
- ListBoxChrome.cs
- NavigationProgressEventArgs.cs
- XsltException.cs
- ElementAtQueryOperator.cs
- WorkflowIdleBehavior.cs
- EnumValAlphaComparer.cs
- SplitterPanel.cs
- ViewRendering.cs
- UnknownBitmapEncoder.cs
- EntityDesignPluralizationHandler.cs
- LogConverter.cs
- HandoffBehavior.cs
- ProfileManager.cs
- FileDocument.cs
- RawStylusInputReport.cs
- ValidationError.cs
- Floater.cs
- ArrayHelper.cs
- StyleTypedPropertyAttribute.cs
- Application.cs
- GlobalProxySelection.cs
- DomainConstraint.cs
- Expression.cs
- XsltFunctions.cs
- NameValuePair.cs
- BooleanToVisibilityConverter.cs
- StrongNameUtility.cs
- CriticalFinalizerObject.cs
- LinearQuaternionKeyFrame.cs
- translator.cs
- ParentUndoUnit.cs
- FormViewPagerRow.cs
- SessionParameter.cs
- InvokeMethodActivity.cs
- ExpressionBuilder.cs
- ToReply.cs
- DataException.cs
- TabControl.cs
- __Error.cs
- PlatformCulture.cs
- XPathNavigatorReader.cs
- SettingsProperty.cs
- SafeMemoryMappedViewHandle.cs
- OperandQuery.cs
- SubstitutionDesigner.cs
- DynamicUpdateCommand.cs
- XmlSchemaComplexContentRestriction.cs
- SoapDocumentMethodAttribute.cs
- ValueHandle.cs
- Run.cs
- OpenFileDialog.cs
- XmlKeywords.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- SearchForVirtualItemEventArgs.cs