Code:
/ DotNET / DotNET / 8.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
- UnsafeNativeMethods.cs
- HasCopySemanticsAttribute.cs
- CodeGenerator.cs
- WebPartVerb.cs
- Substitution.cs
- AuthenticateEventArgs.cs
- EncodingDataItem.cs
- TypeUsageBuilder.cs
- ReceiveDesigner.xaml.cs
- HtmlSelect.cs
- XPathAncestorIterator.cs
- Model3DCollection.cs
- XmlObjectSerializer.cs
- InvokeCompletedEventArgs.cs
- XmlNodeChangedEventArgs.cs
- RectKeyFrameCollection.cs
- XmlSchemaInclude.cs
- SqlNotificationRequest.cs
- ZipPackage.cs
- EntityFunctions.cs
- Graphics.cs
- WriteTimeStream.cs
- ObjectSet.cs
- BackStopAuthenticationModule.cs
- UniqueEventHelper.cs
- DaylightTime.cs
- InsufficientMemoryException.cs
- WebServiceFault.cs
- BulletedList.cs
- QilNode.cs
- WmlLinkAdapter.cs
- InheritanceRules.cs
- SqlDataSource.cs
- DefaultAuthorizationContext.cs
- _SSPIWrapper.cs
- FormatterServices.cs
- WorkflowApplicationEventArgs.cs
- StreamedFramingRequestChannel.cs
- CompressionTracing.cs
- HttpDigestClientCredential.cs
- ComponentChangingEvent.cs
- TypedTableBaseExtensions.cs
- PropertyCollection.cs
- ThemeInfoAttribute.cs
- TheQuery.cs
- Int64.cs
- WebPartZone.cs
- TextEffectCollection.cs
- ConnectionPointCookie.cs
- ListDictionaryInternal.cs
- MarshalByRefObject.cs
- XsltQilFactory.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ToolStripDesignerAvailabilityAttribute.cs
- UriSectionData.cs
- WebEvents.cs
- PrintPreviewDialog.cs
- ByteStack.cs
- PagerSettings.cs
- URI.cs
- NumericExpr.cs
- versioninfo.cs
- Win32KeyboardDevice.cs
- LineUtil.cs
- AccessedThroughPropertyAttribute.cs
- MarginsConverter.cs
- ResXBuildProvider.cs
- CardSpaceShim.cs
- BlockCollection.cs
- SymbolEqualComparer.cs
- ModulesEntry.cs
- WebPartDisplayModeCancelEventArgs.cs
- AmbientProperties.cs
- QilInvoke.cs
- CharConverter.cs
- BinaryObjectInfo.cs
- InstanceData.cs
- ListItem.cs
- MenuItemStyleCollection.cs
- OleCmdHelper.cs
- ButtonBaseAdapter.cs
- Button.cs
- loginstatus.cs
- ListViewAutomationPeer.cs
- AccessViolationException.cs
- NGCPageContentCollectionSerializerAsync.cs
- XmlSignatureProperties.cs
- ResolveCompletedEventArgs.cs
- APCustomTypeDescriptor.cs
- PermissionToken.cs
- MenuCommands.cs
- TraceSwitch.cs
- RuntimeArgumentHandle.cs
- EmbeddedMailObject.cs
- ListBoxDesigner.cs
- MetadataHelper.cs
- SystemInfo.cs
- MemberPath.cs
- ContentValidator.cs
- DesignTimeXamlWriter.cs