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
- WebEventTraceProvider.cs
- oledbconnectionstring.cs
- TextEndOfSegment.cs
- rsa.cs
- QilTargetType.cs
- ExpressionBindingCollection.cs
- regiisutil.cs
- ListViewGroup.cs
- SaveFileDialogDesigner.cs
- Evaluator.cs
- KeyToListMap.cs
- IgnoreSection.cs
- StorageMappingItemCollection.cs
- ResourceCodeDomSerializer.cs
- CellParaClient.cs
- CopyAction.cs
- IdnElement.cs
- FormsAuthenticationUser.cs
- StopRoutingHandler.cs
- SystemNetHelpers.cs
- SafeNativeMethodsOther.cs
- Root.cs
- DataGridViewButtonColumn.cs
- RuntimeHandles.cs
- WorkflowOperationInvoker.cs
- XPathEmptyIterator.cs
- CreateBookmarkScope.cs
- TableItemProviderWrapper.cs
- TabItemWrapperAutomationPeer.cs
- SystemFonts.cs
- InfoCardCryptoHelper.cs
- ObjectCloneHelper.cs
- ViewPort3D.cs
- ParameterCollection.cs
- EventLogTraceListener.cs
- ChangeProcessor.cs
- URIFormatException.cs
- InteropBitmapSource.cs
- Storyboard.cs
- SuppressMessageAttribute.cs
- TableRow.cs
- IpcClientManager.cs
- ValidatedControlConverter.cs
- MailHeaderInfo.cs
- ResourceContainer.cs
- CollectionViewProxy.cs
- Clause.cs
- ManipulationStartingEventArgs.cs
- DataRecordObjectView.cs
- MessageQueue.cs
- SetStoryboardSpeedRatio.cs
- WorkflowInstanceContextProvider.cs
- SizeChangedEventArgs.cs
- SimpleExpression.cs
- NewExpression.cs
- WindowsListViewItemStartMenu.cs
- StructuredTypeInfo.cs
- SoapHttpTransportImporter.cs
- CFStream.cs
- ChildTable.cs
- WebPartHelpVerb.cs
- IgnoreSectionHandler.cs
- SymbolTable.cs
- WindowInteropHelper.cs
- ListComponentEditor.cs
- ProjectedSlot.cs
- ValidatorUtils.cs
- Sql8ConformanceChecker.cs
- TemplateControlParser.cs
- EventLog.cs
- SQLMoney.cs
- SubpageParaClient.cs
- CalendarDataBindingHandler.cs
- ScriptManager.cs
- ColorTranslator.cs
- RichTextBoxConstants.cs
- TabControlAutomationPeer.cs
- ContentType.cs
- GradientBrush.cs
- SolidColorBrush.cs
- ServiceRouteHandler.cs
- DescendantOverDescendantQuery.cs
- HtmlElementEventArgs.cs
- CompiledQuery.cs
- SoapProtocolReflector.cs
- NetTcpBindingElement.cs
- StrokeRenderer.cs
- OLEDB_Enum.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- BitmapEncoder.cs
- QilName.cs
- PropertyGridCommands.cs
- HttpValueCollection.cs
- MarkupWriter.cs
- SHA256Managed.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ScrollData.cs
- ImageFormat.cs
- Soap.cs
- RPIdentityRequirement.cs