Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Model / ModelChangedEventArgsImpl.cs / 1305376 / ModelChangedEventArgsImpl.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities.Presentation.Model
{
using System.Collections.Generic;
using System.Activities.Presentation.Services;
// Implementation of ModelChangedEventArgs used by the ModelServiceImpl
class ModelChangedEventArgsImpl : ModelChangedEventArgs
{
List itemsAdded;
List itemsRemoved;
List propertiesChanged;
public ModelChangedEventArgsImpl(List itemsAdded, List itemsRemoved, List propertiesChanged)
{
this.itemsAdded = itemsAdded;
this.itemsRemoved = itemsRemoved;
this.propertiesChanged = propertiesChanged;
}
public override IEnumerable ItemsAdded
{
get
{
return itemsAdded;
}
}
public override IEnumerable ItemsRemoved
{
get
{
return itemsRemoved;
}
}
public override IEnumerable PropertiesChanged
{
get
{
return propertiesChanged;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities.Presentation.Model
{
using System.Collections.Generic;
using System.Activities.Presentation.Services;
// Implementation of ModelChangedEventArgs used by the ModelServiceImpl
class ModelChangedEventArgsImpl : ModelChangedEventArgs
{
List itemsAdded;
List itemsRemoved;
List propertiesChanged;
public ModelChangedEventArgsImpl(List itemsAdded, List itemsRemoved, List propertiesChanged)
{
this.itemsAdded = itemsAdded;
this.itemsRemoved = itemsRemoved;
this.propertiesChanged = propertiesChanged;
}
public override IEnumerable ItemsAdded
{
get
{
return itemsAdded;
}
}
public override IEnumerable ItemsRemoved
{
get
{
return itemsRemoved;
}
}
public override IEnumerable PropertiesChanged
{
get
{
return propertiesChanged;
}
}
}
}
// 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
- TextTrailingCharacterEllipsis.cs
- ImageBrush.cs
- PreProcessInputEventArgs.cs
- Dictionary.cs
- ButtonFieldBase.cs
- formatstringdialog.cs
- HandlerFactoryCache.cs
- ReliabilityContractAttribute.cs
- Math.cs
- WebEventTraceProvider.cs
- QueryableDataSource.cs
- FixedHyperLink.cs
- TdsParser.cs
- ParallelRangeManager.cs
- AssertFilter.cs
- TransformerTypeCollection.cs
- SqlProvider.cs
- relpropertyhelper.cs
- ImageAttributes.cs
- WindowsFont.cs
- TypeGeneratedEventArgs.cs
- MenuItemStyle.cs
- SHA1Cng.cs
- WebControlsSection.cs
- CurrentChangingEventArgs.cs
- ObjectParameterCollection.cs
- GridViewRowCollection.cs
- WebReferencesBuildProvider.cs
- SeverityFilter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- HandlerBase.cs
- RowType.cs
- ValidationRule.cs
- QilXmlReader.cs
- FieldToken.cs
- XmlText.cs
- RequiredAttributeAttribute.cs
- CodeTypeReferenceCollection.cs
- ControlBuilderAttribute.cs
- ErrorFormatterPage.cs
- XomlSerializationHelpers.cs
- Int32.cs
- GcHandle.cs
- OpenFileDialog.cs
- SystemWebSectionGroup.cs
- ModifierKeysConverter.cs
- InputScopeConverter.cs
- PassportAuthenticationModule.cs
- FontStyles.cs
- NetworkCredential.cs
- ActivitySurrogate.cs
- CodeTypeReferenceCollection.cs
- LayoutEngine.cs
- EntityProviderServices.cs
- DocumentReference.cs
- WebRequest.cs
- FormViewInsertEventArgs.cs
- StickyNoteHelper.cs
- PersistencePipeline.cs
- GenericQueueSurrogate.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EntityUtil.cs
- Certificate.cs
- WebPartConnectionsCancelVerb.cs
- DesignerLabelAdapter.cs
- State.cs
- SafeEventLogWriteHandle.cs
- ThrowHelper.cs
- BufferAllocator.cs
- ControlParameter.cs
- Monitor.cs
- TreeNodeEventArgs.cs
- NextPreviousPagerField.cs
- _FtpDataStream.cs
- TransformedBitmap.cs
- PropertyKey.cs
- TextFormatter.cs
- InkCollectionBehavior.cs
- ListBindingHelper.cs
- WebPartHelpVerb.cs
- GorillaCodec.cs
- VisualBrush.cs
- WorkItem.cs
- Attachment.cs
- AppDomainUnloadedException.cs
- SqlExpressionNullability.cs
- CalendarItem.cs
- ColumnWidthChangingEvent.cs
- UIPermission.cs
- UrlMappingsSection.cs
- SessionStateUtil.cs
- PipelineModuleStepContainer.cs
- PathSegmentCollection.cs
- EntityViewContainer.cs
- TableLayoutRowStyleCollection.cs
- GuidelineCollection.cs
- DataGridViewRowCancelEventArgs.cs
- DynamicResourceExtension.cs
- CodeArrayCreateExpression.cs
- UrlAuthFailedErrorFormatter.cs