This is an automated email from the ASF dual-hosted git repository. aaronai pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit c21ccbfe95f671a374628d2a70e80657445ace73 Author: Aaron Ai <[email protected]> AuthorDate: Tue Feb 28 20:02:27 2023 +0800 Remove useless code --- csharp/examples/QuickStart.cs | 2 +- csharp/rocketmq-client-csharp/Publishing.cs | 31 ----------------------------- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/csharp/examples/QuickStart.cs b/csharp/examples/QuickStart.cs index e31599e2..291042d9 100644 --- a/csharp/examples/QuickStart.cs +++ b/csharp/examples/QuickStart.cs @@ -17,7 +17,7 @@ namespace examples { - static class QuickStart + internal static class QuickStart { public static void Main() { diff --git a/csharp/rocketmq-client-csharp/Publishing.cs b/csharp/rocketmq-client-csharp/Publishing.cs deleted file mode 100644 index 055e36ce..00000000 --- a/csharp/rocketmq-client-csharp/Publishing.cs +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -using Proto = Apache.Rocketmq.V2; -using System.Collections.Generic; - -namespace Org.Apache.Rocketmq -{ - // Settings for publishing - public class Publishing - { - public List<Proto::Resource> Topics { get; set; } - public int CompressBodyThreshold { get; set; } - - public int MaxBodySize { get; set; } - } -} \ No newline at end of file
