private static string OidOrHashCode(INakedObjectAdapter nakedObjectAdapter)
        {
            IOid oid = nakedObjectAdapter.Oid;

            if (oid == null)
            {
                return("" + nakedObjectAdapter.GetHashCode());
            }
            return(oid.ToString());
        }
Ejemplo n.º 2
0
 private static string OidOrHashCode(INakedObjectAdapter nakedObjectAdapter) {
     IOid oid = nakedObjectAdapter.Oid;
     if (oid == null) {
         return "" + nakedObjectAdapter.GetHashCode();
     }
     return oid.ToString();
 }