We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5fe08 commit 7c1b8f1Copy full SHA for 7c1b8f1
MethodSystem/BaseMethods/ReferenceReturningMethod.cs
@@ -8,4 +8,14 @@ namespace SER.MethodSystem.BaseMethods;
8
public abstract class ReferenceReturningMethod : ReturningMethod<ReferenceValue>
9
{
10
public abstract Type ReturnType { get; }
11
+}
12
+
13
+public abstract class ReferenceReturningMethod<T> : ReferenceReturningMethod
14
+{
15
+ public override Type ReturnType => typeof(T);
16
17
+ protected new T ReturnValue
18
+ {
19
+ set => base.ReturnValue = new ReferenceValue(value);
20
+ }
21
}
0 commit comments