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
- ExtensibleClassFactory.cs
- NullableConverter.cs
- SiteMapSection.cs
- EpmSourcePathSegment.cs
- CalendarDateRangeChangingEventArgs.cs
- Serializer.cs
- ControlParameter.cs
- SiteMembershipCondition.cs
- WindowsScrollBar.cs
- MenuItemBindingCollection.cs
- PingReply.cs
- ExtensionQuery.cs
- Baml2006Reader.cs
- ResXBuildProvider.cs
- FrameworkObject.cs
- EventListener.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- StateManagedCollection.cs
- X509SecurityTokenAuthenticator.cs
- ContextMenu.cs
- HostedHttpContext.cs
- PageContentCollection.cs
- SecurityDescriptor.cs
- DocumentOrderQuery.cs
- XmlSchemaSet.cs
- SourceCollection.cs
- SafeCoTaskMem.cs
- SmtpLoginAuthenticationModule.cs
- DoubleKeyFrameCollection.cs
- SqlCachedBuffer.cs
- util.cs
- SiteMapProvider.cs
- SettingsPropertyWrongTypeException.cs
- XslAst.cs
- ToolStripRendererSwitcher.cs
- WebPartEditorApplyVerb.cs
- CapacityStreamGeometryContext.cs
- ObjectDisposedException.cs
- __TransparentProxy.cs
- WebException.cs
- Hashtable.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- WriteTimeStream.cs
- ProcessInfo.cs
- linebase.cs
- StreamHelper.cs
- WebControl.cs
- UIElement3D.cs
- ConsoleKeyInfo.cs
- FontWeightConverter.cs
- SBCSCodePageEncoding.cs
- UriExt.cs
- ControlBuilder.cs
- PartitionedDataSource.cs
- DBAsyncResult.cs
- ViewBase.cs
- DataGridPreparingCellForEditEventArgs.cs
- TreeViewCancelEvent.cs
- QuadraticBezierSegment.cs
- SafeNativeMethods.cs
- Annotation.cs
- SecurityVerifiedMessage.cs
- GenericParameterDataContract.cs
- DeferredSelectedIndexReference.cs
- MenuAutomationPeer.cs
- PluralizationServiceUtil.cs
- FontStyleConverter.cs
- DynamicMethod.cs
- DocumentPage.cs
- CurrentTimeZone.cs
- WindowsUpDown.cs
- XmlSerializableWriter.cs
- OAVariantLib.cs
- ObjectReaderCompiler.cs
- ParagraphVisual.cs
- CompilationLock.cs
- TreeViewImageKeyConverter.cs
- IdentitySection.cs
- XamlLoadErrorInfo.cs
- EditingCommands.cs
- SqlClientFactory.cs
- InheritanceContextHelper.cs
- HwndSubclass.cs
- PtsCache.cs
- CacheEntry.cs
- XPathAxisIterator.cs
- BitmapScalingModeValidation.cs
- EntityDataSourceWrapperCollection.cs
- CapabilitiesPattern.cs
- HyperLinkDataBindingHandler.cs
- DateTimePicker.cs
- HttpAsyncResult.cs
- Propagator.Evaluator.cs
- SqlBooleanMismatchVisitor.cs
- RectAnimationClockResource.cs
- TextEmbeddedObject.cs
- DataColumnMappingCollection.cs
- TextBoxBase.cs
- XmlSchemaException.cs
- relpropertyhelper.cs