Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / Animation / ResolvedKeyFrameEntry.cs / 1 / 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
- XamlHostingSectionGroup.cs
- ConfigurationSchemaErrors.cs
- PermissionListSet.cs
- TemplateBindingExtension.cs
- ComponentCommands.cs
- CallSiteHelpers.cs
- XPathPatternParser.cs
- UnsafeNativeMethodsCLR.cs
- RootProfilePropertySettingsCollection.cs
- TimeSpanOrInfiniteValidator.cs
- ThumbButtonInfo.cs
- PassportAuthenticationEventArgs.cs
- PageContentAsyncResult.cs
- ReliableSessionBindingElementImporter.cs
- FilterableAttribute.cs
- XPathExpr.cs
- SqlUtil.cs
- SqlFactory.cs
- SqlDelegatedTransaction.cs
- ObjectViewListener.cs
- DataViewManager.cs
- ExpressionBuilder.cs
- LinkedResource.cs
- EdmValidator.cs
- MediaElement.cs
- HttpListenerResponse.cs
- RoutedEventArgs.cs
- XmlSchemaValidationException.cs
- ADMembershipProvider.cs
- XmlObjectSerializerReadContext.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ChangePassword.cs
- WeakReadOnlyCollection.cs
- ImageMap.cs
- PenLineCapValidation.cs
- WindowsContainer.cs
- LinearGradientBrush.cs
- QuadraticBezierSegment.cs
- LinearGradientBrush.cs
- SmiContextFactory.cs
- DynamicMetaObject.cs
- XpsFontSubsetter.cs
- GACMembershipCondition.cs
- PolicyValidator.cs
- ListCommandEventArgs.cs
- DesignerDataParameter.cs
- HexParser.cs
- VerticalAlignConverter.cs
- LocatorManager.cs
- AddingNewEventArgs.cs
- Block.cs
- ToolboxBitmapAttribute.cs
- _RequestCacheProtocol.cs
- ColumnMapVisitor.cs
- ConfigXmlDocument.cs
- ComponentChangedEvent.cs
- ValueProviderWrapper.cs
- TableParagraph.cs
- OleDbRowUpdatedEvent.cs
- StackBuilderSink.cs
- MailBnfHelper.cs
- ProofTokenCryptoHandle.cs
- TraceHandler.cs
- TopClause.cs
- ImpersonateTokenRef.cs
- SqlBuilder.cs
- ChameleonKey.cs
- MediaCommands.cs
- EdmSchemaAttribute.cs
- XmlAttribute.cs
- UndoUnit.cs
- SingleSelectRootGridEntry.cs
- Part.cs
- Int16Converter.cs
- WindowPatternIdentifiers.cs
- DataRowCollection.cs
- TimersDescriptionAttribute.cs
- SiteMapDataSourceDesigner.cs
- WorkflowItemsPresenter.cs
- RegexStringValidator.cs
- PrinterUnitConvert.cs
- OutputCacheProfileCollection.cs
- ProcessModuleCollection.cs
- Attributes.cs
- ColumnHeader.cs
- FrameworkElementFactory.cs
- EntityDesignerBuildProvider.cs
- HtmlInputRadioButton.cs
- RadialGradientBrush.cs
- ActionFrame.cs
- NavigatorOutput.cs
- InternalsVisibleToAttribute.cs
- SequentialUshortCollection.cs
- DataGridViewTextBoxEditingControl.cs
- HtmlGenericControl.cs
- DefaultSerializationProviderAttribute.cs
- File.cs
- ByeMessageCD1.cs
- BuildProvider.cs
- DesignerDataColumn.cs