平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1899 line
68 KiB

  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>SafeCampus.Core</name>
  5. </assembly>
  6. <members>
  7. <member name="T:SafeCampus.Core.CodeGenAttribute">
  8. <summary>
  9. 代码生成
  10. </summary>
  11. </member>
  12. <member name="T:SafeCampus.Core.IgnoreInitTableAttribute">
  13. <summary>
  14. 忽略初始化表
  15. </summary>
  16. </member>
  17. <member name="T:SafeCampus.Core.IgnoreSeedDataAddAttribute">
  18. <summary>
  19. 种子数据忽略新增
  20. </summary>
  21. </member>
  22. <member name="T:SafeCampus.Core.IgnoreSeedDataUpdateAttribute">
  23. <summary>
  24. 种子数据忽略修改
  25. </summary>
  26. </member>
  27. <member name="T:SafeCampus.Core.RolePermissionAttribute">
  28. <summary>
  29. 需要角色授权权限
  30. </summary>
  31. </member>
  32. <member name="T:SafeCampus.Core.IgnoreRolePermissionAttribute">
  33. <summary>
  34. 忽略角色授权权限
  35. </summary>
  36. </member>
  37. <member name="T:SafeCampus.Core.SuperAdminAttribute">
  38. <summary>
  39. 管理员才能访问特性
  40. </summary>
  41. </member>
  42. <member name="T:SafeCampus.Core.IgnoreSuperAdminAttribute">
  43. <summary>
  44. 忽略超级管理员才能访问特性
  45. </summary>
  46. </member>
  47. <member name="T:SafeCampus.Core.IdNotNull">
  48. <summary>
  49. 验证Id不能为 空
  50. </summary>
  51. </member>
  52. <member name="T:SafeCampus.Core.IdsNotNull">
  53. <summary>
  54. 验证Id列表不能为空
  55. </summary>
  56. </member>
  57. <member name="T:SafeCampus.Core.BaseFileInput">
  58. <summary>
  59. 文件上传输入参数
  60. </summary>
  61. </member>
  62. <member name="P:SafeCampus.Core.BaseFileInput.File">
  63. <summary>
  64. 文件
  65. </summary>
  66. </member>
  67. <member name="T:SafeCampus.Core.BaseIdInput">
  68. <summary>
  69. 主键Id输入参数
  70. </summary>
  71. </member>
  72. <member name="P:SafeCampus.Core.BaseIdInput.Id">
  73. <summary>
  74. 主键Id
  75. </summary>
  76. </member>
  77. <member name="P:SafeCampus.Core.BaseIdListInput.Ids">
  78. <summary>
  79. 主键Id列表
  80. </summary>
  81. </member>
  82. <member name="T:SafeCampus.Core.IdListInput">
  83. <summary>
  84. Id列表输入
  85. </summary>
  86. </member>
  87. <member name="T:SafeCampus.Core.BasePageInput">
  88. <summary>
  89. 全局分页查询输入参数
  90. </summary>
  91. </member>
  92. <member name="P:SafeCampus.Core.BasePageInput.PageNum">
  93. <summary>
  94. 当前页码
  95. </summary>
  96. </member>
  97. <member name="P:SafeCampus.Core.BasePageInput.PageSize">
  98. <summary>
  99. 每页条数
  100. </summary>
  101. </member>
  102. <member name="P:SafeCampus.Core.BasePageInput.SortField">
  103. <summary>
  104. 排序字段
  105. </summary>
  106. </member>
  107. <member name="P:SafeCampus.Core.BasePageInput.SortOrder">
  108. <summary>
  109. 排序方式,升序:ascend;降序:descend"
  110. </summary>
  111. </member>
  112. <member name="P:SafeCampus.Core.BasePageInput.SearchKey">
  113. <summary>
  114. 关键字
  115. </summary>
  116. </member>
  117. <member name="T:SafeCampus.Core.BaseSelectorOutput">
  118. <summary>
  119. 基础选择器输出
  120. </summary>
  121. </member>
  122. <member name="P:SafeCampus.Core.BaseSelectorOutput.Value">
  123. <summary>
  124. </summary>
  125. </member>
  126. <member name="P:SafeCampus.Core.BaseSelectorOutput.Label">
  127. <summary>
  128. 显示文本
  129. </summary>
  130. </member>
  131. <member name="T:SafeCampus.Core.GzipCompressionComponent">
  132. <summary>
  133. Gzip压缩组件
  134. </summary>
  135. </member>
  136. <member name="T:SafeCampus.Core.LoggingConsoleComponent">
  137. <summary>
  138. 日志写入文件的组件
  139. </summary>
  140. </member>
  141. <member name="T:SafeCampus.Core.LoggingFileComponent">
  142. <summary>
  143. 日志写入文件的组件
  144. </summary>
  145. </member>
  146. <member name="M:SafeCampus.Core.LoggingFileComponent.SetLogOptions(MoYu.Logging.FileLoggerOptions,System.Nullable{Microsoft.Extensions.Logging.LogLevel})">
  147. <summary>
  148. 日志格式化
  149. </summary>
  150. <param name="options"></param>
  151. <param name="logLevel"></param>
  152. </member>
  153. <member name="F:SafeCampus.Core.ApiGroupConsts.SYSTEM_Business">
  154. <summary>
  155. 业务管理API
  156. </summary>
  157. </member>
  158. <member name="F:SafeCampus.Core.AuthConstants.SXTOKEN">
  159. <summary>
  160. 深象智能token
  161. </summary>
  162. </member>
  163. <member name="F:SafeCampus.Core.AuthConstants.SXALARM">
  164. <summary>
  165. 深象智能预警订阅topId
  166. </summary>
  167. </member>
  168. <member name="F:SafeCampus.Core.AuthConstants.SXALARM_Grpup">
  169. <summary>
  170. 预警GroupId
  171. </summary>
  172. </member>
  173. <member name="F:SafeCampus.Core.AuthConstants.SXALARM_UPDATE">
  174. <summary>
  175. 深象智能预警更新订阅topId
  176. </summary>
  177. </member>
  178. <member name="F:SafeCampus.Core.AuthConstants.SXALARM_UPDATE_Groupp">
  179. <summary>
  180. 预警更新Group
  181. </summary>
  182. </member>
  183. <member name="F:SafeCampus.Core.AuthConstants.SXCROSS_LINE">
  184. <summary>
  185. 跨线事件订阅topId
  186. </summary>
  187. </member>
  188. <member name="F:SafeCampus.Core.AuthConstants.SXECOLOGY_ATTENDANCE">
  189. <summary>
  190. 考勤事件订阅topId
  191. </summary>
  192. </member>
  193. <member name="F:SafeCampus.Core.AuthConstants.SXECOLOGY_ATTENDANCE_Group">
  194. <summary>
  195. 考勤事件Group
  196. </summary>
  197. </member>
  198. <member name="F:SafeCampus.Core.AuthConstants.SXROOM_CALL">
  199. <summary>
  200. 点名事件订阅topId
  201. </summary>
  202. </member>
  203. <member name="F:SafeCampus.Core.AuthConstants.SXROOM_CAL_Group">
  204. <summary>
  205. 点名事件Group
  206. </summary>
  207. </member>
  208. <member name="T:SafeCampus.Core.ClaimConst">
  209. <summary>
  210. 授权用户常量
  211. </summary>
  212. </member>
  213. <member name="F:SafeCampus.Core.ClaimConst.USER_ID">
  214. <summary>
  215. 用户Id
  216. </summary>
  217. </member>
  218. <member name="F:SafeCampus.Core.ClaimConst.ACCOUNT">
  219. <summary>
  220. 账号
  221. </summary>
  222. </member>
  223. <member name="F:SafeCampus.Core.ClaimConst.NAME">
  224. <summary>
  225. 名称
  226. </summary>
  227. </member>
  228. <member name="F:SafeCampus.Core.ClaimConst.IS_SUPER_ADMIN">
  229. <summary>
  230. 账号类型
  231. </summary>
  232. </member>
  233. <member name="F:SafeCampus.Core.ClaimConst.ORG_ID">
  234. <summary>
  235. 组织机构Id
  236. </summary>
  237. </member>
  238. <member name="F:SafeCampus.Core.SafeCampusConst.ZERO">
  239. <summary>
  240. 0
  241. </summary>
  242. </member>
  243. <member name="F:SafeCampus.Core.SafeCampusConst.DeviceList">
  244. <summary>
  245. 摄像头列表
  246. </summary>
  247. </member>
  248. <member name="F:SafeCampus.Core.SafeCampusConst.WarnGroup">
  249. <summary>
  250. 告警分组
  251. </summary>
  252. </member>
  253. <member name="F:SafeCampus.Core.SafeCampusConst.ZDRY">
  254. <summary>
  255. 重点人员库ID
  256. </summary>
  257. </member>
  258. <member name="T:SafeCampus.Core.MqttMessage">
  259. <summary>
  260. mqtt消息
  261. </summary>
  262. </member>
  263. <member name="P:SafeCampus.Core.MqttMessage.MsgType">
  264. <summary>
  265. 消息分类
  266. </summary>
  267. </member>
  268. <member name="P:SafeCampus.Core.MqttMessage.Data">
  269. <summary>
  270. 消息内容
  271. </summary>
  272. </member>
  273. <member name="P:SafeCampus.Core.MqttMessage.DetTime">
  274. <summary>
  275. 时间
  276. </summary>
  277. </member>
  278. <member name="T:SafeCampus.Core.TokenInfo">
  279. <summary>
  280. Token信息
  281. </summary>
  282. </member>
  283. <member name="P:SafeCampus.Core.TokenInfo.ClientIds">
  284. <summary>
  285. MQTT客户端ID列表
  286. </summary>
  287. </member>
  288. <member name="P:SafeCampus.Core.TokenInfo.Device">
  289. <summary>
  290. 设备
  291. </summary>
  292. </member>
  293. <member name="P:SafeCampus.Core.TokenInfo.LoginClientType">
  294. <summary>
  295. 登录端
  296. </summary>
  297. </member>
  298. <member name="P:SafeCampus.Core.TokenInfo.Expire">
  299. <summary>
  300. 过期时间
  301. </summary>
  302. </member>
  303. <member name="P:SafeCampus.Core.TokenInfo.Token">
  304. <summary>
  305. Token
  306. </summary>
  307. </member>
  308. <member name="P:SafeCampus.Core.TokenInfo.TokenTimeout">
  309. <summary>
  310. 超时时间
  311. </summary>
  312. </member>
  313. <member name="P:SafeCampus.Core.TokenInfo.TokenRemain">
  314. <summary>
  315. token剩余有效期
  316. </summary>
  317. </member>
  318. <member name="P:SafeCampus.Core.TokenInfo.TokenRemainPercent">
  319. <summary>
  320. token剩余有效期百分比
  321. </summary>
  322. </member>
  323. <member name="F:SafeCampus.Core.AlarmType.visual_fence">
  324. <summary>
  325. 周界入侵
  326. </summary>
  327. </member>
  328. <member name="F:SafeCampus.Core.AlarmType.climb_over">
  329. <summary>
  330. 翻越
  331. </summary>
  332. </member>
  333. <member name="F:SafeCampus.Core.AlarmType.crowd">
  334. <summary>
  335. 人群聚集
  336. </summary>
  337. </member>
  338. <member name="F:SafeCampus.Core.AlarmType.fire_smoke">
  339. <summary>
  340. 烟火告警
  341. </summary>
  342. </member>
  343. <member name="F:SafeCampus.Core.AlarmType.wander">
  344. <summary>
  345. 可疑徘徊
  346. </summary>
  347. </member>
  348. <member name="F:SafeCampus.Core.AlarmType.blacklist">
  349. <summary>
  350. 重点人员布控
  351. </summary>
  352. </member>
  353. <member name="F:SafeCampus.Core.AlarmType.run">
  354. <summary>
  355. 奔跑
  356. </summary>
  357. </member>
  358. <member name="F:SafeCampus.Core.AlarmType.chase">
  359. <summary>
  360. 追逐
  361. </summary>
  362. </member>
  363. <member name="F:SafeCampus.Core.AlarmType.fall_down">
  364. <summary>
  365. 摔倒
  366. </summary>
  367. </member>
  368. <member name="F:SafeCampus.Core.AlarmType.cross_line">
  369. <summary>
  370. 跨线
  371. </summary>
  372. </member>
  373. <member name="F:SafeCampus.Core.AlarmType.class_room_call">
  374. <summary>
  375. 教室点名
  376. </summary>
  377. </member>
  378. <member name="F:SafeCampus.Core.AlarmType.lie_on_table">
  379. <summary>
  380. 趴桌子
  381. </summary>
  382. </member>
  383. <member name="F:SafeCampus.Core.AlarmType.person_smoke">
  384. <summary>
  385. 抽烟检测
  386. </summary>
  387. </member>
  388. <member name="F:SafeCampus.Core.AlarmType.animal_break_in">
  389. <summary>
  390. 猫鼠检测
  391. </summary>
  392. </member>
  393. <member name="F:SafeCampus.Core.AlarmType.patrol">
  394. <summary>
  395. 巡更检测
  396. </summary>
  397. </member>
  398. <member name="F:SafeCampus.Core.AlarmType.off_duty">
  399. <summary>
  400. 离岗检测
  401. </summary>
  402. </member>
  403. <member name="F:SafeCampus.Core.AlarmType.fight">
  404. <summary>
  405. 打闹检测
  406. </summary>
  407. </member>
  408. <member name="F:SafeCampus.Core.AlarmType.hat_detect">
  409. <summary>
  410. 未戴帽子检测
  411. </summary>
  412. </member>
  413. <member name="F:SafeCampus.Core.AlarmType.mask_detect">
  414. <summary>
  415. 未戴口罩检测
  416. </summary>
  417. </member>
  418. <member name="F:SafeCampus.Core.AlarmType.cloth_detect">
  419. <summary>
  420. 未穿工作服检测
  421. </summary>
  422. </member>
  423. <member name="F:SafeCampus.Core.AlarmType.wash_hand">
  424. <summary>
  425. 洗手行为采集
  426. </summary>
  427. </member>
  428. <member name="F:SafeCampus.Core.AlarmType.vehicle_parking">
  429. <summary>
  430. 车辆违停
  431. </summary>
  432. </member>
  433. <member name="F:SafeCampus.Core.AlarmType.vehicle_speeding">
  434. <summary>
  435. 车辆超速
  436. </summary>
  437. </member>
  438. <member name="F:SafeCampus.Core.AlarmType.violation_occupy">
  439. <summary>
  440. 违规占道
  441. </summary>
  442. </member>
  443. <member name="F:SafeCampus.Core.AlarmType.play_phone">
  444. <summary>
  445. 玩手机
  446. </summary>
  447. </member>
  448. <member name="F:SafeCampus.Core.AlarmType.bike_without_helmet">
  449. <summary>
  450. 骑车未戴头盔
  451. </summary>
  452. </member>
  453. <member name="F:SafeCampus.Core.AlarmType.segway_with_child">
  454. <summary>
  455. 儿童骑平衡车
  456. </summary>
  457. </member>
  458. <member name="T:SafeCampus.Core.AuthDeviceTypeEnum">
  459. <summary>
  460. 登录设备类型枚举
  461. </summary>
  462. </member>
  463. <member name="F:SafeCampus.Core.AuthDeviceTypeEnum.PC">
  464. <summary>
  465. PC端
  466. </summary>
  467. </member>
  468. <member name="F:SafeCampus.Core.AuthDeviceTypeEnum.APP">
  469. <summary>
  470. 移动端
  471. </summary>
  472. </member>
  473. <member name="F:SafeCampus.Core.AuthDeviceTypeEnum.MINI">
  474. <summary>
  475. 小程序
  476. </summary>
  477. </member>
  478. <member name="T:SafeCampus.Core.LoginClientTypeEnum">
  479. <summary>
  480. 登录端类型枚举
  481. </summary>
  482. </member>
  483. <member name="F:SafeCampus.Core.LoginClientTypeEnum.B">
  484. <summary>
  485. B端
  486. </summary>
  487. </member>
  488. <member name="F:SafeCampus.Core.LoginClientTypeEnum.C">
  489. <summary>
  490. C端
  491. </summary>
  492. </member>
  493. <member name="F:SafeCampus.Core.CameraType.SXT001">
  494. <summary>
  495. 厨房(良景)
  496. </summary>
  497. </member>
  498. <member name="F:SafeCampus.Core.CameraType.SXT002">
  499. <summary>
  500. 教室(海康)
  501. </summary>
  502. </member>
  503. <member name="F:SafeCampus.Core.CameraType.SXT003">
  504. <summary>
  505. 大厅(魔豆)
  506. </summary>
  507. </member>
  508. <member name="T:SafeCampus.Core.ErrorCodeEnum">
  509. <summary>
  510. 通用错误码
  511. </summary>
  512. </member>
  513. <member name="F:SafeCampus.Core.ErrorCodeEnum.A0000">
  514. <summary>
  515. 系统异常
  516. </summary>
  517. </member>
  518. <member name="F:SafeCampus.Core.ErrorCodeEnum.A0001">
  519. <summary>
  520. 数据不存在
  521. </summary>
  522. </member>
  523. <member name="F:SafeCampus.Core.ErrorCodeEnum.A0002">
  524. <summary>
  525. 删除失败
  526. </summary>
  527. </member>
  528. <member name="F:SafeCampus.Core.ErrorCodeEnum.A0003">
  529. <summary>
  530. 操作失败
  531. </summary>
  532. </member>
  533. <member name="F:SafeCampus.Core.ErrorCodeEnum.A0004">
  534. <summary>
  535. 没有权限
  536. </summary>
  537. </member>
  538. <member name="F:SafeCampus.Core.PersonType.child">
  539. <summary>
  540. 儿童
  541. </summary>
  542. </member>
  543. <member name="F:SafeCampus.Core.PersonType.security">
  544. <summary>
  545. 保安
  546. </summary>
  547. </member>
  548. <member name="F:SafeCampus.Core.PersonType.adult">
  549. <summary>
  550. 大人
  551. </summary>
  552. </member>
  553. <member name="F:SafeCampus.Core.PersonType.unkonwn">
  554. <summary>
  555. 不确定
  556. </summary>
  557. </member>
  558. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToLong(System.Object)">
  559. <summary>
  560. 将object转换为long,若转换失败,则返回0。不抛出异常。
  561. </summary>
  562. <param name="obj"></param>
  563. <returns></returns>
  564. </member>
  565. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToLong(System.String,System.Int64)">
  566. <summary>
  567. 将object转换为long,若转换失败,则返回指定值。不抛出异常。
  568. </summary>
  569. <param name="str"></param>
  570. <param name="defaultValue"></param>
  571. <returns></returns>
  572. </member>
  573. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToInt(System.Object)">
  574. <summary>
  575. 将object转换为int,若转换失败,则返回0。不抛出异常。
  576. </summary>
  577. <param name="str"></param>
  578. <returns></returns>
  579. </member>
  580. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToInt(System.Object,System.Int32)">
  581. <summary>
  582. 将object转换为int,若转换失败,则返回指定值。不抛出异常。
  583. null返回默认值
  584. </summary>
  585. <param name="str"></param>
  586. <param name="defaultValue"></param>
  587. <returns></returns>
  588. </member>
  589. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToShort(System.Object)">
  590. <summary>
  591. 将object转换为short,若转换失败,则返回0。不抛出异常。
  592. </summary>
  593. <param name="obj"></param>
  594. <returns></returns>
  595. </member>
  596. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToShort(System.Object,System.Int16)">
  597. <summary>
  598. 将object转换为short,若转换失败,则返回指定值。不抛出异常。
  599. </summary>
  600. <param name="str"></param>
  601. <param name="defaultValue"></param>
  602. <returns></returns>
  603. </member>
  604. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToDecimal(System.Object,System.Decimal)">
  605. <summary>
  606. 将object转换为demical,若转换失败,则返回指定值。不抛出异常。
  607. </summary>
  608. <param name="str"></param>
  609. <param name="defaultValue"></param>
  610. <returns></returns>
  611. </member>
  612. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToDecimal(System.Object)">
  613. <summary>
  614. 将object转换为demical,若转换失败,则返回0。不抛出异常。
  615. </summary>
  616. <param name="str"></param>
  617. <returns></returns>
  618. </member>
  619. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToBool(System.Object)">
  620. <summary>
  621. 将object转换为bool,若转换失败,则返回false。不抛出异常。
  622. </summary>
  623. <param name="str"></param>
  624. <returns></returns>
  625. </member>
  626. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToBool(System.Object,System.Boolean)">
  627. <summary>
  628. 将object转换为bool,若转换失败,则返回指定值。不抛出异常。
  629. </summary>
  630. <param name="str"></param>
  631. <param name="result"></param>
  632. <returns></returns>
  633. </member>
  634. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToFloat(System.Object)">
  635. <summary>
  636. 将object转换为float,若转换失败,则返回0。不抛出异常。
  637. </summary>
  638. <param name="str"></param>
  639. <returns></returns>
  640. </member>
  641. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToFloat(System.Object,System.Single)">
  642. <summary>
  643. 将object转换为float,若转换失败,则返回指定值。不抛出异常。
  644. </summary>
  645. <param name="str"></param>
  646. <param name="result"></param>
  647. <returns></returns>
  648. </member>
  649. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToGuid(System.String)">
  650. <summary>
  651. 将string转换为Guid,若转换失败,则返回Guid.Empty。不抛出异常。
  652. </summary>
  653. <param name="str"></param>
  654. <returns></returns>
  655. </member>
  656. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToDateTime(System.String)">
  657. <summary>
  658. 将string转换为DateTime,若转换失败,则返回日期最小值。不抛出异常。
  659. </summary>
  660. <param name="str"></param>
  661. <returns></returns>
  662. </member>
  663. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToDateTime(System.String,System.Nullable{System.DateTime})">
  664. <summary>
  665. 将string转换为DateTime,若转换失败,则返回默认值。
  666. </summary>
  667. <param name="str"></param>
  668. <param name="defaultValue"></param>
  669. <returns></returns>
  670. </member>
  671. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToString(System.Object)">
  672. <summary>
  673. 将object转换为string,若转换失败,则返回""。不抛出异常。
  674. </summary>
  675. <param name="obj"></param>
  676. <returns></returns>
  677. </member>
  678. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToDouble(System.Object)">
  679. <summary>
  680. 将object转换为double,若转换失败,则返回0。不抛出异常。
  681. </summary>
  682. <param name="obj"></param>
  683. <returns></returns>
  684. </member>
  685. <member name="M:SafeCampus.Core.Extension.Extensions.ParseToDouble(System.Object,System.Double)">
  686. <summary>
  687. 将object转换为double,若转换失败,则返回指定值。不抛出异常。
  688. </summary>
  689. <param name="str"></param>
  690. <param name="defaultValue"></param>
  691. <returns></returns>
  692. </member>
  693. <member name="M:SafeCampus.Core.Extension.Extensions.CastSuper``1(System.Collections.IEnumerable)">
  694. <summary>
  695. 强制转换类型
  696. </summary>
  697. <typeparam name="TResult"></typeparam>
  698. <param name="source"></param>
  699. <returns></returns>
  700. </member>
  701. <member name="M:SafeCampus.Core.Extension.Extensions.YMDToUpper(System.DateTime)">
  702. <summary>
  703. 年月日转换为大写
  704. </summary>
  705. <param name="date"></param>
  706. <returns></returns>
  707. </member>
  708. <member name="M:SafeCampus.Core.Extension.Extensions.YMToUpper(System.DateTime)">
  709. <summary>
  710. 年月转换为大写
  711. </summary>
  712. <param name="date"></param>
  713. <returns></returns>
  714. </member>
  715. <member name="M:SafeCampus.Core.Extension.Extensions.StampToDatetime(System.Int64,System.Boolean)">
  716. <summary>
  717. 时间戳转日期
  718. </summary>
  719. <param name="timeStamp"></param>
  720. <param name="isMinSeconds"></param>
  721. <returns></returns>
  722. </member>
  723. <member name="M:SafeCampus.Core.Extension.Extensions.StampToDatetime(System.String,System.Boolean)">
  724. <summary>
  725. 时间戳转日期
  726. </summary>
  727. <param name="timeStamp"></param>
  728. <param name="isMinSeconds"></param>
  729. <returns></returns>
  730. </member>
  731. <member name="M:SafeCampus.Core.Extension.Extensions.ReplaceMatchStr(System.String,System.String,System.String,System.Boolean)">
  732. <summary>
  733. 字符串正则替换
  734. </summary>
  735. <param name="targetStr"></param>
  736. <param name="patternStr"></param>
  737. <param name="replaceStr"></param>
  738. <param name="isRecursion"></param>
  739. <returns></returns>
  740. </member>
  741. <member name="M:SafeCampus.Core.Extension.Extensions.EnumToDictionary(System.Type)">
  742. <summary>
  743. 转成dictionary类型
  744. </summary>
  745. <param name="enumType"></param>
  746. <returns></returns>
  747. </member>
  748. <member name="M:SafeCampus.Core.Extension.Extensions.EnumToEnumModel(System.Type)">
  749. <summary>
  750. 转成dictionary类型
  751. </summary>
  752. <param name="enumType"></param>
  753. <returns></returns>
  754. </member>
  755. <member name="M:SafeCampus.Core.Extension.Extensions.EnumToDictionaryString(System.Type)">
  756. <summary>
  757. 枚举成员转成键值对Json字符串
  758. </summary>
  759. <param name="enumType"></param>
  760. <returns></returns>
  761. </member>
  762. <member name="M:SafeCampus.Core.Extension.Extensions.GetDescription(System.Enum)">
  763. <summary>
  764. 获取枚举值对应的描述
  765. </summary>
  766. <param name="enumType"></param>
  767. <returns></returns>
  768. </member>
  769. <member name="P:SafeCampus.Core.Extension.EnumModel.Description">
  770. <summary>
  771. 描述
  772. </summary>
  773. </member>
  774. <member name="P:SafeCampus.Core.Extension.EnumModel.Name">
  775. <summary>
  776. 属性名
  777. </summary>
  778. </member>
  779. <member name="P:SafeCampus.Core.Extension.EnumModel.Value">
  780. <summary>
  781. 枚举值
  782. </summary>
  783. </member>
  784. <member name="T:SafeCampus.Core.Extension.LinqExtension">
  785. <summary>
  786. Linq扩展
  787. </summary>
  788. </member>
  789. <member name="M:SafeCampus.Core.Extension.LinqExtension.ContainsAll``1(System.Collections.Generic.List{``0},System.Collections.Generic.List{``0})">
  790. <summary>
  791. 是否都包含
  792. </summary>
  793. <typeparam name="T"></typeparam>
  794. <param name="first">第一个列表</param>
  795. <param name="second">第二个列表</param>
  796. <returns></returns>
  797. </member>
  798. <member name="T:SafeCampus.Core.Extension.LogHelper">
  799. <summary>
  800. 日志帮助类
  801. </summary>
  802. </member>
  803. <member name="F:SafeCampus.Core.Extension.LogHelper.Config">
  804. <summary>
  805. 配置文件
  806. </summary>
  807. </member>
  808. <member name="M:SafeCampus.Core.Extension.LogHelper.GetLogWriter(System.Boolean)">
  809. <summary>
  810. 写日志
  811. </summary>
  812. <param name="isError"></param>
  813. <returns></returns>
  814. </member>
  815. <member name="M:SafeCampus.Core.Extension.LogHelper.WriteToLog(System.String)">
  816. <summary>
  817. 写日志
  818. </summary>
  819. </member>
  820. <member name="M:SafeCampus.Core.Extension.LogHelper.WriteToLog(System.String[])">
  821. <summary>
  822. 写日志
  823. </summary>
  824. </member>
  825. <member name="M:SafeCampus.Core.Extension.LogHelper.WriteToLog(System.String,System.String)">
  826. <summary>
  827. 写日志
  828. </summary>
  829. </member>
  830. <member name="M:SafeCampus.Core.Extension.LogHelper.WriteToLog(System.Exception,System.String,System.String)">
  831. <summary>
  832. 写日志(错误)
  833. </summary>
  834. </member>
  835. <member name="T:SafeCampus.Core.Extension.LogConfig">
  836. <summary>
  837. 日志目录配置
  838. </summary>
  839. </member>
  840. <member name="M:SafeCampus.Core.Extension.LogConfig.#ctor">
  841. <summary>
  842. 构造函数
  843. </summary>
  844. </member>
  845. <member name="P:SafeCampus.Core.Extension.LogConfig.LogRoot">
  846. <summary>
  847. 日志根目录
  848. </summary>
  849. </member>
  850. <member name="P:SafeCampus.Core.Extension.LogConfig.LogInfoFolder">
  851. <summary>
  852. 普通信息
  853. </summary>
  854. </member>
  855. <member name="P:SafeCampus.Core.Extension.LogConfig.LogErrorFolder">
  856. <summary>
  857. 错误信息
  858. </summary>
  859. </member>
  860. <member name="P:SafeCampus.Core.Extension.LogConfig.LogFolderFormat">
  861. <summary>
  862. 文件夹日期格式
  863. </summary>
  864. </member>
  865. <member name="P:SafeCampus.Core.Extension.LogConfig.LogFileFormat">
  866. <summary>
  867. 文件日志格式
  868. </summary>
  869. </member>
  870. <member name="P:SafeCampus.Core.Extension.LogConfig.LogFileExt">
  871. <summary>
  872. 文件后缀名
  873. </summary>
  874. </member>
  875. <member name="T:SafeCampus.Core.Extension.LogTools">
  876. <summary>
  877. 日志工具
  878. </summary>
  879. </member>
  880. <member name="M:SafeCampus.Core.Extension.LogTools.WriteStart(System.IO.StreamWriter)">
  881. <summary>
  882. 开始写日志
  883. </summary>
  884. <param name="writer"></param>
  885. </member>
  886. <member name="M:SafeCampus.Core.Extension.LogTools.WriteEnd(System.IO.StreamWriter)">
  887. <summary>
  888. 结束写
  889. </summary>
  890. <param name="writer"></param>
  891. </member>
  892. <member name="M:SafeCampus.Core.Extension.LogTools.WriteTime(System.IO.StreamWriter)">
  893. <summary>
  894. 写入时间
  895. </summary>
  896. <param name="writer"></param>
  897. </member>
  898. <member name="M:SafeCampus.Core.Extension.LogTools.WriteTitle(System.IO.StreamWriter,System.String,System.Boolean)">
  899. <summary>
  900. 写入标题
  901. </summary>
  902. <param name="writer"></param>
  903. <param name="title"></param>
  904. <param name="isError"></param>
  905. </member>
  906. <member name="M:SafeCampus.Core.Extension.LogTools.WriteContent(System.IO.StreamWriter,System.String)">
  907. <summary>
  908. 写入内容
  909. </summary>
  910. <param name="writer"></param>
  911. <param name="content"></param>
  912. </member>
  913. <member name="M:SafeCampus.Core.Extension.LogTools.WriteContent(System.IO.StreamWriter,System.String[])">
  914. <summary>
  915. 写入内容
  916. </summary>
  917. <param name="writer"></param>
  918. <param name="contents"></param>
  919. </member>
  920. <member name="M:SafeCampus.Core.Extension.LogTools.WriteException(System.IO.StreamWriter,System.Exception)">
  921. <summary>
  922. 写入异常
  923. </summary>
  924. <param name="writer"></param>
  925. <param name="ex"></param>
  926. </member>
  927. <member name="T:SafeCampus.Core.Extension.StreamWriterLock">
  928. <summary>
  929. 文件锁
  930. </summary>
  931. </member>
  932. <member name="P:SafeCampus.Core.Extension.StreamWriterLock.Writer">
  933. <summary>
  934. 写入
  935. </summary>
  936. </member>
  937. <member name="M:SafeCampus.Core.Extension.StreamWriterLock.#ctor(System.String)">
  938. <summary>
  939. 构造函数
  940. </summary>
  941. <param name="filePath"></param>
  942. </member>
  943. <member name="F:SafeCampus.Core.Extension.StreamWriterLock.Lock">
  944. <summary>
  945. 文件读写锁
  946. </summary>
  947. </member>
  948. <member name="T:SafeCampus.Core.ObjectExtension">
  949. <summary>
  950. object拓展
  951. </summary>
  952. </member>
  953. <member name="M:SafeCampus.Core.ObjectExtension.ToObject(System.String)">
  954. <summary>
  955. json字符串序列化
  956. </summary>
  957. <param name="json"></param>
  958. <returns></returns>
  959. </member>
  960. <member name="M:SafeCampus.Core.ObjectExtension.ToObject``1(System.String)">
  961. <summary>
  962. json字符串序列化
  963. </summary>
  964. <typeparam name="T"></typeparam>
  965. <param name="json"></param>
  966. <returns></returns>
  967. </member>
  968. <member name="M:SafeCampus.Core.ObjectExtension.ToJObject(System.String)">
  969. <summary>
  970. json字符串序列化
  971. </summary>
  972. <param name="json"></param>
  973. <returns></returns>
  974. </member>
  975. <member name="P:SafeCampus.Core.AppInfoOptions.SXAPIURL">
  976. <summary>
  977. 深象智能API_Host
  978. </summary>
  979. </member>
  980. <member name="P:SafeCampus.Core.AppInfoOptions.AppKey">
  981. <summary>
  982. AppKey
  983. </summary>
  984. </member>
  985. <member name="P:SafeCampus.Core.AppInfoOptions.AppSecret">
  986. <summary>
  987. AppSecret
  988. </summary>
  989. </member>
  990. <member name="P:SafeCampus.Core.AppInfoOptions.PoiId">
  991. <summary>
  992. 场所ID
  993. </summary>
  994. </member>
  995. <member name="P:SafeCampus.Core.AppInfoOptions.TenantCode">
  996. <summary>
  997. 租户ID
  998. </summary>
  999. </member>
  1000. <member name="T:SafeCampus.Core.BaseOptions">
  1001. <summary>
  1002. 默认业务配置
  1003. </summary>
  1004. </member>
  1005. <member name="P:SafeCampus.Core.BaseOptions.InitTable">
  1006. <summary>
  1007. 初始化表
  1008. </summary>
  1009. </member>
  1010. <member name="P:SafeCampus.Core.BaseOptions.InitSeedData">
  1011. <summary>
  1012. 初始化数据
  1013. </summary>
  1014. </member>
  1015. <member name="T:SafeCampus.Core.LoggingSetting">
  1016. <summary>
  1017. 日志配置
  1018. </summary>
  1019. </member>
  1020. <member name="P:SafeCampus.Core.LoggingSetting.Monitor">
  1021. <summary>
  1022. LoggingMonitor配置
  1023. </summary>
  1024. </member>
  1025. <member name="P:SafeCampus.Core.LoggingSetting.MessageFormat">
  1026. <summary>
  1027. 是否日志消息格式化
  1028. </summary>
  1029. </member>
  1030. <member name="P:SafeCampus.Core.LoggingSetting.LogLevel">
  1031. <summary>
  1032. 日志等级
  1033. </summary>
  1034. </member>
  1035. <member name="T:SafeCampus.Core.LoggingSetting.MonitorOptions">
  1036. <summary>
  1037. LoggingMonitor配置
  1038. </summary>
  1039. </member>
  1040. <member name="P:SafeCampus.Core.LoggingSetting.MonitorOptions.Write">
  1041. <summary>
  1042. 写入文件
  1043. </summary>
  1044. </member>
  1045. <member name="P:SafeCampus.Core.LoggingSetting.MonitorOptions.Console">
  1046. <summary>
  1047. 写入控制台
  1048. </summary>
  1049. </member>
  1050. <member name="T:SafeCampus.Core.LoggingSetting.LogLevelOptions">
  1051. <summary>
  1052. 日志等级
  1053. </summary>
  1054. </member>
  1055. <member name="P:SafeCampus.Core.LoggingSetting.LogLevelOptions.Default">
  1056. <summary>
  1057. 默认日志等级
  1058. </summary>
  1059. </member>
  1060. <member name="P:SafeCampus.Core.LoggingSetting.LogLevelOptions.MaxLevel">
  1061. <summary>
  1062. 最大日志等级
  1063. </summary>
  1064. </member>
  1065. <member name="P:SafeCampus.Core.Options.TXSmsOptions.SecretId">
  1066. <summary>
  1067. 腾讯云API密钥 SecretId
  1068. </summary>
  1069. </member>
  1070. <member name="P:SafeCampus.Core.Options.TXSmsOptions.SecretKey">
  1071. <summary>
  1072. 腾讯云API密钥 SecretKey
  1073. </summary>
  1074. </member>
  1075. <member name="P:SafeCampus.Core.Options.TXSmsOptions.SmsAppId">
  1076. <summary>
  1077. 腾讯云短信 Appid
  1078. </summary>
  1079. </member>
  1080. <member name="P:SafeCampus.Core.Options.TXSmsOptions.SmsSn">
  1081. <summary>
  1082. 腾讯云短信 签名
  1083. </summary>
  1084. </member>
  1085. <member name="P:SafeCampus.Core.Options.TXSmsOptions.VerificationCodeId">
  1086. <summary>
  1087. 验证码模板id
  1088. </summary>
  1089. </member>
  1090. <member name="T:SafeCampus.Core.Startup">
  1091. <summary>
  1092. AppStartup启动类
  1093. </summary>
  1094. </member>
  1095. <member name="T:SafeCampus.Core.SafeCampusResult`1">
  1096. <summary>
  1097. 全局返回结果
  1098. </summary>
  1099. <typeparam name="T"></typeparam>
  1100. </member>
  1101. <member name="P:SafeCampus.Core.SafeCampusResult`1.Code">
  1102. <summary>
  1103. 状态码
  1104. </summary>
  1105. </member>
  1106. <member name="P:SafeCampus.Core.SafeCampusResult`1.Msg">
  1107. <summary>
  1108. 错误信息
  1109. </summary>
  1110. </member>
  1111. <member name="P:SafeCampus.Core.SafeCampusResult`1.Data">
  1112. <summary>
  1113. 数据
  1114. </summary>
  1115. </member>
  1116. <member name="P:SafeCampus.Core.SafeCampusResult`1.Extras">
  1117. <summary>
  1118. 附加数据
  1119. </summary>
  1120. </member>
  1121. <member name="P:SafeCampus.Core.SafeCampusResult`1.Time">
  1122. <summary>
  1123. 时间
  1124. </summary>
  1125. </member>
  1126. <member name="T:SafeCampus.Core.SafeCampusResultProvider">
  1127. <summary>
  1128. 规范化RESTful风格返回值
  1129. </summary>
  1130. </member>
  1131. <member name="M:SafeCampus.Core.SafeCampusResultProvider.OnException(Microsoft.AspNetCore.Mvc.Filters.ExceptionContext,MoYu.FriendlyException.ExceptionMetadata)">
  1132. <summary>
  1133. 异常返回
  1134. </summary>
  1135. <param name="context"></param>
  1136. <param name="metadata"></param>
  1137. <returns></returns>
  1138. </member>
  1139. <member name="M:SafeCampus.Core.SafeCampusResultProvider.OnSucceeded(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext,System.Object)">
  1140. <summary>
  1141. 成功返回
  1142. </summary>
  1143. <param name="context"></param>
  1144. <param name="data"></param>
  1145. <returns></returns>
  1146. </member>
  1147. <member name="M:SafeCampus.Core.SafeCampusResultProvider.OnValidateFailed(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext,MoYu.DataValidation.ValidationMetadata)">
  1148. <summary>
  1149. 验证失败返回
  1150. </summary>
  1151. <param name="context"></param>
  1152. <param name="metadata"></param>
  1153. <returns></returns>
  1154. </member>
  1155. <member name="M:SafeCampus.Core.SafeCampusResultProvider.OnResponseStatusCodes(Microsoft.AspNetCore.Http.HttpContext,System.Int32,MoYu.UnifyResult.UnifyResultSettingsOptions)">
  1156. <summary>
  1157. 状态码响应拦截
  1158. </summary>
  1159. <param name="context"></param>
  1160. <param name="statusCode"></param>
  1161. <param name="unifyResultSettings"></param>
  1162. <returns></returns>
  1163. </member>
  1164. <member name="M:SafeCampus.Core.SafeCampusResultProvider.ResTfulResult(System.Int32,System.Boolean,System.Object,System.Object)">
  1165. <summary>
  1166. 返回 RESTful 风格结果集
  1167. </summary>
  1168. <param name="statusCode">状态码</param>
  1169. <param name="succeeded">是否成功</param>
  1170. <param name="data">数据</param>
  1171. <param name="errors">错误信息</param>
  1172. <returns></returns>
  1173. </member>
  1174. <member name="T:SafeCampus.Core.Utils.CaptchaInfo">
  1175. <summary>
  1176. 验证码信息
  1177. </summary>
  1178. </member>
  1179. <member name="P:SafeCampus.Core.Utils.CaptchaInfo.Code">
  1180. <summary>
  1181. 验证码
  1182. </summary>
  1183. </member>
  1184. <member name="P:SafeCampus.Core.Utils.CaptchaInfo.Image">
  1185. <summary>
  1186. 验证码数据流
  1187. </summary>
  1188. </member>
  1189. <member name="P:SafeCampus.Core.Utils.CaptchaInfo.Base64Str">
  1190. <summary>
  1191. base64
  1192. </summary>
  1193. </member>
  1194. <member name="T:SafeCampus.Core.Utils.CaptchaType">
  1195. <summary>
  1196. 验证码类型
  1197. </summary>
  1198. </member>
  1199. <member name="F:SafeCampus.Core.Utils.CaptchaType.NUM">
  1200. <summary>
  1201. 纯数字验证码
  1202. </summary>
  1203. </member>
  1204. <member name="F:SafeCampus.Core.Utils.CaptchaType.CHAR">
  1205. <summary>
  1206. 数字加字母验证码
  1207. </summary>
  1208. </member>
  1209. <member name="F:SafeCampus.Core.Utils.CaptchaType.ARITH">
  1210. <summary>
  1211. 数字运算验证码
  1212. </summary>
  1213. </member>
  1214. <member name="T:SafeCampus.Core.Utils.CaptchaUtil">
  1215. <summary>
  1216. 生成验证码功能
  1217. </summary>
  1218. </member>
  1219. <member name="M:SafeCampus.Core.Utils.CaptchaUtil.CreateCaptcha(SafeCampus.Core.Utils.CaptchaType,System.Int32,System.Int32,System.Int32,System.Int32)">
  1220. <summary>
  1221. 获取验证码
  1222. </summary>
  1223. <param name="length">验证码数</param>
  1224. <param name="width">长度</param>
  1225. <param name="height">高度</param>
  1226. <param name="fontSize">字体大小</param>
  1227. <param name="type">类型 0:数字 1:字符 2:计算</param>
  1228. <returns></returns>
  1229. </member>
  1230. <member name="M:SafeCampus.Core.Utils.CaptchaUtil.CreateNumCode(System.Int32)">
  1231. <summary>
  1232. 获取数字验证码
  1233. </summary>
  1234. <param name="n">验证码数</param>
  1235. <returns></returns>
  1236. </member>
  1237. <member name="M:SafeCampus.Core.Utils.CaptchaUtil.CreateCharCode(System.Int32)">
  1238. <summary>
  1239. 获取字符验证码
  1240. </summary>
  1241. <param name="n">验证码数</param>
  1242. <returns></returns>
  1243. </member>
  1244. <member name="M:SafeCampus.Core.Utils.CaptchaUtil.CreateArithCode(System.String@)">
  1245. <summary>
  1246. 获取运算符验证码
  1247. </summary>
  1248. <returns></returns>
  1249. </member>
  1250. <member name="T:SafeCampus.Core.Utils.CommonUtils">
  1251. <summary>
  1252. 公共功能
  1253. </summary>
  1254. </member>
  1255. <member name="M:SafeCampus.Core.Utils.CommonUtils.GetSingleId">
  1256. <summary>
  1257. 获取唯一Id
  1258. </summary>
  1259. <returns></returns>
  1260. </member>
  1261. <member name="T:SafeCampus.Core.Utils.CryptogramUtil">
  1262. <summary>
  1263. 加解密功能
  1264. </summary>
  1265. </member>
  1266. <member name="M:SafeCampus.Core.Utils.CryptogramUtil.Sm2Decrypt(System.String)">
  1267. <summary>
  1268. SM2解密
  1269. </summary>
  1270. <param name="str">密文</param>
  1271. <returns>明文</returns>
  1272. </member>
  1273. <member name="M:SafeCampus.Core.Utils.CryptogramUtil.Sm2Encrypt(System.String)">
  1274. <summary>
  1275. SM2加密
  1276. </summary>
  1277. <param name="str">明文</param>
  1278. <returns>密文</returns>
  1279. </member>
  1280. <member name="M:SafeCampus.Core.Utils.CryptogramUtil.Sm4Decrypt(System.String)">
  1281. <summary>
  1282. SM4解密
  1283. </summary>
  1284. <param name="str">密文</param>
  1285. <returns>明文</returns>
  1286. </member>
  1287. <member name="M:SafeCampus.Core.Utils.CryptogramUtil.Sm4Encrypt(System.String)">
  1288. <summary>
  1289. SM4加密
  1290. </summary>
  1291. <param name="str">明文</param>
  1292. <returns>密文</returns>
  1293. </member>
  1294. <member name="T:SafeCampus.Core.Utils.SM2Util">
  1295. <summary>
  1296. SM2加密解密
  1297. </summary>
  1298. </member>
  1299. <member name="F:SafeCampus.Core.Utils.SM2Util.PublicKey">
  1300. <summary>
  1301. 公钥
  1302. </summary>
  1303. </member>
  1304. <member name="F:SafeCampus.Core.Utils.SM2Util.PrivateKey">
  1305. <summary>
  1306. 私钥
  1307. </summary>
  1308. </member>
  1309. <member name="M:SafeCampus.Core.Utils.SM2Util.Encrypt(System.String)">
  1310. <summary>
  1311. 公钥加密明文
  1312. </summary>
  1313. <param name="plainText">明文</param>
  1314. <returns>密文</returns>
  1315. </member>
  1316. <member name="M:SafeCampus.Core.Utils.SM2Util.Decrypt(System.String)">
  1317. <summary>
  1318. 私钥解密密文
  1319. </summary>
  1320. <param name="cipherText">密文</param>
  1321. <returns>明文</returns>
  1322. </member>
  1323. <member name="T:SafeCampus.Core.Utils.SM4Util">
  1324. <summary>
  1325. Sm4算法
  1326. 对标国际DES算法
  1327. </summary>
  1328. </member>
  1329. <member name="P:SafeCampus.Core.Utils.SM4Util.Data">
  1330. <summary>
  1331. 数据
  1332. </summary>
  1333. </member>
  1334. <member name="P:SafeCampus.Core.Utils.SM4Util.Key">
  1335. <summary>
  1336. 秘钥
  1337. </summary>
  1338. </member>
  1339. <member name="P:SafeCampus.Core.Utils.SM4Util.Iv">
  1340. <summary>
  1341. 向量
  1342. </summary>
  1343. </member>
  1344. <member name="P:SafeCampus.Core.Utils.SM4Util.HexString">
  1345. <summary>
  1346. 明文是否是十六进制
  1347. </summary>
  1348. </member>
  1349. <member name="P:SafeCampus.Core.Utils.SM4Util.CryptoMode">
  1350. <summary>
  1351. 加密模式(默认ECB)
  1352. 统一改为ECB模式
  1353. </summary>
  1354. </member>
  1355. <member name="M:SafeCampus.Core.Utils.SM4Util.EncryptECB(SafeCampus.Core.Utils.SM4Util)">
  1356. <summary>
  1357. ECB加密
  1358. </summary>
  1359. <param name="entity"></param>
  1360. <returns></returns>
  1361. </member>
  1362. <member name="M:SafeCampus.Core.Utils.SM4Util.EncryptCBC(SafeCampus.Core.Utils.SM4Util)">
  1363. <summary>
  1364. CBC加密
  1365. </summary>
  1366. <param name="entity"></param>
  1367. <returns></returns>
  1368. </member>
  1369. <member name="M:SafeCampus.Core.Utils.SM4Util.Decrypt(SafeCampus.Core.Utils.SM4Util)">
  1370. <summary>
  1371. 解密
  1372. </summary>
  1373. <param name="entity"></param>
  1374. <returns></returns>
  1375. </member>
  1376. <member name="M:SafeCampus.Core.Utils.SM4Util.DecryptECB(SafeCampus.Core.Utils.SM4Util)">
  1377. <summary>
  1378. ECB解密
  1379. </summary>
  1380. <param name="entity"></param>
  1381. <returns></returns>
  1382. </member>
  1383. <member name="M:SafeCampus.Core.Utils.SM4Util.DecryptCBC(SafeCampus.Core.Utils.SM4Util)">
  1384. <summary>
  1385. CBC解密
  1386. </summary>
  1387. <param name="entity"></param>
  1388. <returns></returns>
  1389. </member>
  1390. <member name="T:SafeCampus.Core.Utils.SM4Util.Sm4CryptoEnum">
  1391. <summary>
  1392. 加密类型
  1393. </summary>
  1394. </member>
  1395. <member name="F:SafeCampus.Core.Utils.SM4Util.Sm4CryptoEnum.ECB">
  1396. <summary>
  1397. ECB(电码本模式)
  1398. </summary>
  1399. </member>
  1400. <member name="F:SafeCampus.Core.Utils.SM4Util.Sm4CryptoEnum.CBC">
  1401. <summary>
  1402. CBC(密码分组链接模式)
  1403. </summary>
  1404. </member>
  1405. <member name="T:SafeCampus.Core.Utils.SM2CryptoUtil">
  1406. <summary>
  1407. SM2工具类
  1408. </summary>
  1409. </member>
  1410. <member name="M:SafeCampus.Core.Utils.SM2CryptoUtil.GetKey">
  1411. <summary>
  1412. 获取公钥私钥
  1413. </summary>
  1414. <returns></returns>
  1415. </member>
  1416. <member name="M:SafeCampus.Core.Utils.SM2CryptoUtil.Encrypt(System.String,System.String)">
  1417. <summary>
  1418. 加密
  1419. </summary>
  1420. <param name="publickey">公钥</param>
  1421. <param name="sourceData">需要加密的值</param>
  1422. <returns>加密结果</returns>
  1423. </member>
  1424. <member name="M:SafeCampus.Core.Utils.SM2CryptoUtil.Encrypt(System.Byte[],System.Byte[])">
  1425. <summary>
  1426. 加密
  1427. </summary>
  1428. <param name="publicKey">公钥</param>
  1429. <param name="data">需要加密的值</param>
  1430. <returns></returns>
  1431. </member>
  1432. <member name="M:SafeCampus.Core.Utils.SM2CryptoUtil.Decrypt(System.String,System.String)">
  1433. <summary>
  1434. </summary>
  1435. <param name="privateKey"></param>
  1436. <param name="encryptedData"></param>
  1437. <returns></returns>
  1438. </member>
  1439. <member name="M:SafeCampus.Core.Utils.SM2CryptoUtil.Decrypt(System.Byte[],System.Byte[])">
  1440. <summary>
  1441. 解密
  1442. </summary>
  1443. <param name="privateKey"></param>
  1444. <param name="encryptedData"></param>
  1445. <returns></returns>
  1446. </member>
  1447. <member name="P:SafeCampus.Core.Utils.SM2CryptoUtil.SM2Model.PublicKey">
  1448. <summary>
  1449. 公钥
  1450. </summary>
  1451. </member>
  1452. <member name="P:SafeCampus.Core.Utils.SM2CryptoUtil.SM2Model.PrivateKey">
  1453. <summary>
  1454. 私钥
  1455. </summary>
  1456. </member>
  1457. <member name="T:SafeCampus.Core.Utils.SM4CryptoUtil">
  1458. <summary>
  1459. SM4工具类
  1460. </summary>
  1461. </member>
  1462. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.GetULongByBe(System.Byte[],System.Int32)">
  1463. <summary>
  1464. 加密 非线性τ函数B=τ(A)
  1465. </summary>
  1466. <param name="b"></param>
  1467. <param name="i"></param>
  1468. <returns></returns>
  1469. </member>
  1470. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.PutULongToBe(System.Int64,System.Byte[],System.Int32)">
  1471. <summary>
  1472. 解密 非线性τ函数B=τ(A)
  1473. </summary>
  1474. <param name="n"></param>
  1475. <param name="b"></param>
  1476. <param name="i"></param>
  1477. </member>
  1478. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Rotl(System.Int64,System.Int32)">
  1479. <summary>
  1480. 循环移位,为32位的x循环左移n位
  1481. </summary>
  1482. <param name="x"></param>
  1483. <param name="n"></param>
  1484. <returns></returns>
  1485. </member>
  1486. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Swap(System.Int64[],System.Int32)">
  1487. <summary>
  1488. 将密钥逆序
  1489. </summary>
  1490. <param name="sk"></param>
  1491. <param name="i"></param>
  1492. </member>
  1493. <member name="F:SafeCampus.Core.Utils.SM4CryptoUtil.SboxTable">
  1494. <summary>
  1495. S盒
  1496. </summary>
  1497. </member>
  1498. <member name="F:SafeCampus.Core.Utils.SM4CryptoUtil.FK">
  1499. <summary>
  1500. 系统参数FK
  1501. </summary>
  1502. </member>
  1503. <member name="F:SafeCampus.Core.Utils.SM4CryptoUtil.CK">
  1504. <summary>
  1505. 固定参数CK
  1506. </summary>
  1507. </member>
  1508. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4Sbox(System.Byte)">
  1509. <summary>
  1510. Sm4的S盒取值
  1511. </summary>
  1512. <param name="inch"></param>
  1513. <returns></returns>
  1514. </member>
  1515. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4Lt(System.Int64)">
  1516. <summary>
  1517. 线性变换 L
  1518. </summary>
  1519. <param name="ka"></param>
  1520. <returns></returns>
  1521. </member>
  1522. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4F(System.Int64,System.Int64,System.Int64,System.Int64,System.Int64)">
  1523. <summary>
  1524. 轮函数 F
  1525. </summary>
  1526. <param name="x0"></param>
  1527. <param name="x1"></param>
  1528. <param name="x2"></param>
  1529. <param name="x3"></param>
  1530. <param name="rk"></param>
  1531. <returns></returns>
  1532. </member>
  1533. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4CalciRk(System.Int64)">
  1534. <summary>
  1535. 轮密钥rk
  1536. </summary>
  1537. <param name="ka"></param>
  1538. <returns></returns>
  1539. </member>
  1540. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.SetKey(System.Int64[],System.Byte[])">
  1541. <summary>
  1542. 加密密钥
  1543. </summary>
  1544. <param name="SK"></param>
  1545. <param name="key"></param>
  1546. </member>
  1547. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4OneRound(System.Int64[],System.Byte[],System.Byte[])">
  1548. <summary>
  1549. 解密函数
  1550. </summary>
  1551. <param name="sk">轮密钥</param>
  1552. <param name="input">输入分组的密文</param>
  1553. <param name="output">输出的对应的分组明文</param>
  1554. </member>
  1555. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Padding(System.Byte[],System.Int32)">
  1556. <summary>
  1557. 补足 16 进制字符串的 0 字符,返回不带 0x 的16进制字符串
  1558. </summary>
  1559. <param name="input"></param>
  1560. <param name="mode">1表示加密,0表示解密</param>
  1561. <returns></returns>
  1562. </member>
  1563. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.SetKeyEnc(SafeCampus.Core.Utils.Sm4Context,System.Byte[])">
  1564. <summary>
  1565. 设置加密的key
  1566. </summary>
  1567. <param name="ctx"></param>
  1568. <param name="key"></param>
  1569. </member>
  1570. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4SetKeyDec(SafeCampus.Core.Utils.Sm4Context,System.Byte[])">
  1571. <summary>
  1572. 设置解密的key
  1573. </summary>
  1574. <param name="ctx"></param>
  1575. <param name="key"></param>
  1576. </member>
  1577. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4CryptEcb(SafeCampus.Core.Utils.Sm4Context,System.Byte[])">
  1578. <summary>
  1579. ECB
  1580. </summary>
  1581. <param name="ctx"></param>
  1582. <param name="input"></param>
  1583. <returns></returns>
  1584. </member>
  1585. <member name="M:SafeCampus.Core.Utils.SM4CryptoUtil.Sm4CryptCbc(SafeCampus.Core.Utils.Sm4Context,System.Byte[],System.Byte[])">
  1586. <summary>
  1587. CBC
  1588. </summary>
  1589. <param name="ctx"></param>
  1590. <param name="iv"></param>
  1591. <param name="input"></param>
  1592. <returns></returns>
  1593. </member>
  1594. <member name="T:SafeCampus.Core.Utils.Sm4Context">
  1595. <summary>
  1596. SM4处理中心
  1597. </summary>
  1598. </member>
  1599. <member name="F:SafeCampus.Core.Utils.Sm4Context.Mode">
  1600. <summary>
  1601. 1表示加密,0表示解密
  1602. </summary>
  1603. </member>
  1604. <member name="F:SafeCampus.Core.Utils.Sm4Context.Key">
  1605. <summary>
  1606. 密钥
  1607. </summary>
  1608. </member>
  1609. <member name="F:SafeCampus.Core.Utils.Sm4Context.IsPadding">
  1610. <summary>
  1611. 是否补足16进制字符串
  1612. </summary>
  1613. </member>
  1614. <member name="T:SafeCampus.Core.Utils.AvatarUtil">
  1615. <summary>
  1616. 头像功能
  1617. </summary>
  1618. </member>
  1619. <member name="M:SafeCampus.Core.Utils.AvatarUtil.GetNameColor(System.String)">
  1620. <summary>
  1621. 获取姓名对应的颜色值
  1622. </summary>
  1623. <param name="name"></param>
  1624. <returns></returns>
  1625. </member>
  1626. <member name="M:SafeCampus.Core.Utils.AvatarUtil.GetNameImage(System.String,System.Int32,System.Int32)">
  1627. <summary>
  1628. 获取姓名对应的图片
  1629. </summary>
  1630. <param name="name"></param>
  1631. <param name="width"></param>
  1632. <param name="height"></param>
  1633. <returns></returns>
  1634. </member>
  1635. <member name="M:SafeCampus.Core.Utils.AvatarUtil.GetNameImageBase64(System.String,System.Int32,System.Int32)">
  1636. <summary>
  1637. 获取图片base64格式
  1638. </summary>
  1639. <param name="name">名称</param>
  1640. <param name="width">宽</param>
  1641. <param name="height">高</param>
  1642. <returns></returns>
  1643. </member>
  1644. <member name="M:SafeCampus.Core.Utils.AvatarUtil.IsChinese(System.String)">
  1645. <summary>
  1646. 用 正则表达式 判断字符是不是汉字
  1647. </summary>
  1648. <param name="text">待判断字符或字符串</param>
  1649. <returns>真:是汉字;假:不是</returns>
  1650. </member>
  1651. <member name="M:SafeCampus.Core.Utils.ImageUtil.ImgToBase64String(SkiaSharp.SKImage)">
  1652. <summary>
  1653. 图片转换成base64
  1654. </summary>
  1655. <param name="img"></param>
  1656. <returns></returns>
  1657. </member>
  1658. <member name="M:SafeCampus.Core.Utils.ImageUtil.ImgToBase64String(SkiaSharp.SKBitmap)">
  1659. <summary>
  1660. 图片转换成base64
  1661. </summary>
  1662. <param name="bmp"></param>
  1663. <returns></returns>
  1664. </member>
  1665. <member name="M:SafeCampus.Core.Utils.ImageUtil.GetBitmapFromBase64(System.String)">
  1666. <summary>
  1667. base64转bitmap
  1668. </summary>
  1669. <param name="base64String"></param>
  1670. <returns></returns>
  1671. </member>
  1672. <member name="M:SafeCampus.Core.Utils.ImageUtil.GetSkBitmapFromBase64(System.String)">
  1673. <summary>
  1674. base64转bitmap
  1675. </summary>
  1676. <param name="base64String"></param>
  1677. <returns></returns>
  1678. </member>
  1679. <member name="M:SafeCampus.Core.Utils.ImageUtil.ToImageBase64(System.String)">
  1680. <summary>
  1681. base64转image格式
  1682. </summary>
  1683. <param name="base64String"></param>
  1684. <returns></returns>
  1685. </member>
  1686. <member name="M:SafeCampus.Core.Utils.ImageUtil.ResizeImage(System.Drawing.Image,System.Drawing.Size)">
  1687. <summary>
  1688. 重新修改尺寸
  1689. </summary>
  1690. <param name="imgToResize">图片</param>
  1691. <param name="size">尺寸</param>
  1692. <returns></returns>
  1693. </member>
  1694. <member name="M:SafeCampus.Core.Utils.ImageUtil.ResizeImage(System.Drawing.Bitmap,System.Int32,System.Int32)">
  1695. <summary>
  1696. Resize图片
  1697. </summary>
  1698. <param name="bmp">原始Bitmap </param>
  1699. <param name="newW">新的宽度</param>
  1700. <param name="newH">新的高度</param>
  1701. <returns>处理以后的图片</returns>
  1702. </member>
  1703. <member name="M:SafeCampus.Core.Utils.ImageUtil.ResizeImage(SkiaSharp.SKBitmap,System.Int32,System.Int32)">
  1704. <summary>
  1705. Resize图片
  1706. </summary>
  1707. <param name="bmp">原始Bitmap </param>
  1708. <param name="newW">新的宽度</param>
  1709. <param name="newH">新的高度</param>
  1710. <returns>处理以后的图片</returns>
  1711. </member>
  1712. <member name="M:SafeCampus.Core.Utils.ImageUtil.GetPicThumbnail(System.Drawing.Bitmap,System.Int32,System.Int32)">
  1713. <summary>
  1714. 获取缩略图
  1715. </summary>
  1716. <param name="bmp"></param>
  1717. <param name="w">宽</param>
  1718. <param name="h">高</param>
  1719. <returns></returns>
  1720. </member>
  1721. <member name="M:SafeCampus.Core.Utils.ImageUtil.GetPicThumbnail(SkiaSharp.SKBitmap,System.Int32,System.Int32)">
  1722. <summary>
  1723. 获取缩略图
  1724. </summary>
  1725. <param name="bmp"></param>
  1726. <param name="w">宽</param>
  1727. <param name="h">高</param>
  1728. <returns></returns>
  1729. </member>
  1730. <member name="T:SafeCampus.Core.Utils.PwdUtil">
  1731. <summary>
  1732. 密码相关通用类
  1733. </summary>
  1734. </member>
  1735. <member name="M:SafeCampus.Core.Utils.PwdUtil.Similarity(System.String,System.String)">
  1736. <summary>
  1737. 密码相似度
  1738. </summary>
  1739. <param name="oldPassword"></param>
  1740. <param name="newPassword"></param>
  1741. <returns></returns>
  1742. </member>
  1743. <member name="M:SafeCampus.Core.Utils.PwdUtil.LevenshteinDistance(System.String,System.String)">
  1744. <summary>
  1745. 计算莱文斯坦距离算法
  1746. </summary>
  1747. <param name="s1"></param>
  1748. <param name="s2"></param>
  1749. <returns></returns>
  1750. </member>
  1751. <member name="M:SafeCampus.Core.Utils.TXYSMS.TxySmsUtil.SendSms(System.String[],System.String[])">
  1752. <summary>
  1753. 发送短信
  1754. </summary>
  1755. <param name="phone">new[] { $"+86{phone}" } 手机号码</param>
  1756. <param name="content">new[] { code.ToString(), "5" } 内容参数</param>
  1757. <returns></returns>
  1758. </member>
  1759. <member name="M:SafeCampus.Core.Utils.ZipUtils.ZipFile(System.String,System.String,System.Int32,System.Int32)">
  1760. <summary>
  1761. 压缩单个文件
  1762. </summary>
  1763. <param name="fileToZip">要压缩的文件</param>
  1764. <param name="zipedFile">压缩后的文件</param>
  1765. <param name="compressionLevel">压缩等级</param>
  1766. <param name="blockSize">每次写入大小</param>
  1767. </member>
  1768. <member name="M:SafeCampus.Core.Utils.ZipUtils.ZipFile(System.String,System.String)">
  1769. <summary>
  1770. 压缩单个文件
  1771. </summary>
  1772. <param name="fileToZip">要进行压缩的文件名</param>
  1773. <param name="zipedFile">压缩后生成的压缩文件名</param>
  1774. </member>
  1775. <member name="M:SafeCampus.Core.Utils.ZipUtils.ZipFile(System.Collections.Generic.List{System.String},System.String)">
  1776. <summary>
  1777. 压缩多个文件到指定路径
  1778. </summary>
  1779. <param name="sourceFileNames">压缩到哪个路径</param>
  1780. <param name="zipFileName">压缩文件名称</param>
  1781. </member>
  1782. <member name="M:SafeCampus.Core.Utils.ZipUtils.ZipFileDirectory(System.String,System.String)">
  1783. <summary>
  1784. 压缩多层目录
  1785. </summary>
  1786. <param name="strDirectory">待压缩目录</param>
  1787. <param name="zipedFile">压缩后生成的压缩文件名,绝对路径</param>
  1788. </member>
  1789. <member name="M:SafeCampus.Core.Utils.ZipUtils.ZipFileDirectory(System.String,System.String,System.Collections.Generic.List{System.String})">
  1790. <summary>
  1791. 压缩多层目录
  1792. </summary>
  1793. <param name="strDirectory">待压缩目录</param>
  1794. <param name="zipedFile">压缩后生成的压缩文件名,绝对路径</param>
  1795. <param name="files">指定要压缩的文件列表(完全路径)</param>
  1796. </member>
  1797. <member name="M:SafeCampus.Core.Utils.ZipUtils.ZipSetp(System.String,ICSharpCode.SharpZipLib.Zip.ZipOutputStream,System.String,System.Collections.Generic.List{System.String})">
  1798. <summary>
  1799. 递归遍历目录
  1800. </summary>
  1801. <param name="strDirectory">需遍历的目录</param>
  1802. <param name="s">压缩输出流对象</param>
  1803. <param name="parentPath">The parent path.</param>
  1804. <param name="files">需要压缩的文件</param>
  1805. </member>
  1806. <member name="M:SafeCampus.Core.Utils.ZipUtils.UnZip(System.String,System.String,System.Boolean,System.String)">
  1807. <summary>
  1808. 解压缩一个 zip 文件。
  1809. </summary>
  1810. <param name="zipedFile">压缩文件</param>
  1811. <param name="strDirectory">解压目录</param>
  1812. <param name="password">zip 文件的密码。</param>
  1813. <param name="overWrite">是否覆盖已存在的文件。</param>
  1814. </member>
  1815. <member name="M:SafeCampus.Core.Utils.ZipUtils.UnZip(System.String,System.String,System.Boolean)">
  1816. <summary>
  1817. 解压缩一个 zip 文件。
  1818. </summary>
  1819. <param name="zipedFile">压缩文件</param>
  1820. <param name="strDirectory">解压目录</param>
  1821. <param name="overWrite">是否覆盖已存在的文件。</param>
  1822. </member>
  1823. <member name="M:SafeCampus.Core.Utils.ZipUtils.UnZip(System.String,System.String)">
  1824. <summary>
  1825. 解压缩一个 zip 文件。
  1826. 覆盖已存在的文件。
  1827. </summary>
  1828. <param name="zipedFile">压缩文件</param>
  1829. <param name="strDirectory">解压目录</param>
  1830. </member>
  1831. <member name="M:SafeCampus.Core.Utils.ZipUtils.GetFiles(System.String,System.Collections.Generic.List{System.String})">
  1832. <summary>
  1833. 获取压缩文件中指定类型的文件
  1834. </summary>
  1835. <param name="zipedFile">压缩文件</param>
  1836. <param name="fileExtension">文件类型(.txt|.exe)</param>
  1837. <returns>文件名称列表(包含子目录)</returns>
  1838. </member>
  1839. <member name="M:SafeCampus.Core.Utils.ZipUtils.GetFiles(System.String)">
  1840. <summary>
  1841. 获取压缩文件中的所有文件
  1842. </summary>
  1843. <param name="zipedFile">压缩文件</param>
  1844. <returns>文件名称列表(包含子目录)</returns>
  1845. </member>
  1846. <member name="M:SafeCampus.Core.Utils.ZipUtils.ZipFiles(System.String,System.Collections.Generic.List{SafeCampus.Core.Utils.FileItem},System.String@,System.Boolean)">
  1847. <summary>
  1848. 打包线上线下文件
  1849. </summary>
  1850. <param name="zipName">压缩文件名称</param>
  1851. <param name="fileList">文件列表</param>
  1852. <param name="error">保存路径</param>
  1853. <param name="isLocal">是否本地</param>
  1854. </member>
  1855. <member name="M:SafeCampus.Core.Utils.ZipUtils.CompressDirectory(System.String,System.Boolean)">
  1856. 压缩文件夹
  1857. 要打包的文件夹
  1858. 是否删除原文件夹
  1859. </member>
  1860. <member name="M:SafeCampus.Core.Utils.ZipUtils.GetAllFies(System.String)">
  1861. 获取所有文件
  1862. </member>
  1863. <member name="M:SafeCampus.Core.Utils.ZipUtils.GetAllDirsFiles(System.IO.DirectoryInfo[],System.Collections.Generic.Dictionary{System.String,System.DateTime})">
  1864. 获取一个文件夹下的所有文件夹里的文件
  1865. </member>
  1866. <member name="M:SafeCampus.Core.Utils.ZipUtils.GetAllDirFiles(System.IO.DirectoryInfo,System.Collections.Generic.Dictionary{System.String,System.DateTime})">
  1867. 获取一个文件夹下的文件
  1868. 目录名称
  1869. 文件列表HastTable
  1870. </member>
  1871. <member name="T:SafeCampus.Core.Utils.FileItem">
  1872. <summary>
  1873. 文件对象
  1874. </summary>
  1875. </member>
  1876. <member name="P:SafeCampus.Core.Utils.FileItem.FileName">
  1877. <summary>
  1878. 文件名称
  1879. </summary>
  1880. </member>
  1881. <member name="P:SafeCampus.Core.Utils.FileItem.FilePath">
  1882. <summary>
  1883. 文件路径
  1884. </summary>
  1885. </member>
  1886. </members>
  1887. </doc>