Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / ResolvedKeyFrameEntry.cs / 1305600 / ResolvedKeyFrameEntry.cs
//------------------------------------------------------------------------------
// Microsoft Windows Client Platform
// Copyright (c) Microsoft Corporation
//
// File: ResolvedKeyFrameEntry.cs
//-----------------------------------------------------------------------------
namespace System.Windows.Media.Animation
{
internal struct ResolvedKeyFrameEntry : IComparable
{
internal Int32 _originalKeyFrameIndex;
internal TimeSpan _resolvedKeyTime;
public Int32 CompareTo(object other)
{
ResolvedKeyFrameEntry otherEntry = (ResolvedKeyFrameEntry)other;
if (otherEntry._resolvedKeyTime > _resolvedKeyTime)
{
return -1;
}
else if (otherEntry._resolvedKeyTime < _resolvedKeyTime)
{
return 1;
}
else
{
if (otherEntry._originalKeyFrameIndex > _originalKeyFrameIndex)
{
return -1;
}
else if (otherEntry._originalKeyFrameIndex < _originalKeyFrameIndex)
{
return 1;
}
else
{
return 0;
}
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DayRenderEvent.cs
- XmlWrappingWriter.cs
- DayRenderEvent.cs
- TextTreePropertyUndoUnit.cs
- WorkflowInstanceExtensionProvider.cs
- MemberMaps.cs
- _Win32.cs
- Task.cs
- HitTestParameters.cs
- AsymmetricAlgorithm.cs
- UriScheme.cs
- Vector3DConverter.cs
- WindowsToolbar.cs
- WebPartPersonalization.cs
- QilExpression.cs
- MatrixKeyFrameCollection.cs
- XmlSchemaAnnotated.cs
- PropertyToken.cs
- DependencyPropertyKey.cs
- WorkflowElementDialog.cs
- SByteConverter.cs
- ImageMetadata.cs
- MissingMethodException.cs
- HtmlInputText.cs
- SingleStorage.cs
- DnsPermission.cs
- Encoder.cs
- ServiceCredentials.cs
- ToolStripDropTargetManager.cs
- AlternateView.cs
- PerfCounters.cs
- SizeF.cs
- ListControlStringCollectionEditor.cs
- OdbcParameter.cs
- HttpsHostedTransportConfiguration.cs
- VirtualDirectoryMappingCollection.cs
- RegistryKey.cs
- SharedStatics.cs
- SoapIgnoreAttribute.cs
- CodeSnippetExpression.cs
- DBCSCodePageEncoding.cs
- CrossSiteScriptingValidation.cs
- codemethodreferenceexpression.cs
- DefaultMemberAttribute.cs
- ArrangedElementCollection.cs
- GeometryHitTestResult.cs
- DoubleLink.cs
- OutputScopeManager.cs
- ChameleonKey.cs
- EpmSyndicationContentSerializer.cs
- XomlCompilerResults.cs
- ThumbAutomationPeer.cs
- HostDesigntimeLicenseContext.cs
- FontFamily.cs
- CommandManager.cs
- HtmlSelect.cs
- TrackingMemoryStream.cs
- OutputCacheProfileCollection.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TemplateParser.cs
- CorrelationKey.cs
- ConfigViewGenerator.cs
- DomainConstraint.cs
- PerformanceCounterPermissionAttribute.cs
- ComponentEditorForm.cs
- Span.cs
- ScopelessEnumAttribute.cs
- TrustManagerPromptUI.cs
- OverrideMode.cs
- ISAPIWorkerRequest.cs
- MouseOverProperty.cs
- TiffBitmapEncoder.cs
- UInt32Storage.cs
- EditorZoneBase.cs
- TextParaClient.cs
- GZipObjectSerializer.cs
- BitStack.cs
- EnterpriseServicesHelper.cs
- ACL.cs
- TreeWalker.cs
- XmlLinkedNode.cs
- PartialTrustVisibleAssembly.cs
- ConnectionPoint.cs
- Transactions.cs
- DateTimeOffset.cs
- RoleGroupCollectionEditor.cs
- HostingPreferredMapPath.cs
- UrlMapping.cs
- TrackingDataItem.cs
- WsatAdminException.cs
- NavigationProperty.cs
- XmlSchemaInclude.cs
- RichTextBoxConstants.cs
- HttpConfigurationContext.cs
- HandlerWithFactory.cs
- SourceElementsCollection.cs
- AutomationPropertyInfo.cs
- ClickablePoint.cs
- SqlRowUpdatingEvent.cs
- ResourcePermissionBaseEntry.cs