FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Magicodes.NET/Plus/Magicodes.Admin/Helpers/Scripts.cs at master · magicodes/Magicodes.NET · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Feb 21, 2022. It is now read-only.
magicodes
/
Magicodes.NET
Public archive
Notifications
You must be signed in to change notification settings
Fork
90
Star
115
Code
Issues
11
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Magicodes.NET
/
Plus
/
Magicodes.Admin
/
Helpers
/
Scripts.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (21 loc) · 620 Bytes
Breadcrumbs
Magicodes.NET
/
Plus
/
Magicodes.Admin
/
Helpers
/
Scripts.cs
Copy path
File metadata and controls
22 lines (21 loc) · 620 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using
System
;
using
System
.
Collections
.
Generic
;
using
System
.
Linq
;
using
System
.
Web
;
namespace
Magicodes
.
Admin
{
public
static
class
Scripts
{
/// <summary>
/// 呈现路径集的插件链接标记。
/// </summary>
/// <param name="html"></param>
/// <param name="path"></param>
/// <returns></returns>
public
static
IHtmlString
Render
(
params
string
[
]
paths
)
{
var
strs
=
paths
.
Select
(
p
=>
p
.
Replace
(
"~/"
,
"~/"
+
Starter
.
PlusName
+
"/"
)
)
.
ToArray
(
)
;
return
System
.
Web
.
Optimization
.
Scripts
.
Render
(
strs
)
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL