Ejemplo n.º 1
0
        static AggregateRoot()
        {
            var objectType = typeof(TObject);

            _remotableTip = RemotableAttribute.GetTip(objectType);
        }
Ejemplo n.º 2
0
        private RemotableAttribute GetTip(DTObject arg)
        {
            var typeName = arg.GetValue <string>("typeName"); //这是远程类型的全称

            return(RemotableAttribute.GetTip(typeName));
        }