New type system
This commit is contained in:
@@ -4,7 +4,6 @@ interface
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
System.Rtti,
|
||||
System.Generics.Collections,
|
||||
Myc.Data.Types;
|
||||
|
||||
@@ -47,7 +46,6 @@ type
|
||||
FValue: TDataMethodProc;
|
||||
function GetDataType: IDataType;
|
||||
function GetAsString: string;
|
||||
function AsTValue: TValue;
|
||||
function GetValue: TDataMethodProc;
|
||||
public
|
||||
constructor Create(const ADataType: IDataMethodType; const AValue: TDataMethodProc);
|
||||
@@ -180,11 +178,6 @@ begin
|
||||
Result := '<METHOD>';
|
||||
end;
|
||||
|
||||
function TImplDataMethodValue.AsTValue: TValue;
|
||||
begin
|
||||
Result := TValue.From<TDataMethodProc>(FValue);
|
||||
end;
|
||||
|
||||
function TImplDataMethodValue.GetValue: TDataMethodProc;
|
||||
begin
|
||||
Result := FValue;
|
||||
|
||||
Reference in New Issue
Block a user