Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace {{packageName}}.{{clientPackage}}
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

{{/nrt}}
using System;
using System.Linq;
using System.Collections.Generic;
using {{packageName}}.{{clientPackage}};

namespace {{packageName}}
Expand All @@ -18,4 +16,4 @@ namespace {{packageName}}
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default{{^netstandard20OrLater}}(global::System.Threading.CancellationToken){{/netstandard20OrLater}});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/ComposedEnum/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/ComposedEnum)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/ComposedEnum/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/ComposedEnum)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/ComposedEnum/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/ComposedEnum)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/ComposedEnum/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/ComposedEnum)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/HelloWorld/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/HelloWorld)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/HelloWorld/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/HelloWorld)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/HelloWorld/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/HelloWorld)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/HelloWorld/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/HelloWorld)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/OneOfList/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/OneOfList)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/latest/OneOfList/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/OneOfList)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/OneOfList/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/OneOfList)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/latest/OneOfList/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/OneOfList)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 25 in samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/Tags)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 25 in samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/Tags)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -22,6 +20,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 23 in samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/Tags)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 23 in samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/latest/Tags)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AllOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AllOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AllOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AllOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/AnyOfNoCompare)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/FormModels)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,4 +19,4 @@ public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/NullReferenceTypes/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/NullReferenceTypes)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -23,4 +21,4 @@ public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/OneOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/OneOf)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/OneOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/OneOf)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/Petstore)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,4 +19,4 @@ public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/SourceGeneration/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/SourceGeneration)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -23,4 +21,4 @@ public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/// <typeparam name="TTokenBase"></typeparam>
public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public Dictionary<string, global::System.Threading.Channels.Channel<TTokenBase>> AvailableTokens { get; } = new();

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

Check warning on line 24 in samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate)

Missing XML comment for publicly visible type or member 'RateLimitProvider<TTokenBase>.AvailableTokens'

/// <summary>
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#nullable enable

using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,6 +19,6 @@
/// </summary>
public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'

Check warning on line 22 in samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs

View workflow job for this annotation

GitHub Actions / Build .Net 10 projects (samples/client/petstore/csharp/generichost/net10/UseDateTimeForDate)

Missing XML comment for publicly visible type or member 'TokenProvider<TTokenBase>.GetAsync(string, CancellationToken)'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class RateLimitProvider<TTokenBase> : TokenProvider<TTokenBase> where TTo
/// Instantiates a ThrottledTokenProvider. Your tokens will be rate limited based on the token's timeout.
/// </summary>
/// <param name="container"></param>
public RateLimitProvider(TokenContainer<TTokenBase> container) : base()
public RateLimitProvider(TokenContainer<TTokenBase> container)
{
foreach(TTokenBase token in container.Tokens)
token.StartTimer(token.Timeout ?? TimeSpan.FromMilliseconds(40));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.Collections.Generic;
using Org.OpenAPITools.Client;

namespace Org.OpenAPITools
Expand All @@ -21,4 +19,4 @@ public abstract class TokenProvider<TTokenBase> where TTokenBase : TokenBase
{
public abstract System.Threading.Tasks.ValueTask<TTokenBase> GetAsync(string header = "", System.Threading.CancellationToken cancellation = default);
}
}
}
Loading
Loading