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
- WebPartConnectionCollection.cs
- BezierSegment.cs
- SchemaElementLookUpTableEnumerator.cs
- UInt32.cs
- DesignSurfaceServiceContainer.cs
- XmlSerializationWriter.cs
- XmlCharacterData.cs
- AmbientLight.cs
- UnknownBitmapEncoder.cs
- Tuple.cs
- PartialCachingControl.cs
- _ConnectOverlappedAsyncResult.cs
- HttpCapabilitiesSectionHandler.cs
- RadioButtonBaseAdapter.cs
- PrimitiveXmlSerializers.cs
- BitmapMetadataEnumerator.cs
- SamlAssertionKeyIdentifierClause.cs
- ContentElement.cs
- CommandID.cs
- DesignerOptionService.cs
- DecimalAnimationBase.cs
- embossbitmapeffect.cs
- DependencyPropertyHelper.cs
- DbDeleteCommandTree.cs
- HwndSubclass.cs
- DoubleConverter.cs
- AnchoredBlock.cs
- IconBitmapDecoder.cs
- ConnectionConsumerAttribute.cs
- SymbolUsageManager.cs
- UrlUtility.cs
- Stylesheet.cs
- InstanceView.cs
- SurrogateEncoder.cs
- Matrix3DConverter.cs
- ProvidePropertyAttribute.cs
- BindingContext.cs
- Root.cs
- ExceptionUtil.cs
- ToolStripItemEventArgs.cs
- PrincipalPermission.cs
- XmlSchemaDatatype.cs
- ConfigurationValue.cs
- PropertyManager.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- CurrentTimeZone.cs
- Vector3DKeyFrameCollection.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Animatable.cs
- WindowsToolbar.cs
- CategoryAttribute.cs
- XmlLanguageConverter.cs
- MatrixUtil.cs
- CompiledXpathExpr.cs
- PageThemeParser.cs
- PropertyNames.cs
- CodeCommentStatement.cs
- RtfControls.cs
- UIElement.cs
- ChildTable.cs
- ListViewInsertedEventArgs.cs
- BasicExpressionVisitor.cs
- QueryMath.cs
- DynamicMethod.cs
- ActivityDesigner.cs
- Wrapper.cs
- RectangleConverter.cs
- SspiHelper.cs
- VisualTreeHelper.cs
- Or.cs
- X509Utils.cs
- Thumb.cs
- DataControlCommands.cs
- DispatcherSynchronizationContext.cs
- TrackingMemoryStream.cs
- MembershipUser.cs
- datacache.cs
- ConfigXmlCDataSection.cs
- EventNotify.cs
- BrowserDefinition.cs
- MappedMetaModel.cs
- FixedPageProcessor.cs
- StorageAssociationSetMapping.cs
- CollectionConverter.cs
- IsolatedStorageFile.cs
- MediaElementAutomationPeer.cs
- Compiler.cs
- RoutedEventHandlerInfo.cs
- TraceSource.cs
- Char.cs
- UserUseLicenseDictionaryLoader.cs
- SignalGate.cs
- EventSchemaTraceListener.cs
- SafeBuffer.cs
- Content.cs
- ListBoxItemAutomationPeer.cs
- RoleManagerEventArgs.cs
- JapaneseCalendar.cs
- CFGGrammar.cs
- ViewPort3D.cs