コード例 #1
0
 public void RegisterInternalAddress(object obj, TyonAddress address)
 {
     if (address != null)
     {
         internal_address_to_object.Add(address, obj);
     }
 }
コード例 #2
0
        public object ResolveInternalAddress(TyonAddress address)
        {
            object obj;

            TryResolveInternalAddress(address, out obj);
            return(obj);
        }
コード例 #3
0
 public ILValue ResolveExternalAddress(TyonAddress address)
 {
     return(context.GetInstanceILMethodInvokation("ResolveExternalAddress", address.CreateILLiteral()));
 }
コード例 #4
0
 public ILLocal ResolveInternalAddress(TyonAddress address)
 {
     return(internal_address_to_local.GetValue(address));
 }
コード例 #5
0
 public TyonValue_InternalAddress(TyonAddress address, TyonDehydrater dehydrater) : this()
 {
     SetTyonAddress(address);
 }
コード例 #6
0
 public bool TryResolveInternalAddress(TyonAddress address, out object obj)
 {
     return(internal_address_to_object.TryGetValue(address, out obj));
 }
コード例 #7
0
 public object ResolveExternalAddress(TyonAddress address)
 {
     return(GetContext().ResolveExternalAddress(address));
 }
コード例 #8
0
 public bool TryResolveExternalAddress(TyonAddress address, out object obj)
 {
     return(external_address_to_objects.TryGetValueByLeft(address, out obj));
 }
コード例 #9
0
 public bool TryResolveExternalObject(object obj, out TyonAddress address)
 {
     return(external_address_to_objects.TryGetValueByRight(obj, out address));
 }
コード例 #10
0
 public TyonValue_ExternalAddress(TyonAddress a, TyonDehydrater dehydrater) : this()
 {
     SetTyonAddress(a);
 }