示例#1
0
文件: OHInfo.cs 项目: yek13/Audit-Log
        public OHInfo(object obj, OHTarget target)
        {
            _obj   = obj;
            Target = target;

            if (obj != null)
            {
                ObjectType = obj.GetType();
            }

            TimeStamp = DateTime.Now;
            //User = "******";

            InspectObject(_obj.GetType());
        }
示例#2
0
文件: OHInfo.cs 项目: yek13/Audit-Log
 public OHInfo(Type objType, OHTarget target)
 {
     ObjectType = objType;
     Target     = target;
     InspectObject(objType);
 }
示例#3
0
文件: OHInfo.cs 项目: yek13/Audit-Log
 public OHInfo(object obj, string user, OHTarget target)
     : this(obj, target)
 {
     User = user;
 }