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
- PolyQuadraticBezierSegment.cs
- SerTrace.cs
- XhtmlBasicObjectListAdapter.cs
- XmlSchemaSubstitutionGroup.cs
- DefaultValueConverter.cs
- SqlExpander.cs
- ViewStateModeByIdAttribute.cs
- InvalidEnumArgumentException.cs
- SqlCommandSet.cs
- RawAppCommandInputReport.cs
- TypeInitializationException.cs
- ParameterCollectionEditorForm.cs
- PenThread.cs
- RelatedView.cs
- TransformedBitmap.cs
- RIPEMD160.cs
- CodeExpressionCollection.cs
- ExeConfigurationFileMap.cs
- IssuedTokenParametersEndpointAddressElement.cs
- MailBnfHelper.cs
- X509CertificateRecipientClientCredential.cs
- TextTreeFixupNode.cs
- IriParsingElement.cs
- UpnEndpointIdentity.cs
- CallbackValidator.cs
- PreApplicationStartMethodAttribute.cs
- PersistenceProviderFactory.cs
- UpdateRecord.cs
- ResponseBodyWriter.cs
- XmlSerializationReader.cs
- WindowsListBox.cs
- BaseCollection.cs
- ApplicationInterop.cs
- MarshalByRefObject.cs
- InstalledFontCollection.cs
- InternalTypeHelper.cs
- DataBinding.cs
- DeleteBookmarkScope.cs
- ReferentialConstraint.cs
- BamlVersionHeader.cs
- EditorAttribute.cs
- ItemContainerPattern.cs
- _ScatterGatherBuffers.cs
- ToolboxItemAttribute.cs
- WrappedReader.cs
- TCPClient.cs
- InstalledFontCollection.cs
- BigInt.cs
- FunctionParameter.cs
- mediaclock.cs
- RectKeyFrameCollection.cs
- ListViewItemMouseHoverEvent.cs
- NativeStructs.cs
- NamedPermissionSet.cs
- LongValidator.cs
- ContentType.cs
- SynchronizedInputAdaptor.cs
- KeyValueInternalCollection.cs
- EntityContainerAssociationSetEnd.cs
- SharedStatics.cs
- CommandBinding.cs
- PhoneCall.cs
- Zone.cs
- FontNameConverter.cs
- invalidudtexception.cs
- PreProcessor.cs
- QueryOptionExpression.cs
- ChangePasswordDesigner.cs
- ChannelManagerHelpers.cs
- AssemblyBuilder.cs
- DataGridViewCellCollection.cs
- Figure.cs
- ParserStack.cs
- SqlDataSourceCommandEventArgs.cs
- SystemIPGlobalStatistics.cs
- MachineKeyConverter.cs
- CodeChecksumPragma.cs
- ManagementObject.cs
- OutputCacheModule.cs
- MailMessage.cs
- DataObjectSettingDataEventArgs.cs
- StorageComplexPropertyMapping.cs
- DbMetaDataCollectionNames.cs
- FacetChecker.cs
- BaseParser.cs
- DesignerCategoryAttribute.cs
- SchemaAttDef.cs
- FilteredAttributeCollection.cs
- ExceptionHandler.cs
- XmlElementAttribute.cs
- WebPartMenu.cs
- Debug.cs
- sqlstateclientmanager.cs
- MessageQueueInstaller.cs
- _RegBlobWebProxyDataBuilder.cs
- SqlGatherConsumedAliases.cs
- XPathConvert.cs
- EqualityComparer.cs
- BooleanFunctions.cs
- MLangCodePageEncoding.cs