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
- TemplatePropertyEntry.cs
- GeometryCombineModeValidation.cs
- SoapReflector.cs
- ColumnClickEvent.cs
- ContextMenu.cs
- TraceLevelStore.cs
- DataGridViewColumnHeaderCell.cs
- ImageConverter.cs
- VariableReference.cs
- DesignerValidatorAdapter.cs
- SymmetricKeyWrap.cs
- DataBoundControlHelper.cs
- ArithmeticException.cs
- FrugalList.cs
- WindowsIPAddress.cs
- Baml6Assembly.cs
- RectIndependentAnimationStorage.cs
- FixedSOMTableRow.cs
- Wildcard.cs
- ResourceFallbackManager.cs
- ScriptServiceAttribute.cs
- TextPattern.cs
- PersonalizationProviderCollection.cs
- TextEndOfParagraph.cs
- MsmqInputChannel.cs
- Ops.cs
- PointF.cs
- TiffBitmapDecoder.cs
- DatagridviewDisplayedBandsData.cs
- ResumeStoryboard.cs
- TdsParserSessionPool.cs
- SafeHandle.cs
- BaseConfigurationRecord.cs
- QilInvokeEarlyBound.cs
- FileNotFoundException.cs
- SafeLocalMemHandle.cs
- unitconverter.cs
- SoapSchemaImporter.cs
- SapiGrammar.cs
- SecurityException.cs
- CryptoHelper.cs
- ResourceWriter.cs
- OleCmdHelper.cs
- SecurityMessageProperty.cs
- InternalDispatchObject.cs
- ZipPackagePart.cs
- FontStyles.cs
- WebBrowserBase.cs
- BitmapScalingModeValidation.cs
- EpmSourcePathSegment.cs
- ToolStripItemClickedEventArgs.cs
- AbstractExpressions.cs
- SoapFormatExtensions.cs
- DuplicateWaitObjectException.cs
- BoundsDrawingContextWalker.cs
- ToolStripButton.cs
- PixelFormats.cs
- RC2CryptoServiceProvider.cs
- DataListAutoFormat.cs
- EpmCustomContentDeSerializer.cs
- ExtendedPropertyDescriptor.cs
- ConnectorEditor.cs
- WebBrowserNavigatedEventHandler.cs
- EventManager.cs
- BasePattern.cs
- PKCS1MaskGenerationMethod.cs
- ConfigXmlComment.cs
- ListArgumentProvider.cs
- BooleanAnimationBase.cs
- Polygon.cs
- Adorner.cs
- RoleExceptions.cs
- GridViewPageEventArgs.cs
- SqlDependencyUtils.cs
- DiscoveryVersion.cs
- EventManager.cs
- ProxyManager.cs
- CodeSubDirectoriesCollection.cs
- DetailsViewRow.cs
- ConfigXmlComment.cs
- DataObjectEventArgs.cs
- InternalBufferManager.cs
- Point3DKeyFrameCollection.cs
- DataControlFieldCell.cs
- TextFindEngine.cs
- HtmlForm.cs
- SchemaDeclBase.cs
- ScriptReferenceEventArgs.cs
- DesignOnlyAttribute.cs
- WindowsAuthenticationEventArgs.cs
- GenericsInstances.cs
- MemberHolder.cs
- DefaultBindingPropertyAttribute.cs
- RightNameExpirationInfoPair.cs
- AVElementHelper.cs
- TemplateControlBuildProvider.cs
- CreateUserWizardDesigner.cs
- MessageEncodingBindingElementImporter.cs
- PageCodeDomTreeGenerator.cs
- TagNameToTypeMapper.cs