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
- ListViewInsertionMark.cs
- VirtualPath.cs
- ImpersonateTokenRef.cs
- PathNode.cs
- Transform3DCollection.cs
- isolationinterop.cs
- MessageHeader.cs
- MimeMultiPart.cs
- DbDataAdapter.cs
- mansign.cs
- RelationshipEndCollection.cs
- CompilerScope.Storage.cs
- HttpProcessUtility.cs
- Win32NamedPipes.cs
- WindowsGraphics2.cs
- TextServicesCompartment.cs
- XslUrlEditor.cs
- KerberosSecurityTokenAuthenticator.cs
- ResourceSet.cs
- LexicalChunk.cs
- RegexReplacement.cs
- OutOfProcStateClientManager.cs
- TcpClientSocketManager.cs
- DataBinder.cs
- Regex.cs
- WebPart.cs
- StyleBamlTreeBuilder.cs
- IRCollection.cs
- RemotingConfiguration.cs
- LinqDataSourceDeleteEventArgs.cs
- Row.cs
- DocumentEventArgs.cs
- AlternationConverter.cs
- ConfigXmlAttribute.cs
- TypeSystem.cs
- SafeArrayRankMismatchException.cs
- Contracts.cs
- TextBoxAutomationPeer.cs
- OpenFileDialog.cs
- NumericUpDown.cs
- NavigationPropertySingletonExpression.cs
- AtomContentProperty.cs
- Pool.cs
- TdsParserSessionPool.cs
- GroupBoxAutomationPeer.cs
- DataGridViewHitTestInfo.cs
- InvalidAsynchronousStateException.cs
- cryptoapiTransform.cs
- MulticastOption.cs
- TypeBuilderInstantiation.cs
- RegionData.cs
- Vector3DKeyFrameCollection.cs
- StickyNote.cs
- DynamicValueConverter.cs
- CompilationSection.cs
- XsltSettings.cs
- SourceChangedEventArgs.cs
- ListControl.cs
- CompilerError.cs
- WebPartCatalogAddVerb.cs
- FileRegion.cs
- HandlerFactoryWrapper.cs
- WindowsContainer.cs
- Token.cs
- ObjectConverter.cs
- NamedServiceModelExtensionCollectionElement.cs
- FileEnumerator.cs
- SendMessageContent.cs
- PageVisual.cs
- HttpApplicationFactory.cs
- LineSegment.cs
- SafeThemeHandle.cs
- ReflectPropertyDescriptor.cs
- AdornerPresentationContext.cs
- EncodingNLS.cs
- AdapterDictionary.cs
- Int64Animation.cs
- PagerSettings.cs
- Scene3D.cs
- Semaphore.cs
- GPPOINT.cs
- Int32Rect.cs
- XmlSchemaSequence.cs
- UIElementIsland.cs
- RemoteWebConfigurationHostStream.cs
- ProfilePropertySettings.cs
- PageHandlerFactory.cs
- SetterTriggerConditionValueConverter.cs
- ProjectionPlan.cs
- WebConfigurationFileMap.cs
- UIElementHelper.cs
- SafeArrayTypeMismatchException.cs
- Quaternion.cs
- SetIndexBinder.cs
- _CommandStream.cs
- GridViewCommandEventArgs.cs
- GlyphingCache.cs
- DataControlFieldCollection.cs
- ContentType.cs
- UshortList2.cs