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
b125f7cc
Commit
b125f7cc
authored
Dec 15, 2016
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format code
parent
d5b1e569
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
OperateResult.cs
src/Cap.Consistency/OperateResult.cs
+0
-1
AssemblyInfo.cs
src/Cap.Consistency/Properties/AssemblyInfo.cs
+2
-3
ServiceCollectionExtensions.cs
src/Cap.Consistency/ServiceCollectionExtensions.cs
+0
-2
No files found.
src/Cap.Consistency/OperateResult.cs
View file @
b125f7cc
...
...
@@ -60,7 +60,6 @@ namespace Cap.Consistency
}
}
/// <summary>
/// Encapsulates an error from the operate subsystem.
/// </summary>
...
...
src/Cap.Consistency/Properties/AssemblyInfo.cs
View file @
b125f7cc
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
"
Savorboard
"
)]
[
assembly
:
AssemblyCompany
(
"
ouraspnet
"
)]
[
assembly
:
AssemblyProduct
(
"Cap.Consistence"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
...
...
@@ -16,4 +15,4 @@ using System.Runtime.InteropServices;
[
assembly
:
ComVisible
(
false
)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[
assembly
:
Guid
(
"e8af8611-0ea4-4b19-bc48-87c57a87dc66"
)]
[
assembly
:
Guid
(
"e8af8611-0ea4-4b19-bc48-87c57a87dc66"
)]
\ No newline at end of file
src/Cap.Consistency/ServiceCollectionExtensions.cs
View file @
b125f7cc
...
...
@@ -9,7 +9,6 @@ namespace Microsoft.Extensions.DependencyInjection
/// </summary>
public
static
class
ServiceCollectionExtensions
{
/// <summary>
/// Adds and configures the consistence services for the consitence.
/// </summary>
...
...
@@ -17,7 +16,6 @@ namespace Microsoft.Extensions.DependencyInjection
/// <returns>An <see cref="IServiceCollection"/> for application services.</returns>
public
static
ConsistencyBuilder
AddKafkaConsistence
<
TMessage
>(
this
IServiceCollection
services
)
where
TMessage
:
class
{
services
.
TryAddSingleton
<
ConsistencyMarkerService
>();
return
new
ConsistencyBuilder
(
typeof
(
TMessage
),
services
);
...
...
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