Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / FileDetails.cs / 1305376 / FileDetails.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Web; using System.Web.Util; using System.Security; using System.IO; using System.Web.Hosting; using System.Runtime.InteropServices; using System.Reflection; using System.Collections.Specialized; using System.Xml; using System.Security.Principal; using System.Threading; using System.Globalization; internal class FileDetails { bool _exists; long _fileSize; DateTime _utcCreationTime; DateTime _utcLastWriteTime; internal FileDetails(bool exists, long fileSize, DateTime utcCreationTime, DateTime utcLastWriteTime) { _exists = exists; _fileSize = fileSize; _utcCreationTime = utcCreationTime; _utcLastWriteTime = utcLastWriteTime; } public override bool Equals(Object obj) { FileDetails other = obj as FileDetails; return other != null && _exists == other._exists && _fileSize == other._fileSize && _utcCreationTime == other._utcCreationTime && _utcLastWriteTime == other._utcLastWriteTime; } public override int GetHashCode() { return HashCodeCombiner.CombineHashCodes(_exists.GetHashCode(), _fileSize.GetHashCode(), _utcCreationTime.GetHashCode(), _utcLastWriteTime.GetHashCode()); } } } // 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
- OwnerDrawPropertyBag.cs
- CodeDelegateCreateExpression.cs
- NavigatorOutput.cs
- ImageIndexConverter.cs
- TypePropertyEditor.cs
- AnnotationResource.cs
- DesignerFrame.cs
- SelectionPattern.cs
- UndoManager.cs
- MeshGeometry3D.cs
- ThrowHelper.cs
- Function.cs
- AffineTransform3D.cs
- ConfigXmlElement.cs
- OracleParameterBinding.cs
- SmtpMail.cs
- ToolStripOverflowButton.cs
- RetrieveVirtualItemEventArgs.cs
- DrawingVisual.cs
- SourceChangedEventArgs.cs
- XmlObjectSerializerReadContext.cs
- MultiSelector.cs
- HtmlInputText.cs
- ClaimComparer.cs
- OleDbFactory.cs
- WizardPanel.cs
- KeyEvent.cs
- AssertFilter.cs
- Types.cs
- ToolStripItemImageRenderEventArgs.cs
- RubberbandSelector.cs
- ObjectListItemCollection.cs
- SqlBuilder.cs
- LineInfo.cs
- PropertyMetadata.cs
- PackageFilter.cs
- WebBrowserProgressChangedEventHandler.cs
- WebPartDisplayModeCancelEventArgs.cs
- sortedlist.cs
- XPathItem.cs
- ChildChangedEventArgs.cs
- SegmentInfo.cs
- EventLogTraceListener.cs
- EntityCommandExecutionException.cs
- MissingMethodException.cs
- WebRequest.cs
- CompareValidator.cs
- PackageRelationshipSelector.cs
- FormClosedEvent.cs
- ScrollableControl.cs
- Form.cs
- DocComment.cs
- RuntimeEnvironment.cs
- SecurityRuntime.cs
- DesignerSerializerAttribute.cs
- Debugger.cs
- SQLDateTimeStorage.cs
- XmlILTrace.cs
- DataGridViewRowHeaderCell.cs
- VerificationException.cs
- SessionEndedEventArgs.cs
- FrameworkObject.cs
- ConsoleTraceListener.cs
- ContextStaticAttribute.cs
- HttpCachePolicy.cs
- Focus.cs
- CollectionsUtil.cs
- DescendentsWalker.cs
- BackgroundFormatInfo.cs
- SamlConditions.cs
- InitializingNewItemEventArgs.cs
- ControlBindingsCollection.cs
- GestureRecognitionResult.cs
- WorkItem.cs
- TextServicesDisplayAttribute.cs
- CompilerGlobalScopeAttribute.cs
- TableCellCollection.cs
- ProfileInfo.cs
- TcpSocketManager.cs
- CursorInteropHelper.cs
- BinHexDecoder.cs
- TextBoxBase.cs
- SafeProcessHandle.cs
- GetIsBrowserClientRequest.cs
- ToolStripAdornerWindowService.cs
- PreparingEnlistment.cs
- JoinQueryOperator.cs
- SerialPinChanges.cs
- MaskedTextProvider.cs
- SafeMILHandle.cs
- Timeline.cs
- EditorAttribute.cs
- DiscoveryDocumentLinksPattern.cs
- FixedSOMImage.cs
- Label.cs
- TTSEngineTypes.cs
- HtmlContainerControl.cs
- PathParser.cs
- XPathAxisIterator.cs
- DataGridTextBoxColumn.cs