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
- MobileUserControl.cs
- SignatureResourcePool.cs
- NumberSubstitution.cs
- InternalConfigConfigurationFactory.cs
- MimeWriter.cs
- SettingsProperty.cs
- ProgressBar.cs
- XpsS0ValidatingLoader.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- AutomationFocusChangedEventArgs.cs
- OraclePermissionAttribute.cs
- TypeForwardedToAttribute.cs
- HtmlTableRowCollection.cs
- PostBackTrigger.cs
- SoapSchemaMember.cs
- XmlLoader.cs
- CompilerHelpers.cs
- ImagingCache.cs
- XmlCollation.cs
- CurrencyWrapper.cs
- SqlDelegatedTransaction.cs
- RecordManager.cs
- LassoSelectionBehavior.cs
- PeerOutputChannel.cs
- PoisonMessageException.cs
- ComponentEditorForm.cs
- AnnotationElement.cs
- DesignTimeValidationFeature.cs
- PolicyLevel.cs
- CheckBoxFlatAdapter.cs
- BrowserInteropHelper.cs
- RowUpdatingEventArgs.cs
- DependencyObject.cs
- SecurityContextSecurityToken.cs
- CachedBitmap.cs
- DragStartedEventArgs.cs
- FloaterParaClient.cs
- TextDecoration.cs
- EntityWrapperFactory.cs
- ConfigXmlElement.cs
- PrivateFontCollection.cs
- MessageRpc.cs
- ConfigXmlReader.cs
- _AutoWebProxyScriptEngine.cs
- DeclarativeCatalogPartDesigner.cs
- RoutingExtensionElement.cs
- OracleLob.cs
- IdentityModelStringsVersion1.cs
- ShaderEffect.cs
- ThemeInfoAttribute.cs
- OleDbException.cs
- QilBinary.cs
- RuntimeConfig.cs
- FixedTextBuilder.cs
- SeparatorAutomationPeer.cs
- ArglessEventHandlerProxy.cs
- SinglePageViewer.cs
- BatchStream.cs
- namescope.cs
- RoutedPropertyChangedEventArgs.cs
- ClientSettings.cs
- DuplicateWaitObjectException.cs
- WorkerRequest.cs
- Atom10FeedFormatter.cs
- KeyFrames.cs
- securestring.cs
- SqlDuplicator.cs
- SmtpException.cs
- TypeDelegator.cs
- TraceContextEventArgs.cs
- StickyNoteContentControl.cs
- BindableTemplateBuilder.cs
- LocationUpdates.cs
- AsyncPostBackTrigger.cs
- EditBehavior.cs
- HtmlTable.cs
- BooleanExpr.cs
- RSACryptoServiceProvider.cs
- Policy.cs
- AssemblyCollection.cs
- InsufficientMemoryException.cs
- DataBoundLiteralControl.cs
- TrustManager.cs
- NamedPipeChannelFactory.cs
- WebPartChrome.cs
- CustomLineCap.cs
- HttpPostServerProtocol.cs
- ProfessionalColorTable.cs
- StringUtil.cs
- ObjectContext.cs
- LOSFormatter.cs
- HtmlTernaryTree.cs
- ParenthesizePropertyNameAttribute.cs
- InputLanguageCollection.cs
- InternalSendMessage.cs
- PolicyLevel.cs
- EndPoint.cs
- BooleanSwitch.cs
- Policy.cs
- TrailingSpaceComparer.cs