Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / IO / System / IO / FileSystemEventArgs.cs / 1305376 / FileSystemEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.IO { using System.Diagnostics; using System.Security.Permissions; using System; ////// public class FileSystemEventArgs : EventArgs { private WatcherChangeTypes changeType; private string name; private string fullPath; ///Provides data for the directory events: ///, , . /// public FileSystemEventArgs(WatcherChangeTypes changeType, string directory, string name) { this.changeType = changeType; this.name = name; // Ensure that the directory name ends with a "\" if (!directory.EndsWith("\\", StringComparison.Ordinal)) { directory = directory + "\\"; } this.fullPath = directory + name; } ///Initializes a new instance of the ///class. /// public WatcherChangeTypes ChangeType { get { return changeType; } } ////// Gets /// one of the ////// values. /// /// public string FullPath { get { return fullPath; } } ////// Gets /// the /// fully qualifed path of the affected file or directory. /// ////// public string Name { get { return name; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets /// the name of the affected file or directory. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QilNode.cs
- ContentTextAutomationPeer.cs
- DesigntimeLicenseContextSerializer.cs
- System.Data_BID.cs
- SchemaInfo.cs
- DecoderFallback.cs
- ColumnHeader.cs
- DeploymentSection.cs
- MultipleViewPattern.cs
- AmbientProperties.cs
- XmlSchemaImporter.cs
- CancellationHandler.cs
- securestring.cs
- IdnMapping.cs
- HelpKeywordAttribute.cs
- ProfileGroupSettingsCollection.cs
- InternalDispatchObject.cs
- TypeForwardedToAttribute.cs
- Label.cs
- _Connection.cs
- EndOfStreamException.cs
- ExtractCollection.cs
- ScriptHandlerFactory.cs
- RequiredFieldValidator.cs
- RefreshEventArgs.cs
- User.cs
- SrgsGrammar.cs
- DbConnectionPoolGroup.cs
- FederatedMessageSecurityOverHttpElement.cs
- StructuredTypeEmitter.cs
- WindowsRebar.cs
- _ConnectionGroup.cs
- PageParser.cs
- CreatingCookieEventArgs.cs
- XmlHierarchicalEnumerable.cs
- FilteredXmlReader.cs
- DbProviderConfigurationHandler.cs
- ConnectionPoolManager.cs
- SymbolResolver.cs
- _TimerThread.cs
- XmlLanguageConverter.cs
- Logging.cs
- X500Name.cs
- ResourceDictionaryCollection.cs
- SqlGatherConsumedAliases.cs
- SHA512Managed.cs
- XmlWriterDelegator.cs
- GuidTagList.cs
- ToolStripProgressBar.cs
- ButtonFieldBase.cs
- TabControlCancelEvent.cs
- XmlUtil.cs
- StringAttributeCollection.cs
- bidPrivateBase.cs
- DefaultAsyncDataDispatcher.cs
- Accessible.cs
- Help.cs
- ArgIterator.cs
- Asn1Utilities.cs
- PageBreakRecord.cs
- SelectingProviderEventArgs.cs
- Int16AnimationUsingKeyFrames.cs
- CacheVirtualItemsEvent.cs
- LockedHandleGlyph.cs
- DbMetaDataColumnNames.cs
- LinkClickEvent.cs
- CapabilitiesSection.cs
- ResourcesChangeInfo.cs
- SpotLight.cs
- DbConnectionPoolGroupProviderInfo.cs
- HttpServerVarsCollection.cs
- ValueUtilsSmi.cs
- SingleResultAttribute.cs
- ProfilePropertyNameValidator.cs
- CodePageEncoding.cs
- ExpressionWriter.cs
- WindowsScrollBarBits.cs
- _HelperAsyncResults.cs
- CommandConverter.cs
- AdapterUtil.cs
- VisualBrush.cs
- IriParsingElement.cs
- OutputCacheSettingsSection.cs
- EntityParameterCollection.cs
- RuntimeConfigurationRecord.cs
- RestHandlerFactory.cs
- RequestQueryProcessor.cs
- BitmapEffectGroup.cs
- KeyboardDevice.cs
- StrokeNodeOperations2.cs
- WindowsFormsHelpers.cs
- NameScopePropertyAttribute.cs
- OleDbConnectionFactory.cs
- TextBox.cs
- FilteredAttributeCollection.cs
- PowerModeChangedEventArgs.cs
- XmlDataSourceNodeDescriptor.cs
- CultureSpecificStringDictionary.cs
- TypeResolver.cs
- DateTimeFormat.cs