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
- SqlBuffer.cs
- WindowPattern.cs
- Resources.Designer.cs
- KerberosSecurityTokenAuthenticator.cs
- SqlConnectionStringBuilder.cs
- GridProviderWrapper.cs
- Mouse.cs
- ConfigXmlWhitespace.cs
- Rect3DConverter.cs
- DragStartedEventArgs.cs
- ConversionHelper.cs
- NamedPipeProcessProtocolHandler.cs
- ApplicationContext.cs
- TargetParameterCountException.cs
- UDPClient.cs
- streamingZipPartStream.cs
- EventBuilder.cs
- MultipartContentParser.cs
- ServiceNameElement.cs
- LogReservationCollection.cs
- RSAProtectedConfigurationProvider.cs
- WinEventWrap.cs
- DebugTrace.cs
- WebBrowserUriTypeConverter.cs
- ProgressBarAutomationPeer.cs
- WebPartHeaderCloseVerb.cs
- RequestCachePolicyConverter.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Label.cs
- DynamicMethod.cs
- CornerRadiusConverter.cs
- Comparer.cs
- CompilerScopeManager.cs
- MimeObjectFactory.cs
- PerfCounterSection.cs
- ExpandCollapsePattern.cs
- MessageQueueEnumerator.cs
- BasicDesignerLoader.cs
- PenThreadWorker.cs
- DecoderFallbackWithFailureFlag.cs
- SID.cs
- DeclarationUpdate.cs
- StylusButtonEventArgs.cs
- GridViewRowPresenter.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- TreePrinter.cs
- VerificationException.cs
- ReadOnlyDictionary.cs
- DbDataAdapter.cs
- FormViewDeletedEventArgs.cs
- Vector3DAnimationUsingKeyFrames.cs
- HostingEnvironmentSection.cs
- SerialPort.cs
- SupportingTokenListenerFactory.cs
- WindowsSysHeader.cs
- LayoutManager.cs
- CachedCompositeFamily.cs
- GeometryModel3D.cs
- ToolTipAutomationPeer.cs
- BasicExpressionVisitor.cs
- ProcessHostMapPath.cs
- SparseMemoryStream.cs
- IntegerCollectionEditor.cs
- FixedSOMTable.cs
- CodeSnippetStatement.cs
- EncodingInfo.cs
- SimpleHandlerFactory.cs
- FaultCallbackWrapper.cs
- IInstanceTable.cs
- DataContractSet.cs
- ResourcesGenerator.cs
- Tuple.cs
- MethodResolver.cs
- ConstructorNeedsTagAttribute.cs
- StrongNameIdentityPermission.cs
- TemplateBamlRecordReader.cs
- CodeActivity.cs
- TextLine.cs
- ControlPaint.cs
- ContentFileHelper.cs
- VolatileResourceManager.cs
- SQLInt32.cs
- PolyLineSegment.cs
- EditingMode.cs
- SiteMapDesignerDataSourceView.cs
- DbParameterHelper.cs
- BlockExpression.cs
- ListDictionary.cs
- LayoutManager.cs
- DrawingCollection.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- ExplicitDiscriminatorMap.cs
- XmlObjectSerializer.cs
- AsyncPostBackErrorEventArgs.cs
- SqlProviderServices.cs
- DbConnectionStringBuilder.cs
- Exceptions.cs
- HandlerFactoryCache.cs
- StructuralCache.cs
- EmptyStringExpandableObjectConverter.cs