39221925392b4ba84569a0a9a0778ff81dd30db4
[platform/upstream/grpc.git] / src / csharp / Grpc.Core / ForwardedTypes.cs
1 #region Copyright notice and license
2
3 // Copyright 2019 The gRPC Authors
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16
17 #endregion
18
19 using System.Runtime.CompilerServices;
20 using Grpc.Core;
21 using Grpc.Core.Logging;
22 using Grpc.Core.Utils;
23
24 // API types that used to be in Grpc.Core package, but were moved to Grpc.Core.Api
25 // https://docs.microsoft.com/en-us/dotnet/framework/app-domains/type-forwarding-in-the-common-language-runtime
26
27 // TODO(jtattermusch): move types needed for implementing a client
28
29 [assembly:TypeForwardedToAttribute(typeof(GrpcPreconditions))]
30 [assembly:TypeForwardedToAttribute(typeof(AuthContext))]
31 [assembly:TypeForwardedToAttribute(typeof(ContextPropagationOptions))]
32 [assembly:TypeForwardedToAttribute(typeof(ContextPropagationToken))]
33 [assembly:TypeForwardedToAttribute(typeof(DeserializationContext))]
34 [assembly:TypeForwardedToAttribute(typeof(IAsyncStreamReader<>))]
35 [assembly:TypeForwardedToAttribute(typeof(IAsyncStreamWriter<>))]
36 [assembly:TypeForwardedToAttribute(typeof(IServerStreamWriter<>))]
37 [assembly:TypeForwardedToAttribute(typeof(Marshaller<>))]
38 [assembly:TypeForwardedToAttribute(typeof(Marshallers))]
39 [assembly:TypeForwardedToAttribute(typeof(Metadata))]
40 [assembly:TypeForwardedToAttribute(typeof(MethodType))]
41 [assembly:TypeForwardedToAttribute(typeof(IMethod))]
42 [assembly:TypeForwardedToAttribute(typeof(Method<,>))]
43 [assembly:TypeForwardedToAttribute(typeof(RpcException))]
44 [assembly:TypeForwardedToAttribute(typeof(SerializationContext))]
45 [assembly:TypeForwardedToAttribute(typeof(ServerCallContext))]
46 [assembly:TypeForwardedToAttribute(typeof(UnaryServerMethod<,>))]
47 [assembly:TypeForwardedToAttribute(typeof(ClientStreamingServerMethod<,>))]
48 [assembly:TypeForwardedToAttribute(typeof(ServerStreamingServerMethod<,>))]
49 [assembly:TypeForwardedToAttribute(typeof(DuplexStreamingServerMethod<,>))]
50 [assembly:TypeForwardedToAttribute(typeof(ServerServiceDefinition))]
51 [assembly:TypeForwardedToAttribute(typeof(ServiceBinderBase))]
52 [assembly:TypeForwardedToAttribute(typeof(Status))]
53 [assembly:TypeForwardedToAttribute(typeof(StatusCode))]
54 [assembly:TypeForwardedToAttribute(typeof(VersionInfo))]
55 [assembly:TypeForwardedToAttribute(typeof(WriteOptions))]
56 [assembly:TypeForwardedToAttribute(typeof(WriteFlags))]