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
- GregorianCalendar.cs
- ReturnEventArgs.cs
- parserscommon.cs
- PolyLineSegment.cs
- TdsParserSafeHandles.cs
- ZoneLinkButton.cs
- SystemEvents.cs
- XamlInterfaces.cs
- PasswordBox.cs
- QilFunction.cs
- TextSearch.cs
- WebServicesInteroperability.cs
- DisplayNameAttribute.cs
- ChannelFactoryRefCache.cs
- WebBrowserEvent.cs
- Metafile.cs
- GeometryHitTestResult.cs
- SkinBuilder.cs
- DataGridViewSortCompareEventArgs.cs
- Cell.cs
- PrintControllerWithStatusDialog.cs
- BamlLocalizableResourceKey.cs
- TypeDescriptionProvider.cs
- LicenseException.cs
- ConfigurationLocationCollection.cs
- DataGridViewRowsAddedEventArgs.cs
- SafeCryptHandles.cs
- CommandValueSerializer.cs
- SafeTimerHandle.cs
- NotSupportedException.cs
- StrongNameMembershipCondition.cs
- Opcode.cs
- ToolBarButton.cs
- ZeroOpNode.cs
- XmlSchemas.cs
- ClrProviderManifest.cs
- XmlIlVisitor.cs
- ImportFileRequest.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CheckPair.cs
- HttpProxyTransportBindingElement.cs
- SecurityContextKeyIdentifierClause.cs
- ButtonChrome.cs
- MD5Cng.cs
- JsonStringDataContract.cs
- BypassElement.cs
- VectorKeyFrameCollection.cs
- XmlQueryOutput.cs
- RequiredFieldValidator.cs
- PeerObject.cs
- GridViewPageEventArgs.cs
- FilterEventArgs.cs
- CoTaskMemHandle.cs
- SID.cs
- DbConnectionPoolCounters.cs
- ParserContext.cs
- CurrencyManager.cs
- DbProviderFactories.cs
- ControlType.cs
- DesignerSelectionListAdapter.cs
- ListViewGroupConverter.cs
- BrowserCapabilitiesFactory.cs
- SqlMethodCallConverter.cs
- DataGridViewElement.cs
- SQLBinary.cs
- WsdlBuildProvider.cs
- ProgressBarHighlightConverter.cs
- DropShadowBitmapEffect.cs
- StructuredType.cs
- OpCodes.cs
- FunctionImportElement.cs
- RawStylusInputCustomDataList.cs
- OdbcConnectionHandle.cs
- XmlKeywords.cs
- SAPICategories.cs
- ToolboxItem.cs
- PanelStyle.cs
- BufferAllocator.cs
- CharEntityEncoderFallback.cs
- Material.cs
- ClientRuntimeConfig.cs
- AncestorChangedEventArgs.cs
- securitycriticaldataClass.cs
- DataGridViewCell.cs
- PermissionListSet.cs
- ContextMenu.cs
- Point.cs
- WebControlsSection.cs
- DesignerProperties.cs
- PersonalizationState.cs
- ListViewItemMouseHoverEvent.cs
- SchemaSetCompiler.cs
- Menu.cs
- CodeGen.cs
- MetricEntry.cs
- FileDetails.cs
- IdleTimeoutMonitor.cs
- SQLDecimalStorage.cs
- CommandValueSerializer.cs
- FolderBrowserDialog.cs