Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / IO / System / IO / FileSystemEventArgs.cs / 1305376 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- ObservableDictionary.cs
- CommandConverter.cs
- DbConnectionPoolGroupProviderInfo.cs
- Bind.cs
- KeyConstraint.cs
- XsdBuildProvider.cs
- EventItfInfo.cs
- LightweightCodeGenerator.cs
- CategoryGridEntry.cs
- SqlOuterApplyReducer.cs
- TriggerAction.cs
- ObjectResult.cs
- XmlSchemaComplexContent.cs
- MetadataProperty.cs
- UnsafeNativeMethods.cs
- ClientApiGenerator.cs
- sqlinternaltransaction.cs
- NonClientArea.cs
- FormsAuthenticationUser.cs
- XmlSchemaAttributeGroup.cs
- InputScopeConverter.cs
- FrugalList.cs
- LayoutInformation.cs
- RealProxy.cs
- InternalSafeNativeMethods.cs
- CompilerGeneratedAttribute.cs
- DataChangedEventManager.cs
- BitmapImage.cs
- XmlSortKeyAccumulator.cs
- Pipe.cs
- _AutoWebProxyScriptEngine.cs
- DocumentApplicationJournalEntry.cs
- AuthorizationRuleCollection.cs
- CodeTypeReferenceExpression.cs
- DataList.cs
- ShutDownListener.cs
- DocumentViewerConstants.cs
- GeometryHitTestParameters.cs
- ExpressionNode.cs
- ProcessHost.cs
- CipherData.cs
- ParserContext.cs
- ToolStripSeparatorRenderEventArgs.cs
- HtmlToClrEventProxy.cs
- TokenBasedSetEnumerator.cs
- HierarchicalDataTemplate.cs
- Color.cs
- UrlPath.cs
- CompilerErrorCollection.cs
- SqlCacheDependency.cs
- UpdatePanelTrigger.cs
- RestHandler.cs
- CacheAxisQuery.cs
- PopupRoot.cs
- Int32CollectionConverter.cs
- ThousandthOfEmRealPoints.cs
- RepeatButton.cs
- QilScopedVisitor.cs
- DBSqlParserTable.cs
- XsdDuration.cs
- PermissionSetTriple.cs
- GregorianCalendar.cs
- DbParameterCollectionHelper.cs
- DependencyPropertyKind.cs
- RemotingException.cs
- ValidationResult.cs
- GorillaCodec.cs
- SystemColors.cs
- JsonServiceDocumentSerializer.cs
- StatusBar.cs
- DataGridViewRowsRemovedEventArgs.cs
- Listen.cs
- WebPartAuthorizationEventArgs.cs
- SpinLock.cs
- WebConfigurationManager.cs
- PolicyValidationException.cs
- IRCollection.cs
- AsyncPostBackTrigger.cs
- TemplatedAdorner.cs
- TextParagraphProperties.cs
- AssociatedControlConverter.cs
- CheckBoxBaseAdapter.cs
- ADRoleFactoryConfiguration.cs
- DisposableCollectionWrapper.cs
- GcSettings.cs
- DbMetaDataColumnNames.cs
- StateMachineHelpers.cs
- TreeViewItem.cs
- CompilationUnit.cs
- PageBuildProvider.cs
- FileEnumerator.cs
- DomainUpDown.cs
- CommandID.cs
- RIPEMD160.cs
- TextTreeTextNode.cs
- BamlRecordWriter.cs
- CheckBoxBaseAdapter.cs
- WebPartAuthorizationEventArgs.cs
- Wizard.cs
- HitTestWithPointDrawingContextWalker.cs