Exemplo n.º 1
0
 /// <summary>
 /// Initialise a new instance of <see cref="HfsEntryFactory"/> using the specified <see cref="TimeSetting"/>
 /// </summary>
 /// <param name="timeSetting">The <see cref="TimeSetting">time setting</see> to use when creating <see cref="HfsEntry">Hfs entries</see>.</param>
 public HfsEntryFactory(TimeSetting timeSetting)
 {
     timeSetting_   = timeSetting;
     nameTransform_ = new HfsNameTransform();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialise a new instance of <see cref="HfsEntryFactory"/> using the specified <see cref="DateTime"/>
 /// </summary>
 /// <param name="time">The time to set all <see cref="HfsEntry.DateTime"/> values to.</param>
 public HfsEntryFactory(DateTime time)
 {
     timeSetting_   = TimeSetting.Fixed;
     FixedDateTime  = time;
     nameTransform_ = new HfsNameTransform();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initialise a new instance of the <see cref="HfsEntryFactory"/> class.
 /// </summary>
 /// <remarks>A default <see cref="INameTransform"/>, and the LastWriteTime for files is used.</remarks>
 public HfsEntryFactory()
 {
     nameTransform_ = new HfsNameTransform();
 }