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
- EdmToObjectNamespaceMap.cs
- DependencyPropertyKey.cs
- DebugHandleTracker.cs
- SafeHandle.cs
- RegionIterator.cs
- HierarchicalDataBoundControl.cs
- KeyValueSerializer.cs
- BamlResourceDeserializer.cs
- DataSourceListEditor.cs
- MetadataArtifactLoader.cs
- EncodingInfo.cs
- StylusCollection.cs
- DynamicDocumentPaginator.cs
- PropertyEntry.cs
- XmlChildEnumerator.cs
- ChannelManager.cs
- SortedSet.cs
- InkCanvasAutomationPeer.cs
- VarInfo.cs
- AttachInfo.cs
- EntityCommandCompilationException.cs
- InertiaExpansionBehavior.cs
- ValidationHelpers.cs
- InProcStateClientManager.cs
- UnhandledExceptionEventArgs.cs
- SpecialNameAttribute.cs
- Multiply.cs
- DomNameTable.cs
- InvalidOleVariantTypeException.cs
- Memoizer.cs
- DataFieldCollectionEditor.cs
- BitFlagsGenerator.cs
- XmlSchemaObject.cs
- DbProviderManifest.cs
- DataSourceCache.cs
- DataObjectAttribute.cs
- ParameterCollectionEditor.cs
- Attributes.cs
- PropertyCollection.cs
- Stackframe.cs
- CmsInterop.cs
- XpsException.cs
- TypeCodeDomSerializer.cs
- ListViewSortEventArgs.cs
- ConsumerConnectionPointCollection.cs
- glyphs.cs
- DeclaredTypeValidator.cs
- TextShapeableCharacters.cs
- PropertyRecord.cs
- TraceContextEventArgs.cs
- ElementsClipboardData.cs
- _AutoWebProxyScriptEngine.cs
- CodeCastExpression.cs
- XamlPointCollectionSerializer.cs
- ScrollChrome.cs
- EventHandlersStore.cs
- SmtpClient.cs
- Number.cs
- ChangeInterceptorAttribute.cs
- SqlInternalConnection.cs
- ISAPIWorkerRequest.cs
- QilUnary.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TextBoxView.cs
- ErrorLog.cs
- Subtree.cs
- Lease.cs
- MemberListBinding.cs
- IndexedEnumerable.cs
- MethodImplAttribute.cs
- EastAsianLunisolarCalendar.cs
- FileCodeGroup.cs
- OraclePermissionAttribute.cs
- EventDescriptor.cs
- PropertyFilterAttribute.cs
- ReservationCollection.cs
- TextElementEnumerator.cs
- Visual3DCollection.cs
- TraceContext.cs
- WebPartPersonalization.cs
- GlyphInfoList.cs
- path.cs
- MediaContextNotificationWindow.cs
- FixedSOMImage.cs
- HttpListenerException.cs
- WebPartEditorApplyVerb.cs
- PeerPresenceInfo.cs
- BamlRecords.cs
- ReadWriteObjectLock.cs
- AndCondition.cs
- DesignerCommandSet.cs
- SecurityToken.cs
- Polyline.cs
- StringReader.cs
- TimerElapsedEvenArgs.cs
- LinqDataSourceInsertEventArgs.cs
- BindingBase.cs
- ControlBuilder.cs
- smtpconnection.cs
- VSWCFServiceContractGenerator.cs