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
- InvokeProviderWrapper.cs
- XmlDictionaryReader.cs
- TraceHandler.cs
- PeerHelpers.cs
- Evidence.cs
- FontStyles.cs
- Scene3D.cs
- TimersDescriptionAttribute.cs
- IdnElement.cs
- DataGridViewCellStyleConverter.cs
- MSAAEventDispatcher.cs
- TraceContextEventArgs.cs
- PopOutPanel.cs
- CodeMemberProperty.cs
- SerializationEventsCache.cs
- ReferenceService.cs
- Compress.cs
- QilFactory.cs
- XmlSerializerSection.cs
- Events.cs
- login.cs
- XmlCompatibilityReader.cs
- HighlightComponent.cs
- PtsHelper.cs
- XmlSchemaRedefine.cs
- RichTextBoxAutomationPeer.cs
- PrimitiveCodeDomSerializer.cs
- EventLogPermissionHolder.cs
- RegisteredHiddenField.cs
- SrgsSemanticInterpretationTag.cs
- QuarticEase.cs
- HttpPostedFile.cs
- DesignerActionUIStateChangeEventArgs.cs
- WsdlContractConversionContext.cs
- PropertySegmentSerializer.cs
- safelink.cs
- AsymmetricSignatureFormatter.cs
- InfoCardSymmetricCrypto.cs
- ItemsControl.cs
- CookieHandler.cs
- EntityDataSourceWizardForm.cs
- UpdateCommand.cs
- ConversionContext.cs
- EventManager.cs
- ImageMap.cs
- Debugger.cs
- ProgressBar.cs
- DataListItemEventArgs.cs
- COAUTHIDENTITY.cs
- PresentationAppDomainManager.cs
- EventSinkHelperWriter.cs
- ExpanderAutomationPeer.cs
- IsolatedStorageException.cs
- PageWrapper.cs
- WebPartConnectionsDisconnectVerb.cs
- UnionCodeGroup.cs
- XmlWellformedWriter.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- PropertyAccessVisitor.cs
- GenericPrincipal.cs
- HttpFormatExtensions.cs
- StrokeNodeOperations2.cs
- DefaultBindingPropertyAttribute.cs
- OutputCacheSettings.cs
- NotificationContext.cs
- DataBinding.cs
- RepeatButtonAutomationPeer.cs
- StatusBarDrawItemEvent.cs
- DependencyObjectPropertyDescriptor.cs
- RTLAwareMessageBox.cs
- RectAnimationUsingKeyFrames.cs
- printdlgexmarshaler.cs
- TableLayoutSettingsTypeConverter.cs
- DataGridViewColumnTypePicker.cs
- SynchronizationContext.cs
- RadioButton.cs
- StorageRoot.cs
- MessageHeader.cs
- XmlDsigSep2000.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SolidColorBrush.cs
- ConnectorRouter.cs
- CodeIndexerExpression.cs
- XmlSchemaInferenceException.cs
- IsolatedStoragePermission.cs
- DockPatternIdentifiers.cs
- _SafeNetHandles.cs
- ProviderMetadataCachedInformation.cs
- AnnotationHighlightLayer.cs
- ObjectListShowCommandsEventArgs.cs
- SvcMapFile.cs
- ProcessModule.cs
- __Error.cs
- SystemException.cs
- Token.cs
- IntSecurity.cs
- ScrollChrome.cs
- FrameworkObject.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- LocalizationCodeDomSerializer.cs