Changeset 410 for binary-improvements2/WebServer/src/WebAPI/AbsWebAPI.cs
- Timestamp:
- Feb 22, 2023, 5:54:14 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/WebAPI/AbsWebAPI.cs
r391 r410 2 2 public abstract class AbsWebAPI { 3 3 public readonly string Name; 4 protected readonly Web ParentWeb; 4 5 5 protected AbsWebAPI (string _name = null) { 6 protected AbsWebAPI (string _name = null) : this(null, _name) { 7 } 8 9 protected AbsWebAPI (Web _parentWeb, string _name = null) { 6 10 Name = _name ?? GetType ().Name; 11 ParentWeb = _parentWeb; 7 12 } 8 13 9 14 public abstract void HandleRequest (RequestContext _context); 10 15 11 public virtual int DefaultPermissionLevel () { 12 return 0; 13 } 16 public virtual int DefaultPermissionLevel () => 0; 14 17 } 15 18 }
Note:
See TracChangeset
for help on using the changeset viewer.