Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / FileDetails.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RedistVersionInfo.cs
- wgx_sdk_version.cs
- CompositionAdorner.cs
- BaseCAMarshaler.cs
- WebPart.cs
- DropTarget.cs
- ThreadAbortException.cs
- ProjectionAnalyzer.cs
- RestClientProxyHandler.cs
- PieceDirectory.cs
- Frame.cs
- HashCodeCombiner.cs
- ObjectSet.cs
- PropertyConverter.cs
- QilGenerator.cs
- VisualBrush.cs
- FileLogRecordStream.cs
- XmlDataSource.cs
- RecognizedPhrase.cs
- GlyphingCache.cs
- EventListener.cs
- InputManager.cs
- PropertyGridView.cs
- HttpWriter.cs
- SoapIgnoreAttribute.cs
- SqlProvider.cs
- Point3DKeyFrameCollection.cs
- HotSpotCollection.cs
- CdpEqualityComparer.cs
- TreeViewCancelEvent.cs
- UriWriter.cs
- StringAttributeCollection.cs
- Oci.cs
- WmlCalendarAdapter.cs
- RestClientProxyHandler.cs
- PolyBezierSegment.cs
- WsatServiceCertificate.cs
- SourceChangedEventArgs.cs
- WebContext.cs
- WorkflowServiceNamespace.cs
- IChannel.cs
- EntityDataSourceDataSelection.cs
- PageThemeParser.cs
- TimersDescriptionAttribute.cs
- PathFigureCollection.cs
- ListenerElementsCollection.cs
- MenuAdapter.cs
- BinaryMethodMessage.cs
- LicFileLicenseProvider.cs
- ICspAsymmetricAlgorithm.cs
- ViewStateModeByIdAttribute.cs
- SeverityFilter.cs
- NavigationHelper.cs
- HitTestWithGeometryDrawingContextWalker.cs
- StringUtil.cs
- SerializationTrace.cs
- ListChangedEventArgs.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlSchemaChoice.cs
- XmlQueryStaticData.cs
- GridItem.cs
- _ListenerAsyncResult.cs
- OleDbRowUpdatedEvent.cs
- ParallelTimeline.cs
- FileRecordSequenceHelper.cs
- QuotedPairReader.cs
- BulletChrome.cs
- TdsParserStateObject.cs
- GenericAuthenticationEventArgs.cs
- XmlSchemaInclude.cs
- WmiEventSink.cs
- HandlerWithFactory.cs
- IDataContractSurrogate.cs
- PropertyChangedEventManager.cs
- UpdateCompiler.cs
- ColorPalette.cs
- Cloud.cs
- DataList.cs
- DataTableReaderListener.cs
- FieldInfo.cs
- SqlExpander.cs
- LambdaCompiler.Unary.cs
- BinaryObjectInfo.cs
- __Error.cs
- XmlILStorageConverter.cs
- GC.cs
- MSG.cs
- NativeMethods.cs
- HandoffBehavior.cs
- SmtpDigestAuthenticationModule.cs
- ListViewItem.cs
- UnmanagedMemoryStreamWrapper.cs
- ActivityExecutorDelegateInfo.cs
- RequestResizeEvent.cs
- AsyncDataRequest.cs
- SerialPinChanges.cs
- FacetValueContainer.cs
- MatrixStack.cs
- SqlClientWrapperSmiStream.cs
- InkCanvasSelectionAdorner.cs