Download Agent/Dynamic/DynamicAction.cs from ewdlop/AIMA-CSharp: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/ewdlop/AIMA-CSharp/resolve/refs%2Fpr%2F1/Agent/Dynamic/DynamicAction.cs
- Command line
-
hf download hf://ewdlop/AIMA-CSharp@refs/pr/1/Agent/Dynamic/DynamicAction.cs
-
curl -L -o DynamicAction.cs https://huggingface.co/ewdlop/AIMA-CSharp/resolve/refs%2Fpr%2F1/Agent/Dynamic/DynamicAction.cs
487 Bytes
| using AIMA.Agent.Object; | |
| namespace AIMA.Agent.Action.Dynamic | |
| { | |
| public class DynamicAction : ObjectWithDynamicAttributesBase, IAction | |
| { | |
| public const string ATTRIBUTE_NAME = "name"; | |
| public DynamicAction(string name) => SetAttribute(ATTRIBUTE_NAME, name); | |
| public virtual bool IsNoOperation() => false; | |
| public string Name => (string)GetAttribute(ATTRIBUTE_NAME); | |
| public override string DescribeType => GetType().Name; | |
| } | |
| } | |