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
- DbQueryCommandTree.cs
- FixedFlowMap.cs
- MobileComponentEditorPage.cs
- DesignerOptionService.cs
- KeyedPriorityQueue.cs
- NavigationPropertySingletonExpression.cs
- RuntimeResourceSet.cs
- TargetFrameworkAttribute.cs
- Identity.cs
- Misc.cs
- ImmutableCollection.cs
- PathFigure.cs
- ReliableInputConnection.cs
- TrustLevelCollection.cs
- Message.cs
- KeyValuePair.cs
- EntityObject.cs
- NonParentingControl.cs
- EmbossBitmapEffect.cs
- SqlExpressionNullability.cs
- Control.cs
- PackageRelationshipSelector.cs
- MouseCaptureWithinProperty.cs
- ScrollChrome.cs
- CodeNamespaceImportCollection.cs
- ApplicationSettingsBase.cs
- DesignerImageAdapter.cs
- EntityDataSourceStatementEditor.cs
- RowUpdatedEventArgs.cs
- SqlLiftWhereClauses.cs
- DataSourceListEditor.cs
- TagPrefixCollection.cs
- HMACSHA512.cs
- ISFTagAndGuidCache.cs
- DummyDataSource.cs
- GetPageNumberCompletedEventArgs.cs
- DivideByZeroException.cs
- TransformerConfigurationWizardBase.cs
- DiagnosticTraceSchemas.cs
- nulltextcontainer.cs
- CompositeCollection.cs
- GenericEnumerator.cs
- GraphicsState.cs
- IriParsingElement.cs
- PasswordBox.cs
- TableCellAutomationPeer.cs
- TextWriterTraceListener.cs
- Attributes.cs
- DetailsViewInsertEventArgs.cs
- PowerStatus.cs
- SoapObjectWriter.cs
- CompileLiteralTextParser.cs
- StyleModeStack.cs
- UnicastIPAddressInformationCollection.cs
- DataObjectCopyingEventArgs.cs
- cryptoapiTransform.cs
- BufferedGraphicsContext.cs
- DocumentOrderQuery.cs
- CellConstantDomain.cs
- OdbcHandle.cs
- IResourceProvider.cs
- bidPrivateBase.cs
- MaterialGroup.cs
- ObjectConverter.cs
- DynamicDataRoute.cs
- URIFormatException.cs
- AvTrace.cs
- ValidationErrorCollection.cs
- WmlObjectListAdapter.cs
- BoolExpressionVisitors.cs
- TableParaClient.cs
- ColorConvertedBitmap.cs
- XsdValidatingReader.cs
- XmlIlTypeHelper.cs
- XappLauncher.cs
- HMAC.cs
- EntityConnectionStringBuilder.cs
- DataPagerFieldCommandEventArgs.cs
- SqlProviderServices.cs
- HuffModule.cs
- SingletonChannelAcceptor.cs
- ClassHandlersStore.cs
- XNodeNavigator.cs
- ExpressionTable.cs
- DbDataRecord.cs
- XmlTextEncoder.cs
- GZipUtils.cs
- Publisher.cs
- LassoSelectionBehavior.cs
- MetadataCacheItem.cs
- GridPattern.cs
- DnsEndPoint.cs
- BidirectionalDictionary.cs
- PrivateFontCollection.cs
- Object.cs
- ConnectionsZoneAutoFormat.cs
- JavascriptXmlWriterWrapper.cs
- EmbeddedMailObjectCollectionEditor.cs
- SessionParameter.cs
- TemplateComponentConnector.cs