平安校园
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

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