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
- TimeManager.cs
- HtmlTextArea.cs
- TranslateTransform.cs
- ManifestSignedXml.cs
- MarkupExtensionSerializer.cs
- WorkflowOwnerAsyncResult.cs
- ConsoleKeyInfo.cs
- PrintDialog.cs
- HtmlInputControl.cs
- MatrixTransform.cs
- DataBindingCollection.cs
- x509utils.cs
- CalendarTable.cs
- Focus.cs
- Typography.cs
- CoreChannel.cs
- DataQuery.cs
- DetailsViewInsertEventArgs.cs
- DatatypeImplementation.cs
- Grant.cs
- PersianCalendar.cs
- QueryResult.cs
- TargetException.cs
- Listbox.cs
- RegexCode.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AddInActivator.cs
- TextShapeableCharacters.cs
- BaseDataListComponentEditor.cs
- PrimitiveXmlSerializers.cs
- SimpleTextLine.cs
- XsdBuilder.cs
- ObjectResult.cs
- Claim.cs
- ProviderCollection.cs
- BindingRestrictions.cs
- Camera.cs
- SHA512.cs
- TextTreeInsertElementUndoUnit.cs
- TemplateComponentConnector.cs
- PropertyConverter.cs
- XpsS0ValidatingLoader.cs
- DateTimeAutomationPeer.cs
- ImageAttributes.cs
- ScriptDescriptor.cs
- ListDictionaryInternal.cs
- TypeExtensionSerializer.cs
- SettingsBindableAttribute.cs
- OrderedDictionaryStateHelper.cs
- FastEncoderWindow.cs
- DeclarativeCatalogPart.cs
- BaseValidator.cs
- Clipboard.cs
- RefreshEventArgs.cs
- ResolveDuplexCD1AsyncResult.cs
- WinEventWrap.cs
- IdentityHolder.cs
- SelectionProcessor.cs
- ProfileProvider.cs
- UriSectionReader.cs
- HttpApplicationStateWrapper.cs
- TextTreeInsertElementUndoUnit.cs
- PenCursorManager.cs
- _TimerThread.cs
- ToolStripOverflow.cs
- XmlSerializerNamespaces.cs
- WinFormsComponentEditor.cs
- hebrewshape.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- BitmapEffectInput.cs
- GridViewPageEventArgs.cs
- TabPage.cs
- WebPartDisplayMode.cs
- FrameworkContextData.cs
- SecuritySessionFilter.cs
- DocumentXPathNavigator.cs
- DocumentGridContextMenu.cs
- AssemblyCache.cs
- _SslState.cs
- FastEncoder.cs
- SQLCharsStorage.cs
- DataBoundControlAdapter.cs
- EntityType.cs
- LayoutTableCell.cs
- Icon.cs
- TransformValueSerializer.cs
- NameValueFileSectionHandler.cs
- SafeBitVector32.cs
- InfoCardListRequest.cs
- ExceptionHandler.cs
- OperandQuery.cs
- ProviderConnectionPointCollection.cs
- CodeStatement.cs
- MutexSecurity.cs
- BitmapMetadata.cs
- Speller.cs
- IISUnsafeMethods.cs
- ScriptBehaviorDescriptor.cs
- ObjectSecurity.cs
- GridViewHeaderRowPresenter.cs