Skip to content

Commit 4c4393f

Browse files
committed
removed comments
1 parent 87f6724 commit 4c4393f

28 files changed

+119
-714
lines changed

FileContextCore/Diagnostics/Internal/FileContextLoggerExtensions.cs

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,10 @@
1212
// ReSharper disable once CheckNamespace
1313
namespace FileContextCore.Internal
1414
{
15-
/// <summary>
16-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
17-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
18-
/// any release. You should only use it directly in your code with extreme caution and knowing that
19-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
20-
/// </summary>
15+
2116
public static class FileContextLoggerExtensions
2217
{
23-
/// <summary>
24-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
25-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
26-
/// any release. You should only use it directly in your code with extreme caution and knowing that
27-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
28-
/// </summary>
18+
2919
public static void TransactionIgnoredWarning(
3020
[NotNull] this IDiagnosticsLogger<DbLoggerCategory.Database.Transaction> diagnostics)
3121
{
@@ -47,12 +37,7 @@ public static void TransactionIgnoredWarning(
4737
}
4838
}
4939

50-
/// <summary>
51-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
52-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
53-
/// any release. You should only use it directly in your code with extreme caution and knowing that
54-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
55-
/// </summary>
40+
5641
public static void ChangesSaved(
5742
[NotNull] this IDiagnosticsLogger<DbLoggerCategory.Update> diagnostics,
5843
[NotNull] IEnumerable<IUpdateEntry> entries,

FileContextCore/Diagnostics/Internal/FileContextLoggingDefinitions.cs

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,13 @@
77

88
namespace FileContextCore.Diagnostics.Internal
99
{
10-
/// <summary>
11-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
12-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
13-
/// any release. You should only use it directly in your code with extreme caution and knowing that
14-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
15-
/// </summary>
10+
1611
public class FileContextLoggingDefinitions : LoggingDefinitions
1712
{
18-
/// <summary>
19-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
20-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
21-
/// any release. You should only use it directly in your code with extreme caution and knowing that
22-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
23-
/// </summary>
13+
2414
public EventDefinitionBase LogSavedChanges;
2515

26-
/// <summary>
27-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
28-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
29-
/// any release. You should only use it directly in your code with extreme caution and knowing that
30-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
31-
/// </summary>
16+
3217
public EventDefinitionBase LogTransactionsNotSupported;
3318
}
3419
}

FileContextCore/Infrastructure/Internal/FileContextOptionsExtension.cs

Lines changed: 11 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -14,72 +14,37 @@
1414

1515
namespace FileContextCore.Infrastructure.Internal
1616
{
17-
/// <summary>
18-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
19-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
20-
/// any release. You should only use it directly in your code with extreme caution and knowing that
21-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
22-
/// </summary>
17+
2318
public class FileContextOptionsExtension : IDbContextOptionsExtension
2419
{
2520
private FileContextDatabaseRoot _databaseRoot;
2621
private DbContextOptionsExtensionInfo _info;
2722
private FileContextScopedOptions _options;
2823

29-
/// <summary>
30-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
31-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
32-
/// any release. You should only use it directly in your code with extreme caution and knowing that
33-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
34-
/// </summary>
24+
3525
public FileContextOptionsExtension()
3626
{
3727
_options = new FileContextScopedOptions(null, null, null, null);
3828
}
3929

40-
/// <summary>
41-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
42-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
43-
/// any release. You should only use it directly in your code with extreme caution and knowing that
44-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
45-
/// </summary>
30+
4631
protected FileContextOptionsExtension([NotNull] FileContextOptionsExtension copyFrom)
4732
{
4833
_options = (FileContextScopedOptions)copyFrom._options.Clone();
4934
_databaseRoot = copyFrom._databaseRoot;
5035
}
5136

52-
/// <summary>
53-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
54-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
55-
/// any release. You should only use it directly in your code with extreme caution and knowing that
56-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
57-
/// </summary>
37+
5838
public virtual DbContextOptionsExtensionInfo Info
5939
=> _info ??= new ExtensionInfo(this);
6040

61-
/// <summary>
62-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
63-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
64-
/// any release. You should only use it directly in your code with extreme caution and knowing that
65-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
66-
/// </summary>
41+
6742
protected virtual FileContextOptionsExtension Clone() => new FileContextOptionsExtension(this);
6843

69-
/// <summary>
70-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
71-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
72-
/// any release. You should only use it directly in your code with extreme caution and knowing that
73-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
74-
/// </summary>
44+
7545
public virtual FileContextScopedOptions Options => _options;
7646

77-
/// <summary>
78-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
79-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
80-
/// any release. You should only use it directly in your code with extreme caution and knowing that
81-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
82-
/// </summary>
47+
8348
public virtual FileContextOptionsExtension WithCustomOptions(string databaseName, string serializer, string fileManager, string location)
8449
{
8550
var clone = Clone();
@@ -91,20 +56,10 @@ public virtual FileContextOptionsExtension WithCustomOptions(string databaseName
9156
return clone;
9257
}
9358

94-
/// <summary>
95-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
96-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
97-
/// any release. You should only use it directly in your code with extreme caution and knowing that
98-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
99-
/// </summary>
59+
10060
public virtual FileContextDatabaseRoot DatabaseRoot => _databaseRoot;
10161

102-
/// <summary>
103-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
104-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
105-
/// any release. You should only use it directly in your code with extreme caution and knowing that
106-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
107-
/// </summary>
62+
10863
public virtual FileContextOptionsExtension WithDatabaseRoot([NotNull] FileContextDatabaseRoot databaseRoot)
10964
{
11065
var clone = Clone();
@@ -114,23 +69,13 @@ public virtual FileContextOptionsExtension WithDatabaseRoot([NotNull] FileContex
11469
return clone;
11570
}
11671

117-
/// <summary>
118-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
119-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
120-
/// any release. You should only use it directly in your code with extreme caution and knowing that
121-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
122-
/// </summary>
72+
12373
public virtual void ApplyServices(IServiceCollection services)
12474
{
12575
services.AddEntityFrameworkFileContextDatabase();
12676
}
12777

128-
/// <summary>
129-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
130-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
131-
/// any release. You should only use it directly in your code with extreme caution and knowing that
132-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
133-
/// </summary>
78+
13479
public virtual void Validate(IDbContextOptions options)
13580
{
13681
}

FileContextCore/Infrastructure/Internal/FileContextSingletonOptions.cs

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ namespace FileContextCore.Infrastructure.Internal
2929
/// </summary>
3030
public class FileContextSingletonOptions : IFileContextSingletonOptions
3131
{
32-
/// <summary>
33-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
34-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
35-
/// any release. You should only use it directly in your code with extreme caution and knowing that
36-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
37-
/// </summary>
32+
3833
public virtual void Initialize(IDbContextOptions options)
3934
{
4035
var inMemoryOptions = options.FindExtension<FileContextOptionsExtension>();
@@ -45,12 +40,7 @@ public virtual void Initialize(IDbContextOptions options)
4540
}
4641
}
4742

48-
/// <summary>
49-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
50-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
51-
/// any release. You should only use it directly in your code with extreme caution and knowing that
52-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
53-
/// </summary>
43+
5444
public virtual void Validate(IDbContextOptions options)
5545
{
5646
var inMemoryOptions = options.FindExtension<FileContextOptionsExtension>();
@@ -65,12 +55,7 @@ public virtual void Validate(IDbContextOptions options)
6555
}
6656
}
6757

68-
/// <summary>
69-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
70-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
71-
/// any release. You should only use it directly in your code with extreme caution and knowing that
72-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
73-
/// </summary>
58+
7459
public virtual FileContextDatabaseRoot DatabaseRoot { get; private set; }
7560
}
7661
}

FileContextCore/Infrastructure/Internal/IFileContextSingletonOptions.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ namespace FileContextCore.Infrastructure.Internal
2727
/// </summary>
2828
public interface IFileContextSingletonOptions : ISingletonOptions
2929
{
30-
/// <summary>
31-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
32-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
33-
/// any release. You should only use it directly in your code with extreme caution and knowing that
34-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
35-
/// </summary>
30+
3631
FileContextDatabaseRoot DatabaseRoot { get; }
3732
}
3833
}

FileContextCore/Properties/FileContextStrings.Designer.cs

Lines changed: 2 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FileContextCore/Query/Internal/FileContextQueryContext.cs

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,16 @@
99

1010
namespace FileContextCore.Query.Internal
1111
{
12-
/// <summary>
13-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
14-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
15-
/// any release. You should only use it directly in your code with extreme caution and knowing that
16-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
17-
/// </summary>
12+
1813
public class FileContextQueryContext : QueryContext
1914
{
20-
/// <summary>
21-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
22-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
23-
/// any release. You should only use it directly in your code with extreme caution and knowing that
24-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
25-
/// </summary>
15+
2616
public FileContextQueryContext([NotNull] QueryContextDependencies dependencies,
2717
[NotNull] IFileContextStore store)
2818
: base(dependencies)
2919
=> Store = store;
3020

31-
/// <summary>
32-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
33-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
34-
/// any release. You should only use it directly in your code with extreme caution and knowing that
35-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
36-
/// </summary>
21+
3722
public virtual IFileContextStore Store { get; }
3823
}
3924
}

FileContextCore/Query/Internal/FileContextQueryContextFactory.cs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,7 @@ public class FileContextQueryContextFactory : IQueryContextFactory
3131
private readonly IFileContextStore _store;
3232
private readonly QueryContextDependencies _dependencies;
3333

34-
/// <summary>
35-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
36-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
37-
/// any release. You should only use it directly in your code with extreme caution and knowing that
38-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
39-
/// </summary>
34+
4035
public FileContextQueryContextFactory(
4136
[NotNull] QueryContextDependencies dependencies,
4237
[NotNull] IFileContextStoreCache storeCache,
@@ -46,12 +41,7 @@ public FileContextQueryContextFactory(
4641
_dependencies = dependencies;
4742
}
4843

49-
/// <summary>
50-
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
51-
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
52-
/// any release. You should only use it directly in your code with extreme caution and knowing that
53-
/// doing so can result in application failures when updating to a new Entity Framework Core release.
54-
/// </summary>
44+
5545
public virtual QueryContext Create()
5646
=> new FileContextQueryContext(_dependencies, _store);
5747
}

0 commit comments

Comments
 (0)