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
- DesignerActionTextItem.cs
- BinaryMethodMessage.cs
- CodeStatement.cs
- IDictionary.cs
- XmlAnyAttributeAttribute.cs
- SerializationStore.cs
- StructuralCache.cs
- RuleProcessor.cs
- HitTestDrawingContextWalker.cs
- Matrix3D.cs
- XamlWriter.cs
- TableDetailsRow.cs
- FilterElement.cs
- WebBrowserUriTypeConverter.cs
- QilName.cs
- WebPartChrome.cs
- ScriptMethodAttribute.cs
- CopyNodeSetAction.cs
- SmtpMail.cs
- DispatchProxy.cs
- DbProviderServices.cs
- ToolTipAutomationPeer.cs
- ContractValidationHelper.cs
- XmlCharType.cs
- NumericUpDownAcceleration.cs
- ConfigDefinitionUpdates.cs
- RecordsAffectedEventArgs.cs
- XPathNavigatorKeyComparer.cs
- DataListItemCollection.cs
- cache.cs
- DataControlCommands.cs
- DBCSCodePageEncoding.cs
- PersonalizationStateInfoCollection.cs
- ListMarkerLine.cs
- relpropertyhelper.cs
- EdmToObjectNamespaceMap.cs
- SoapAttributes.cs
- LineServicesCallbacks.cs
- HttpProfileGroupBase.cs
- ListViewItem.cs
- followingsibling.cs
- ClientProxyGenerator.cs
- MembershipPasswordException.cs
- DocumentPageHost.cs
- CodeEventReferenceExpression.cs
- SecurityChannelListener.cs
- XmlElementList.cs
- ModelUIElement3D.cs
- Schedule.cs
- PopOutPanel.cs
- ToolStripItemEventArgs.cs
- ResourceProviderFactory.cs
- FloatAverageAggregationOperator.cs
- BitVec.cs
- SafeNativeMethodsMilCoreApi.cs
- DataSourceHelper.cs
- HMACSHA512.cs
- ThreadPool.cs
- DataControlImageButton.cs
- BamlResourceContent.cs
- DocumentPaginator.cs
- CustomAssemblyResolver.cs
- InkCanvas.cs
- ConfigurationProviderException.cs
- DurableServiceAttribute.cs
- SqlCacheDependency.cs
- Border.cs
- IHttpResponseInternal.cs
- CatalogZone.cs
- XamlTypeWithExplicitNamespace.cs
- ProxyFragment.cs
- MailMessage.cs
- Int32RectConverter.cs
- EntityTypeEmitter.cs
- SQLBoolean.cs
- HandlerFactoryWrapper.cs
- XmlUnspecifiedAttribute.cs
- WebBrowserSiteBase.cs
- CustomWebEventKey.cs
- QEncodedStream.cs
- DataFormats.cs
- PopupEventArgs.cs
- UntypedNullExpression.cs
- CheckedPointers.cs
- XdrBuilder.cs
- MarkupCompiler.cs
- SystemResources.cs
- DBPropSet.cs
- User.cs
- TypedDataSourceCodeGenerator.cs
- ColorBlend.cs
- ListCollectionView.cs
- StateItem.cs
- formatter.cs
- UnsafeNativeMethods.cs
- EntityCodeGenerator.cs
- SafeRightsManagementQueryHandle.cs
- DesignerRegion.cs
- ColumnMapProcessor.cs
- PartialCachingAttribute.cs