|
@@ -392,6 +392,7 @@ type
|
|
function GetMethods: TRttiMethodArray; virtual; overload;
|
|
function GetMethods: TRttiMethodArray; virtual; overload;
|
|
function GetMethods(const aName: string): TRttiMethodArray; overload; virtual;
|
|
function GetMethods(const aName: string): TRttiMethodArray; overload; virtual;
|
|
function GetMethod(const aName: String): TRttiMethod; virtual;
|
|
function GetMethod(const aName: String): TRttiMethod; virtual;
|
|
|
|
+ function ToString : RTLString; override;
|
|
property IsInstance: boolean read GetIsInstance;
|
|
property IsInstance: boolean read GetIsInstance;
|
|
property IsManaged: boolean read GetIsManaged;
|
|
property IsManaged: boolean read GetIsManaged;
|
|
property IsOrdinal: boolean read GetIsOrdinal;
|
|
property IsOrdinal: boolean read GetIsOrdinal;
|
|
@@ -7508,6 +7509,11 @@ begin
|
|
Result := Nil;
|
|
Result := Nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+function TRttiType.ToString: RTLString;
|
|
|
|
+begin
|
|
|
|
+ Result:=Name;
|
|
|
|
+end;
|
|
|
|
+
|
|
function TRttiType.GetMethods(const aName: string): TRttiMethodArray;
|
|
function TRttiType.GetMethods(const aName: string): TRttiMethodArray;
|
|
var
|
|
var
|
|
methods: specialize TArray<TRttiMethod>;
|
|
methods: specialize TArray<TRttiMethod>;
|