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
- HybridDictionary.cs
- Keyboard.cs
- IdentityNotMappedException.cs
- DataGridViewTextBoxColumn.cs
- TypedTableBase.cs
- PageParserFilter.cs
- ReaderOutput.cs
- WinEventWrap.cs
- LineServicesRun.cs
- SizeAnimationClockResource.cs
- CaseCqlBlock.cs
- wgx_render.cs
- HtmlTable.cs
- EventSetter.cs
- Matrix.cs
- DesigntimeLicenseContextSerializer.cs
- EventData.cs
- StrokeNodeEnumerator.cs
- Variant.cs
- StylusEditingBehavior.cs
- SqlInfoMessageEvent.cs
- Parameter.cs
- DynamicResourceExtensionConverter.cs
- EntityCommand.cs
- ModuleConfigurationInfo.cs
- VisualCollection.cs
- Material.cs
- CellTreeNode.cs
- xdrvalidator.cs
- PersonalizationStateQuery.cs
- TypeUnloadedException.cs
- parserscommon.cs
- EncoderFallback.cs
- CodeIdentifiers.cs
- UInt16Converter.cs
- URLBuilder.cs
- LoginView.cs
- UriSection.cs
- Privilege.cs
- Number.cs
- PrimitiveSchema.cs
- StateMachineWorkflowInstance.cs
- BeginStoryboard.cs
- ConfigXmlWhitespace.cs
- SHA512Cng.cs
- TextDecorations.cs
- WebPartDisplayMode.cs
- DescriptionCreator.cs
- CommentEmitter.cs
- ActivityPreviewDesigner.cs
- MenuItem.cs
- RoutedEventHandlerInfo.cs
- BrowserCapabilitiesCompiler.cs
- ContentDefinition.cs
- HtmlInputText.cs
- RectAnimationClockResource.cs
- JsonServiceDocumentSerializer.cs
- WindowsRichEdit.cs
- PropertyToken.cs
- GridErrorDlg.cs
- HashJoinQueryOperatorEnumerator.cs
- RoleServiceManager.cs
- StreamingContext.cs
- xamlnodes.cs
- Expressions.cs
- DrawingAttributesDefaultValueFactory.cs
- MeasureItemEvent.cs
- MailDefinition.cs
- InputLangChangeEvent.cs
- ExpandSegment.cs
- ItemCheckedEvent.cs
- HtmlTableRow.cs
- ItemAutomationPeer.cs
- ObjectView.cs
- HeaderCollection.cs
- ResetableIterator.cs
- EventSetterHandlerConverter.cs
- SqlCommandSet.cs
- InvalidOleVariantTypeException.cs
- WindowsListViewScroll.cs
- NumberAction.cs
- WinEventTracker.cs
- OutputCacheSettings.cs
- DesignerTransaction.cs
- Renderer.cs
- PropertyChangingEventArgs.cs
- PasswordRecovery.cs
- InvokeGenerator.cs
- EncryptedKey.cs
- WebPartConnectionsCloseVerb.cs
- ReadOnlyTernaryTree.cs
- User.cs
- KeyToListMap.cs
- UmAlQuraCalendar.cs
- XmlAttributeCache.cs
- ConfigsHelper.cs
- DayRenderEvent.cs
- JsonWriterDelegator.cs
- FixedDocumentSequencePaginator.cs
- ContentPosition.cs