Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / 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. //------------------------------------------------------------------------------ // 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
- OleDbConnectionPoolGroupProviderInfo.cs
- Thickness.cs
- ConfigurationCollectionAttribute.cs
- XmlSchemaSimpleTypeList.cs
- NavigationPropertyEmitter.cs
- SymLanguageVendor.cs
- DataBindingCollection.cs
- PersistenceContextEnlistment.cs
- Vector3DCollection.cs
- PeerNameRecordCollection.cs
- Perspective.cs
- WsdlBuildProvider.cs
- WebPartDeleteVerb.cs
- ClientEndpointLoader.cs
- HttpFileCollectionWrapper.cs
- Rijndael.cs
- AuthenticationModulesSection.cs
- COM2TypeInfoProcessor.cs
- CodeConstructor.cs
- SynchronizedInputHelper.cs
- Color.cs
- _ListenerResponseStream.cs
- Exception.cs
- HMACSHA384.cs
- UserControlBuildProvider.cs
- HostProtectionPermission.cs
- Rect3D.cs
- Normalization.cs
- TransformProviderWrapper.cs
- Point4D.cs
- PropertyTabChangedEvent.cs
- DrawingDrawingContext.cs
- NameGenerator.cs
- ApplicationFileCodeDomTreeGenerator.cs
- RuntimeArgument.cs
- SrgsGrammar.cs
- SecurityUtils.cs
- ClientRuntimeConfig.cs
- SmtpClient.cs
- JapaneseLunisolarCalendar.cs
- FragmentQueryProcessor.cs
- BreakRecordTable.cs
- ParallelTimeline.cs
- XmlReflectionMember.cs
- BinaryConverter.cs
- StringTraceRecord.cs
- PaginationProgressEventArgs.cs
- COM2PropertyDescriptor.cs
- SqlCacheDependencyDatabaseCollection.cs
- PropertyCollection.cs
- XmlValidatingReaderImpl.cs
- SqlVisitor.cs
- ColorAnimationBase.cs
- TerminateSequence.cs
- ControlUtil.cs
- GenericUriParser.cs
- MergeFilterQuery.cs
- RestClientProxyHandler.cs
- RepeaterItem.cs
- ObjectAnimationUsingKeyFrames.cs
- TextCharacters.cs
- ReachDocumentReferenceSerializer.cs
- XmlSchemaSimpleType.cs
- UrlParameterReader.cs
- ZipIOLocalFileDataDescriptor.cs
- CaseInsensitiveOrdinalStringComparer.cs
- DocobjHost.cs
- ConfigXmlText.cs
- InvalidStoreProtectionKeyException.cs
- IsolatedStorage.cs
- SecurityTraceRecordHelper.cs
- TypeElement.cs
- BitmapEffectrendercontext.cs
- UnicodeEncoding.cs
- MemberDescriptor.cs
- ServerTooBusyException.cs
- XmlILOptimizerVisitor.cs
- DesignerTransactionCloseEvent.cs
- NamespaceExpr.cs
- ProfileGroupSettings.cs
- ArraySet.cs
- MdImport.cs
- MemberPathMap.cs
- IPEndPointCollection.cs
- CompensateDesigner.cs
- SqlConnectionStringBuilder.cs
- CompressedStack.cs
- ListItemDetailViewAttribute.cs
- AttributeConverter.cs
- AutoSizeToolBoxItem.cs
- SoapCommonClasses.cs
- StylusButton.cs
- ADMembershipProvider.cs
- ResourceReader.cs
- Converter.cs
- OleDbSchemaGuid.cs
- UpDownEvent.cs
- Vector3DCollectionConverter.cs
- RegexMatchCollection.cs
- ObjectKeyFrameCollection.cs