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
- CodeExporter.cs
- NonClientArea.cs
- DataStorage.cs
- ResourceDictionary.cs
- LinkClickEvent.cs
- TextParagraphCache.cs
- XmlMapping.cs
- ImageMapEventArgs.cs
- COM2ComponentEditor.cs
- PersonalizationProvider.cs
- BuildProviderAppliesToAttribute.cs
- Cursor.cs
- SupportingTokenBindingElement.cs
- UrlPath.cs
- DispatcherObject.cs
- FacetDescription.cs
- RestHandler.cs
- ExpressionConverter.cs
- ExpanderAutomationPeer.cs
- DesignerHierarchicalDataSourceView.cs
- TitleStyle.cs
- ConnectionPointCookie.cs
- SearchExpression.cs
- _LocalDataStoreMgr.cs
- PersonalizablePropertyEntry.cs
- ConfigurationSection.cs
- FileSystemWatcher.cs
- odbcmetadatacollectionnames.cs
- MutableAssemblyCacheEntry.cs
- ThreadInterruptedException.cs
- TagPrefixAttribute.cs
- WebPartDescriptionCollection.cs
- Sequence.cs
- __ComObject.cs
- CompilerInfo.cs
- DataGridItemCollection.cs
- BStrWrapper.cs
- IPGlobalProperties.cs
- HuffCodec.cs
- SecurityDescriptor.cs
- IfAction.cs
- DataGridLength.cs
- EventSinkHelperWriter.cs
- GroupItemAutomationPeer.cs
- ParamArrayAttribute.cs
- MetabaseServerConfig.cs
- LayoutManager.cs
- GeometryConverter.cs
- ListView.cs
- SmtpFailedRecipientException.cs
- CodeTypeReferenceCollection.cs
- RawKeyboardInputReport.cs
- TargetException.cs
- PeerCollaboration.cs
- TextMarkerSource.cs
- GridViewItemAutomationPeer.cs
- StaticDataManager.cs
- TextBox.cs
- Vector3DConverter.cs
- ZipIORawDataFileBlock.cs
- ScrollPattern.cs
- PropertyEmitterBase.cs
- OpenTypeLayout.cs
- SqlDependencyUtils.cs
- DataSource.cs
- TimeStampChecker.cs
- ToolStripItemGlyph.cs
- PackagePartCollection.cs
- DataGridViewLinkColumn.cs
- BinaryReader.cs
- UTF32Encoding.cs
- ConfigXmlComment.cs
- ImageSource.cs
- PriorityRange.cs
- DataGridViewCellStateChangedEventArgs.cs
- ExplicitDiscriminatorMap.cs
- _ContextAwareResult.cs
- RowUpdatedEventArgs.cs
- BamlBinaryWriter.cs
- TcpDuplicateContext.cs
- GeneralTransform.cs
- EventLogPropertySelector.cs
- CompilerTypeWithParams.cs
- TileModeValidation.cs
- TypeForwardedToAttribute.cs
- TypeToTreeConverter.cs
- NotFiniteNumberException.cs
- DataListItem.cs
- OrderByBuilder.cs
- TwoPhaseCommit.cs
- DoneReceivingAsyncResult.cs
- DbModificationClause.cs
- CompositeActivityTypeDescriptor.cs
- PopOutPanel.cs
- DbMetaDataCollectionNames.cs
- DataServiceQueryOfT.cs
- parserscommon.cs
- VirtualPath.cs
- TextDecorationCollectionConverter.cs
- FieldCollectionEditor.cs