예제 #1
0
        private string GetMethodDescription(ulong token)
        {
            MethodMetadata metadata = this.metadataRegistry.ResolveMethodToken(token);

            if (metadata == null)
            {
                return($"<Unknown token: {token}>");
            }

            return($"{metadata.TypeName}.{metadata.Signature}");
        }
예제 #2
0
 public void RegisterMethod(MethodMetadata method)
 {
     this.metadataRegistry.RegisterMethod(method);
 }
예제 #3
0
 public void RegisterMethod(MethodMetadata method)
 {
     this.methodMetadatas[method.Token] = method;
 }