Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

NodeTimeInfo Class

Namespace: Rebex.IO.FileSystem
Assembly: Rebex.Common.dll (version 7.0.9147)

Holds the last access time, the last write time and the creation time of the node. All dates are expressed as UTC.

Syntax
public class NodeTimeInfo : IEquatable<NodeTimeInfo>
Inheritance
Object
NodeTimeInfo
Implements
IEquatable<NodeTimeInfo>
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Remarks

Immutable type.

Constructors

Name Description
NodeTimeInfo(Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the NodeTimeInfo.

Properties

Name Description
CreationTime

Creation time of the node (expressed as UTC).

Empty

Represents the empty NodeTimeInfo.

LastAccessTime

Last access time of the node (expressed as UTC).

LastWriteTime

Last write time of the node (expressed as UTC).

Methods

Name Description
Equals(NodeTimeInfo)

Determines whether the specified other is equal to this object.

Equals(Object)

Determines whether the specified obj is equal to this object.

GetHashCode()

Gets a hash code of this object.

IsNullOrEmpty(NodeTimeInfo)

Indicates whether the specified NodeTimeInfo is null or an Empty NodeTimeInfo.

ToString()

Returns a string representation of this NodeTimeInfo.

WithCreateTime(DateTime)

Creates new NodeTimeInfo instance with all properties equals to the current instance properties except the property CreationTime, which is set to createTime value.

WithLastAccessTime(DateTime)

Creates new NodeTimeInfo instance with all properties equals to the current instance properties except the property LastAccessTime, which is set to lastAccessTime value.

WithLastWriteTime(DateTime)

Creates new NodeTimeInfo instance with all properties equals to the current instance properties except the property LastWriteTime, which is set to lastWriteTime value.

Operators

Name Description
Equality(NodeTimeInfo, NodeTimeInfo)

Determines whether two specified NodeTimeInfo have the same value.

Inequality(NodeTimeInfo, NodeTimeInfo)

Determines whether two specified NodeTimeInfo have different values.

In This Article
  • Remarks
  • Constructors
  • Properties
  • Methods
  • Operators
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies