コード例 #1
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="FileLogInfo" /> class.</para>
 /// </summary>
 /// <param name="path">Path relative to event context.</param>
 /// <param name="displayName">Display name. Might be missing due to historical data
 /// gap.</param>
 /// <param name="fileId">Unique ID. Might be missing due to historical data
 /// gap.</param>
 /// <param name="fileSize">File or folder size in bytes.</param>
 public FileLogInfo(PathLogInfo path,
                    string displayName = null,
                    string fileId      = null,
                    ulong?fileSize     = null)
     : base(path, displayName, fileId, fileSize)
 {
 }
コード例 #2
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="FolderLogInfo" /> class.</para>
 /// </summary>
 /// <param name="path">Path relative to event context.</param>
 /// <param name="displayName">Display name. Might be missing due to historical data
 /// gap.</param>
 /// <param name="fileId">Unique ID. Might be missing due to historical data
 /// gap.</param>
 /// <param name="fileSize">File or folder size in bytes.</param>
 /// <param name="fileCount">Number of files within the folder.</param>
 public FolderLogInfo(PathLogInfo path,
                      string displayName = null,
                      string fileId      = null,
                      ulong?fileSize     = null,
                      ulong?fileCount    = null)
     : base(path, displayName, fileId, fileSize)
 {
     this.FileCount = fileCount;
 }
コード例 #3
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="FileOrFolderLogInfo" />
        /// class.</para>
        /// </summary>
        /// <param name="path">Path relative to event context.</param>
        /// <param name="displayName">Display name. Might be missing due to historical data
        /// gap.</param>
        /// <param name="fileId">Unique ID. Might be missing due to historical data
        /// gap.</param>
        public FileOrFolderLogInfo(PathLogInfo path,
                                   string displayName = null,
                                   string fileId      = null)
        {
            if (path == null)
            {
                throw new sys.ArgumentNullException("path");
            }

            this.Path        = path;
            this.DisplayName = displayName;
            this.FileId      = fileId;
        }
コード例 #4
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="FolderLogInfo" /> class.</para>
 /// </summary>
 /// <param name="path">Path relative to event context.</param>
 /// <param name="displayName">Display name. Might be missing due to historical data
 /// gap.</param>
 /// <param name="fileId">Unique ID. Might be missing due to historical data
 /// gap.</param>
 public FolderLogInfo(PathLogInfo path,
                      string displayName = null,
                      string fileId      = null)
     : base(path, displayName, fileId)
 {
 }