/// <summary> /// Creates a new StorageFileItem instance for mocking. /// </summary> public static ShareFileItem ShareFileItem( bool isDirectory = default, string name = default, long?fileSize = default, string id = default, ShareFileItemProperties properties = default, NtfsFileAttributes?fileAttributes = default, string permissionKey = default) => new ShareFileItem( isDirectory: isDirectory, name: name, id: id, properties: properties, fileAttributes: fileAttributes, permissionKey: permissionKey, fileSize: fileSize);
internal ShareFileItem( bool isDirectory, string name, string id, ShareFileItemProperties properties, NtfsFileAttributes?fileAttributes, string permissionKey, long?fileSize) { IsDirectory = isDirectory; Name = name; Id = id; Properties = properties; FileAttributes = fileAttributes; PermissionKey = permissionKey; FileSize = fileSize; }