Пример #1
0
        public static object GetObject(IAuditLogObject auditLogObj)
        {
            var obj = auditLogObj as AuditLogObject;

            return(obj != null ? obj.Object : auditLogObj);
        }
Пример #2
0
 public static object GetObject(IAuditLogObject auditLogObj)
 {
     return(auditLogObj is AuditLogObject obj ? obj.Object : auditLogObj);
 }