| | | 1 | | // Copyright (c) NexusLabs. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | using System.Collections.Immutable; |
| | | 5 | | |
| | | 6 | | namespace NexusLabs.Needlr.AgentFramework.Generators; |
| | | 7 | | |
| | | 8 | | internal readonly struct NeedlrAiAgentTypeInfo |
| | | 9 | | { |
| | | 10 | | public NeedlrAiAgentTypeInfo( |
| | | 11 | | string typeName, |
| | | 12 | | string className, |
| | | 13 | | string? namespaceName, |
| | | 14 | | bool isPartial, |
| | | 15 | | ImmutableArray<string> functionGroupNames, |
| | | 16 | | ImmutableArray<string> explicitFunctionTypeFQNs, |
| | | 17 | | bool hasExplicitFunctionTypes) |
| | | 18 | | { |
| | 107 | 19 | | TypeName = typeName; |
| | 107 | 20 | | ClassName = className; |
| | 107 | 21 | | NamespaceName = namespaceName; |
| | 107 | 22 | | IsPartial = isPartial; |
| | 107 | 23 | | FunctionGroupNames = functionGroupNames; |
| | 107 | 24 | | ExplicitFunctionTypeFQNs = explicitFunctionTypeFQNs; |
| | 107 | 25 | | HasExplicitFunctionTypes = hasExplicitFunctionTypes; |
| | 107 | 26 | | } |
| | | 27 | | |
| | 447 | 28 | | public string TypeName { get; } |
| | 676 | 29 | | public string ClassName { get; } |
| | 236 | 30 | | public string? NamespaceName { get; } |
| | 107 | 31 | | public bool IsPartial { get; } |
| | 13 | 32 | | public ImmutableArray<string> FunctionGroupNames { get; } |
| | 5 | 33 | | public ImmutableArray<string> ExplicitFunctionTypeFQNs { get; } |
| | 21 | 34 | | public bool HasExplicitFunctionTypes { get; } |
| | | 35 | | } |