progress
This commit is contained in:
parent
16e76d6b31
commit
484dbfc9d9
529 changed files with 113694 additions and 0 deletions
43
AspClassic.Scripting/Hosting/DocumentationOperations.cs
Normal file
43
AspClassic.Scripting/Hosting/DocumentationOperations.cs
Normal file
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Remoting;
|
||||
using System.Security.Permissions;
|
||||
using AspClassic.Scripting.Runtime;
|
||||
|
||||
namespace AspClassic.Scripting.Hosting;
|
||||
|
||||
public sealed class DocumentationOperations : MarshalByRefObject
|
||||
{
|
||||
private readonly DocumentationProvider _provider;
|
||||
|
||||
internal DocumentationOperations(DocumentationProvider provider)
|
||||
{
|
||||
_provider = provider;
|
||||
}
|
||||
|
||||
public ICollection<MemberDoc> GetMembers(object value)
|
||||
{
|
||||
return _provider.GetMembers(value);
|
||||
}
|
||||
|
||||
public ICollection<OverloadDoc> GetOverloads(object value)
|
||||
{
|
||||
return _provider.GetOverloads(value);
|
||||
}
|
||||
|
||||
public ICollection<MemberDoc> GetMembers(ObjectHandle value)
|
||||
{
|
||||
return _provider.GetMembers(value.Unwrap());
|
||||
}
|
||||
|
||||
public ICollection<OverloadDoc> GetOverloads(ObjectHandle value)
|
||||
{
|
||||
return _provider.GetOverloads(value.Unwrap());
|
||||
}
|
||||
|
||||
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure)]
|
||||
public override object InitializeLifetimeService()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue