Class ProtoSource
- Namespace
- Kuestenlogik.Bowire
- Assembly
- Kuestenlogik.Bowire.dll
Source for proto file definitions. Used to provide service schemas when gRPC Server Reflection is not available.
public sealed class ProtoSource
- Inheritance
-
ProtoSource
- Inherited Members
Constructors
ProtoSource()
public ProtoSource()
Properties
Content
Proto file content as string.
public string? Content { get; set; }
Property Value
FilePath
Path to a .proto file on disk.
public string? FilePath { get; set; }
Property Value
Methods
FromContent(string)
Create from inline proto content.
public static ProtoSource FromContent(string protoContent)
Parameters
protoContentstring
Returns
FromFile(string)
Create from a file path.
public static ProtoSource FromFile(string path)
Parameters
pathstring