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
- SqlDataSourceDesigner.cs
- KnownTypeDataContractResolver.cs
- DirectoryInfo.cs
- ModelFactory.cs
- SequentialOutput.cs
- BaseParagraph.cs
- StackOverflowException.cs
- EntityDataSourceWrapper.cs
- DbParameterCollectionHelper.cs
- WorkflowItemPresenter.cs
- SQLInt64Storage.cs
- Schema.cs
- CacheAxisQuery.cs
- FormsAuthenticationTicket.cs
- PromptStyle.cs
- BoundingRectTracker.cs
- XmlDocumentFieldSchema.cs
- FunctionDescription.cs
- IntellisenseTextBox.cs
- ParserStack.cs
- SmtpClient.cs
- Range.cs
- Ipv6Element.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- Span.cs
- ControlIdConverter.cs
- UseManagedPresentationBindingElement.cs
- ReferencedCategoriesDocument.cs
- Lasso.cs
- ListViewCommandEventArgs.cs
- DocumentEventArgs.cs
- BorderGapMaskConverter.cs
- WrappedIUnknown.cs
- NonSerializedAttribute.cs
- PersonalizableTypeEntry.cs
- MarginsConverter.cs
- GuidTagList.cs
- DetailsViewInsertEventArgs.cs
- Attribute.cs
- URLAttribute.cs
- GroupBox.cs
- SafeNativeMethods.cs
- RootDesignerSerializerAttribute.cs
- exports.cs
- RegexBoyerMoore.cs
- URIFormatException.cs
- ZipPackagePart.cs
- XmlSchemaGroup.cs
- ProcessManager.cs
- HtmlToClrEventProxy.cs
- SemanticResultValue.cs
- AsymmetricKeyExchangeFormatter.cs
- UriSectionReader.cs
- PropertyNames.cs
- FacetDescription.cs
- BooleanSwitch.cs
- Pair.cs
- Expression.cs
- MonthCalendar.cs
- TCPClient.cs
- clipboard.cs
- IsolatedStorageFilePermission.cs
- AppDomainManager.cs
- ReflectionTypeLoadException.cs
- PeerNameResolver.cs
- ArgumentDesigner.xaml.cs
- ChildChangedEventArgs.cs
- DataGridViewCellCancelEventArgs.cs
- FontSourceCollection.cs
- SecurityHelper.cs
- DataColumn.cs
- MultiByteCodec.cs
- AssemblyName.cs
- GenericUI.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ReadOnlyDictionary.cs
- EntityClassGenerator.cs
- Utils.cs
- HttpCookiesSection.cs
- TimeZoneNotFoundException.cs
- KeyboardEventArgs.cs
- SqlFactory.cs
- AsyncOperationContext.cs
- UInt32Converter.cs
- BoolExpressionVisitors.cs
- ClientApiGenerator.cs
- TextHintingModeValidation.cs
- XPathDocumentIterator.cs
- Menu.cs
- DBCommand.cs
- ListItem.cs
- PrinterSettings.cs
- KeyValueSerializer.cs
- Attachment.cs
- Animatable.cs
- TypedAsyncResult.cs
- ClickablePoint.cs
- NativeMethodsCLR.cs
- IOThreadScheduler.cs
- MarshalByRefObject.cs