Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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()); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MediaElementAutomationPeer.cs
- TraceContextEventArgs.cs
- SectionXmlInfo.cs
- DataControlCommands.cs
- DbConnectionFactory.cs
- TimerEventSubscriptionCollection.cs
- LinqDataSourceStatusEventArgs.cs
- ObfuscationAttribute.cs
- Freezable.cs
- WorkflowViewService.cs
- Delay.cs
- ServiceNameCollection.cs
- WebPartPersonalization.cs
- RoutedEvent.cs
- SqlMultiplexer.cs
- BlurEffect.cs
- DbDeleteCommandTree.cs
- ToolBar.cs
- SerialReceived.cs
- SafeNativeMethods.cs
- Transform.cs
- CatalogPart.cs
- SnapLine.cs
- FlowLayout.cs
- WindowsToolbar.cs
- ClientSettingsSection.cs
- DependencySource.cs
- CodeTypeParameterCollection.cs
- ImageList.cs
- TerminatorSinks.cs
- ProfileInfo.cs
- ImageField.cs
- DNS.cs
- UriWriter.cs
- BoundPropertyEntry.cs
- AuthenticationManager.cs
- XmlSiteMapProvider.cs
- Annotation.cs
- CodeTypeDeclarationCollection.cs
- Calendar.cs
- CommonProperties.cs
- ServiceEndpoint.cs
- WebPartEditVerb.cs
- DependencyPropertyChangedEventArgs.cs
- BackgroundWorker.cs
- AbstractSvcMapFileLoader.cs
- TrustSection.cs
- IsolatedStorage.cs
- XmlWrappingReader.cs
- ClientScriptManagerWrapper.cs
- XmlEnumAttribute.cs
- VirtualizingStackPanel.cs
- TrackingProfile.cs
- SoapFault.cs
- HttpMethodConstraint.cs
- CustomPopupPlacement.cs
- CodeDirectionExpression.cs
- XmlSchemaSimpleContentExtension.cs
- TextTreeExtractElementUndoUnit.cs
- ControlBuilderAttribute.cs
- WarningException.cs
- Variable.cs
- Set.cs
- HTTPNotFoundHandler.cs
- XmlDocumentType.cs
- OdbcException.cs
- NavigationProperty.cs
- FormsAuthenticationConfiguration.cs
- WhereaboutsReader.cs
- AlignmentXValidation.cs
- DataComponentNameHandler.cs
- DoubleKeyFrameCollection.cs
- ExpressionEditorAttribute.cs
- ISessionStateStore.cs
- SizeLimitedCache.cs
- TypeGeneratedEventArgs.cs
- SingleKeyFrameCollection.cs
- MultilineStringConverter.cs
- XmlLanguageConverter.cs
- Overlapped.cs
- UriWriter.cs
- OciLobLocator.cs
- ListManagerBindingsCollection.cs
- RuleSetDialog.Designer.cs
- PropertyIDSet.cs
- ApplicationTrust.cs
- PlainXmlDeserializer.cs
- XmlSchemaAppInfo.cs
- TreeNodeSelectionProcessor.cs
- DefaultProxySection.cs
- ComponentResourceKeyConverter.cs
- IncrementalCompileAnalyzer.cs
- XPathItem.cs
- SQLGuid.cs
- TextOutput.cs
- OdbcError.cs
- AbstractDataSvcMapFileLoader.cs
- DataListCommandEventArgs.cs
- Dictionary.cs
- UIElementParagraph.cs