Skip to content

Commit

Permalink
Changing FileSmbProperties default constructor from internal to public (
Browse files Browse the repository at this point in the history
  • Loading branch information
amnguye authored Nov 6, 2020
1 parent 97d2339 commit 96e4f11
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions sdk/storage/Azure.Storage.Files.Shares/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Added ability to set Position on streams created with ShareFileClient.OpenRead().
- Added CanGenerateSasUri property and GenerateSasUri() to ShareFileClient, ShareDirectoryClient and ShareClient.
- Added CanGenerateSasUri property and GenerateAccountSasUri() to ShareServiceClient.
- Changed default constructor for FileSmbProperties from internal to public.

## 12.5.0-preview.1 (2020-09-30)
- Added support for service version 2020-02-10.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public static partial class FileModelFactory
}
public partial class FileSmbProperties
{
internal FileSmbProperties() { }
public FileSmbProperties() { }
public Azure.Storage.Files.Shares.Models.NtfsFileAttributes? FileAttributes { get { throw null; } set { } }
public System.DateTimeOffset? FileChangedOn { get { throw null; } }
public System.DateTimeOffset? FileCreatedOn { get { throw null; } set { } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ public class FileSmbProperties
/// </summary>
public string ParentId { get; internal set; }

internal FileSmbProperties()
/// <summary>
/// Creates a new FileSmbProperties instance.
/// </summary>
public FileSmbProperties()
{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
using Azure.Core.TestFramework;
using Azure.Storage.Files.Shares.Models;
using Azure.Storage.Files.Shares.Specialized;
using Azure.Storage.Files.Shares.Tests;
using Azure.Storage.Sas;
using Azure.Storage.Test;
using Azure.Storage.Test.Shared;
using BenchmarkDotNet.Toolchains.Roslyn;
using NUnit.Framework;

namespace Azure.Storage.Files.Shares.Test
namespace Azure.Storage.Files.Shares.Tests
{
public class FileClientTests : FileTestBase
{
Expand Down

0 comments on commit 96e4f11

Please sign in to comment.