openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Utility/Generator/CodeGenClientAttribute.cs
15lines · modeblame
9f9f2936Jose Arriaga Maldonado2 years ago | 1 | #nullable enable |
| 2 | | |
| 3 | using System; | |
| 4 | | |
| 5 | namespace OpenAI; | |
| 6 | | |
| 7 | [AttributeUsage(AttributeTargets.Class)] | |
22ab606bStephen Toub2 years ago | 8 | internal sealed class CodeGenClientAttribute : CodeGenTypeAttribute |
9f9f2936Jose Arriaga Maldonado2 years ago | 9 | { |
| 10 | public Type? ParentClient { get; set; } | |
| 11 | | |
| 12 | public CodeGenClientAttribute(string originalName) : base(originalName) | |
| 13 | { | |
| 14 | } | |
| 15 | } |