Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Services / IO / System / IO / FileSystemEventArgs.cs / 1 / 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; } } } }/// 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
- ConfigXmlComment.cs
- TagPrefixInfo.cs
- BrowserCapabilitiesCompiler.cs
- WeakReferenceList.cs
- Fonts.cs
- ExtendedPropertyDescriptor.cs
- RepeatInfo.cs
- ControlIdConverter.cs
- SuppressMessageAttribute.cs
- ExpressionCopier.cs
- GatewayDefinition.cs
- CodeVariableDeclarationStatement.cs
- MethodExpr.cs
- SqlAliasesReferenced.cs
- ReflectionTypeLoadException.cs
- PrimitiveSchema.cs
- Knowncolors.cs
- JournalEntryListConverter.cs
- BuildResultCache.cs
- OptimalTextSource.cs
- AlternateView.cs
- DataGridView.cs
- WebServiceAttribute.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- RecognitionResult.cs
- ExceptionWrapper.cs
- _UriTypeConverter.cs
- ImageAutomationPeer.cs
- AspCompat.cs
- IItemContainerGenerator.cs
- FilterElement.cs
- ProjectionPruner.cs
- FileEnumerator.cs
- Condition.cs
- StructuredTypeEmitter.cs
- CompileXomlTask.cs
- ModelItemImpl.cs
- CacheChildrenQuery.cs
- AttributeCollection.cs
- StylusDownEventArgs.cs
- XPathAncestorIterator.cs
- BinaryWriter.cs
- StrokeCollection.cs
- HttpServerVarsCollection.cs
- CalendarButton.cs
- HwndPanningFeedback.cs
- PackagePart.cs
- TriggerActionCollection.cs
- StringResourceManager.cs
- Roles.cs
- ManagementEventArgs.cs
- DockProviderWrapper.cs
- HttpSocketManager.cs
- DataGridRelationshipRow.cs
- JsonDeserializer.cs
- ColumnCollection.cs
- IndentedWriter.cs
- OuterGlowBitmapEffect.cs
- SystemThemeKey.cs
- TextElementCollectionHelper.cs
- ListBase.cs
- Aggregates.cs
- ControlCachePolicy.cs
- exports.cs
- PnrpPeerResolver.cs
- OrderingInfo.cs
- COM2IPerPropertyBrowsingHandler.cs
- FtpRequestCacheValidator.cs
- BinaryWriter.cs
- SchemaImporter.cs
- SafeNativeMethods.cs
- DeclaredTypeElement.cs
- TrackBar.cs
- IgnoreSectionHandler.cs
- DocumentGridContextMenu.cs
- DataGridHeaderBorder.cs
- DataSourceCache.cs
- ByteStack.cs
- DesignSurface.cs
- DefaultValueAttribute.cs
- DbMetaDataColumnNames.cs
- CursorConverter.cs
- XamlBrushSerializer.cs
- ComplexTypeEmitter.cs
- ExtentJoinTreeNode.cs
- CharacterHit.cs
- StringInfo.cs
- DesignTimeVisibleAttribute.cs
- SchemaExporter.cs
- DatatypeImplementation.cs
- WinInetCache.cs
- PassportAuthentication.cs
- SymbolResolver.cs
- cookie.cs
- DataStreamFromComStream.cs
- Translator.cs
- CompressStream.cs
- DataSourceHelper.cs
- RuntimeArgumentHandle.cs
- sqlser.cs