Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
3d5559e2
Commit
3d5559e2
authored
Sep 13, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update resource.
parent
00edf7b2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
32 deletions
+7
-32
Strings.Designer.cs
...DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
+1
-1
Strings.resx
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
+1
-1
Strings.zh.resx
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
+3
-0
RouteCollectionExtensions.cs
src/DotNetCore.CAP/Dashboard/RouteCollectionExtensions.cs
+2
-30
No files found.
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
View file @
3d5559e2
...
...
@@ -439,7 +439,7 @@ namespace DotNetCore.CAP.Dashboard.Resources {
}
/// <summary>
/// Looks up a localized string similar to No
published
messages found..
/// Looks up a localized string similar to No messages found..
/// </summary>
public
static
string
MessagesPage_NoMessages
{
get
{
...
...
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
View file @
3d5559e2
...
...
@@ -340,7 +340,7 @@
<value>
Retries
</value>
</data>
<data
name=
"MessagesPage_NoMessages"
xml:space=
"preserve"
>
<value>
No
published
messages found.
</value>
<value>
No messages found.
</value>
</data>
<data
name=
"PublishedPage_Title"
xml:space=
"preserve"
>
<value>
Published Jobs
</value>
...
...
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
View file @
3d5559e2
...
...
@@ -387,4 +387,7 @@
<data
name=
"Common_Name"
xml:space=
"preserve"
>
<value>
名称
</value>
</data>
<data
name=
"MessagesPage_NoMessages"
xml:space=
"preserve"
>
<value>
没有消息
</value>
</data>
</root>
\ No newline at end of file
src/DotNetCore.CAP/Dashboard/RouteCollectionExtensions.cs
View file @
3d5559e2
...
...
@@ -19,7 +19,7 @@ namespace DotNetCore.CAP.Dashboard
public
static
void
AddCommand
(
this
RouteCollection
routes
,
string
pathTemplate
,
string
pathTemplate
,
Func
<
DashboardContext
,
bool
>
command
)
{
if
(
routes
==
null
)
throw
new
ArgumentNullException
(
nameof
(
routes
));
...
...
@@ -63,34 +63,6 @@ namespace DotNetCore.CAP.Dashboard
if
(
command
==
null
)
throw
new
ArgumentNullException
(
nameof
(
command
));
routes
.
Add
(
pathTemplate
,
new
BatchCommandDispatcher
(
command
));
}
//public static void AddClientBatchCommand(
// this RouteCollection routes,
// string pathTemplate,
// [NotNull] Action<IBackgroundJobClient, string> command)
//{
// if (command == null) throw new ArgumentNullException(nameof(command));
// routes.AddBatchCommand(pathTemplate, (context, jobId) =>
// {
// var client = new BackgroundJobClient(context.Storage);
// command(client, jobId);
// });
//}
//public static void AddRecurringBatchCommand(
// this RouteCollection routes,
// string pathTemplate,
// Action<RecurringJobManager, string> command)
//{
// if (command == null) throw new ArgumentNullException(nameof(command));
// routes.AddBatchCommand(pathTemplate, (context, jobId) =>
// {
// var manager = new RecurringJobManager(context.Storage);
// command(manager, jobId);
// });
//}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment