Commit b125f7cc authored by yangxiaodong's avatar yangxiaodong

format code

parent d5b1e569
......@@ -60,7 +60,6 @@ namespace Cap.Consistency
}
}
/// <summary>
/// Encapsulates an error from the operate subsystem.
/// </summary>
......
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
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment