NodeTimeInfo Class
Namespace: Rebex.IO.FileSystem
Assembly: Rebex.Common.dll (version 7.0.9119)
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>
Implements
Inherited Members
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 |
Equals(Object) | Determines whether the specified |
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 |
WithLastAccessTime(DateTime) | Creates new NodeTimeInfo instance with all properties equals to the current
instance properties except the property LastAccessTime, which is set to |
WithLastWriteTime(DateTime) | Creates new NodeTimeInfo instance with all properties equals to the current
instance properties except the property LastWriteTime, which is set to |
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. |