Changeset 487 for TFP-WebServer/WebServer/src/UrlHandlers/ApiHandler.cs
- Timestamp:
- Jun 17, 2024, 5:25:43 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TFP-WebServer/WebServer/src/UrlHandlers/ApiHandler.cs
r460 r487 30 30 31 31 private void apiFoundCallback (Type _type) { 32 ConstructorInfo ctor = _type.GetConstructor (BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, (Binder)null,33 apiWithParentCtorTypes, (ParameterModifier[])null);32 ConstructorInfo ctor = _type.GetConstructor (BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 33 apiWithParentCtorTypes, null); 34 34 if (ctor != null) { 35 35 AbsWebAPI apiInstance = (AbsWebAPI)ctor.Invoke (apiWithParentCtorArgs); … … 38 38 } 39 39 40 ctor = _type.GetConstructor (BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, (Binder)null,41 apiEmptyCtorTypes, (ParameterModifier[])null);40 ctor = _type.GetConstructor (BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 41 apiEmptyCtorTypes, null); 42 42 if (ctor != null) { 43 43 AbsWebAPI apiInstance = (AbsWebAPI)ctor.Invoke (apiEmptyCtorArgs);
Note:
See TracChangeset
for help on using the changeset viewer.