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
- CodeCatchClause.cs
- webbrowsersite.cs
- AnnotationAdorner.cs
- RadioButtonList.cs
- RandomNumberGenerator.cs
- NamespaceInfo.cs
- JournalNavigationScope.cs
- SamlDelegatingWriter.cs
- HttpRuntimeSection.cs
- ApplicationSecurityManager.cs
- HtmlShimManager.cs
- VirtualPathUtility.cs
- PersonalizationProvider.cs
- XslUrlEditor.cs
- QueryMatcher.cs
- ListArgumentProvider.cs
- AsyncCompletedEventArgs.cs
- DbConnectionHelper.cs
- AdapterDictionary.cs
- Stack.cs
- XmlnsCompatibleWithAttribute.cs
- CodeNamespaceImport.cs
- COM2EnumConverter.cs
- ParameterCollection.cs
- DesigntimeLicenseContextSerializer.cs
- COM2ColorConverter.cs
- Function.cs
- GlobalizationAssembly.cs
- PersistenceTypeAttribute.cs
- ScrollProperties.cs
- SlipBehavior.cs
- AdornedElementPlaceholder.cs
- FixedTextBuilder.cs
- ZipIOLocalFileBlock.cs
- StrongNamePublicKeyBlob.cs
- GridLengthConverter.cs
- ReadOnlyTernaryTree.cs
- UnsafeNativeMethods.cs
- Material.cs
- AuthenticationModuleElement.cs
- NodeLabelEditEvent.cs
- DataTrigger.cs
- Win32SafeHandles.cs
- ItemContainerGenerator.cs
- Animatable.cs
- TimelineGroup.cs
- HtmlTableRow.cs
- CodeSnippetExpression.cs
- AuthenticationService.cs
- BlobPersonalizationState.cs
- InternalCache.cs
- QilStrConcat.cs
- SystemParameters.cs
- SpeakProgressEventArgs.cs
- ObjectManager.cs
- ChildChangedEventArgs.cs
- NameObjectCollectionBase.cs
- TraceLog.cs
- OdbcTransaction.cs
- ProjectedSlot.cs
- StrokeIntersection.cs
- followingquery.cs
- PageClientProxyGenerator.cs
- ScaleTransform.cs
- XmlDataImplementation.cs
- AgileSafeNativeMemoryHandle.cs
- DataBindingsDialog.cs
- PathSegment.cs
- PKCS1MaskGenerationMethod.cs
- ProcessHostConfigUtils.cs
- SingleKeyFrameCollection.cs
- BinaryObjectReader.cs
- CommandManager.cs
- FontDifferentiator.cs
- IISMapPath.cs
- sqlstateclientmanager.cs
- RequestChannel.cs
- Int64Storage.cs
- FamilyCollection.cs
- DocumentPage.cs
- CustomAttribute.cs
- WebBrowserNavigatingEventHandler.cs
- Decorator.cs
- AvTraceFormat.cs
- IntranetCredentialPolicy.cs
- Inline.cs
- WebControlsSection.cs
- BasicBrowserDialog.designer.cs
- CommentEmitter.cs
- CategoryAttribute.cs
- DataGridParentRows.cs
- ParameterCollectionEditor.cs
- ToolStripDropDownButton.cs
- WebBrowserUriTypeConverter.cs
- Line.cs
- RecipientInfo.cs
- AppDomainFactory.cs
- Misc.cs
- XmlTextWriter.cs
- DBCommandBuilder.cs