Code:
/ DotNET / DotNET / 8.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
- TagNameToTypeMapper.cs
- NetTcpSecurity.cs
- CustomAttribute.cs
- Evidence.cs
- _SslStream.cs
- StylusPlugInCollection.cs
- _StreamFramer.cs
- QilSortKey.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- WindowClosedEventArgs.cs
- ExpressionPrinter.cs
- DataPager.cs
- CssClassPropertyAttribute.cs
- ProxyOperationRuntime.cs
- XhtmlBasicControlAdapter.cs
- ParallelTimeline.cs
- ZipIOLocalFileDataDescriptor.cs
- WindowsFormsHostPropertyMap.cs
- InternalConfigRoot.cs
- OrCondition.cs
- AuthenticationService.cs
- SequenceDesigner.cs
- FilterElement.cs
- WebRequestModuleElement.cs
- COAUTHIDENTITY.cs
- LineSegment.cs
- TimerExtension.cs
- LogicalExpr.cs
- COM2EnumConverter.cs
- ZipPackage.cs
- SoapExtensionTypeElementCollection.cs
- Point3DAnimationBase.cs
- Condition.cs
- NativeMethods.cs
- InputChannelBinder.cs
- SerializationFieldInfo.cs
- CodeTypeDelegate.cs
- InputBindingCollection.cs
- BaseParaClient.cs
- HtmlLinkAdapter.cs
- ComboBox.cs
- SHA512.cs
- XPathArrayIterator.cs
- CommandValueSerializer.cs
- StringStorage.cs
- SqlEnums.cs
- IsolatedStorageFile.cs
- XamlFilter.cs
- SubMenuStyle.cs
- TransactionInterop.cs
- RuleRefElement.cs
- PersonalizationStateInfo.cs
- FormClosingEvent.cs
- ToolStripTextBox.cs
- IdentityReference.cs
- BasicExpandProvider.cs
- IndentTextWriter.cs
- ThreadPool.cs
- odbcmetadatacollectionnames.cs
- AccessedThroughPropertyAttribute.cs
- Dynamic.cs
- COM2ExtendedBrowsingHandler.cs
- FreezableCollection.cs
- BitmapEffectGeneralTransform.cs
- StorageBasedPackageProperties.cs
- RequestContext.cs
- SecurityKeyIdentifier.cs
- BaseProcessProtocolHandler.cs
- WebServiceHostFactory.cs
- HierarchicalDataSourceConverter.cs
- FormClosedEvent.cs
- WriteStateInfoBase.cs
- TextFindEngine.cs
- HtmlControl.cs
- InternalConfigRoot.cs
- KnownTypesProvider.cs
- XmlILModule.cs
- SymbolTable.cs
- WCFBuildProvider.cs
- ObjectStateFormatter.cs
- ContextMenu.cs
- AnnotationMap.cs
- WebResourceAttribute.cs
- ErrorWrapper.cs
- RegexCompilationInfo.cs
- ImageSource.cs
- TextChangedEventArgs.cs
- PrintController.cs
- ToolStripContentPanel.cs
- RemoteWebConfigurationHost.cs
- XmlSchemaSimpleTypeUnion.cs
- XmlNullResolver.cs
- BinaryCommonClasses.cs
- UIntPtr.cs
- IPPacketInformation.cs
- CellPartitioner.cs
- WorkflowFileItem.cs
- PerfCounterSection.cs
- SQLRoleProvider.cs
- ClientTargetCollection.cs