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
- UIntPtr.cs
- ValidatedControlConverter.cs
- SafeRightsManagementPubHandle.cs
- BuilderPropertyEntry.cs
- AstNode.cs
- HtmlElementCollection.cs
- BamlCollectionHolder.cs
- XmlSchemaInferenceException.cs
- GridViewRowEventArgs.cs
- PropertyTab.cs
- XmlSchemaNotation.cs
- AccessedThroughPropertyAttribute.cs
- ControlPaint.cs
- DurableEnlistmentState.cs
- InvalidCastException.cs
- DataGridColumn.cs
- DeploymentExceptionMapper.cs
- AuthenticationModulesSection.cs
- InkCanvasSelection.cs
- Int32CAMarshaler.cs
- DataGridViewColumnEventArgs.cs
- AppearanceEditorPart.cs
- GradientStop.cs
- MetadataSource.cs
- FontDialog.cs
- EntityContainerRelationshipSetEnd.cs
- TokenFactoryBase.cs
- EndpointDesigner.cs
- ParagraphResult.cs
- SelectionProviderWrapper.cs
- HtmlCalendarAdapter.cs
- InvokeProviderWrapper.cs
- KeyValueConfigurationElement.cs
- Clipboard.cs
- TerminateSequence.cs
- XmlAttributeCache.cs
- XmlAttributeCache.cs
- ClientProxyGenerator.cs
- InternalControlCollection.cs
- TraceFilter.cs
- XmlReader.cs
- ValidationErrorEventArgs.cs
- ToolStripPanel.cs
- Journal.cs
- DataTableReaderListener.cs
- ElementMarkupObject.cs
- EventLogHandle.cs
- CrossContextChannel.cs
- DataGridPagingPage.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- TypeDelegator.cs
- CmsInterop.cs
- ServiceProviders.cs
- AsymmetricKeyExchangeDeformatter.cs
- PerformanceCountersElement.cs
- BitmapPalette.cs
- AbstractExpressions.cs
- ImageFormatConverter.cs
- LocalizableAttribute.cs
- WebPartConnectionCollection.cs
- _NegoStream.cs
- XmlSchemaImporter.cs
- HeaderUtility.cs
- SizeConverter.cs
- ToolStripSeparatorRenderEventArgs.cs
- MetaForeignKeyColumn.cs
- Partitioner.cs
- TextServicesPropertyRanges.cs
- ObjectReaderCompiler.cs
- KeyValueConfigurationElement.cs
- DllNotFoundException.cs
- _OSSOCK.cs
- odbcmetadatafactory.cs
- SqlDataSourceSelectingEventArgs.cs
- PageAsyncTask.cs
- SetIterators.cs
- ObjectRef.cs
- OptimizerPatterns.cs
- DateTimeFormatInfoScanner.cs
- SerialPort.cs
- ButtonPopupAdapter.cs
- UITypeEditor.cs
- DataGridViewUtilities.cs
- SqlAliaser.cs
- GetMemberBinder.cs
- WorkflowMarkupSerializer.cs
- SQLMembershipProvider.cs
- UInt64.cs
- SqlRecordBuffer.cs
- CalendarDataBindingHandler.cs
- IssuanceLicense.cs
- PackagePartCollection.cs
- MimeParameterWriter.cs
- CommandField.cs
- WebConfigurationFileMap.cs
- SingleObjectCollection.cs
- WebCodeGenerator.cs
- Set.cs
- InputScopeAttribute.cs
- DropDownButton.cs