Class BowireUploadedSchemaKind
- Namespace
- Kuestenlogik.Bowire
- Assembly
- Kuestenlogik.Bowire.dll
One schema format a plugin imports (#994).
public sealed record BowireUploadedSchemaKind : IEquatable<BowireUploadedSchemaKind>
- Inheritance
-
BowireUploadedSchemaKind
- Implements
- Inherited Members
Constructors
BowireUploadedSchemaKind(string, string, IReadOnlyList<string>)
One schema format a plugin imports (#994).
public BowireUploadedSchemaKind(string Kind, string DisplayName, IReadOnlyList<string> Extensions)
Parameters
KindstringThe stored kind, e.g.
protosetorgraphql-sdl. Lower case, unique across plugins; it names the document in the workspace's schema index.DisplayNamestringWhat the workbench calls the format, e.g.
GraphQL SDL.ExtensionsIReadOnlyList<string>The file extensions the format arrives under, with the leading dot and in lower case. The first one is given to a document uploaded without one.
Properties
DisplayName
What the workbench calls the format, e.g. GraphQL SDL.
public string DisplayName { get; init; }
Property Value
Extensions
The file extensions the format arrives under, with the leading dot and in lower case. The first one is given to a document uploaded without one.
public IReadOnlyList<string> Extensions { get; init; }
Property Value
Kind
The stored kind, e.g. protoset or graphql-sdl. Lower case,
unique across plugins; it names the document in the workspace's schema
index.
public string Kind { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out IReadOnlyList<string>)
public void Deconstruct(out string Kind, out string DisplayName, out IReadOnlyList<string> Extensions)
Parameters
KindstringDisplayNamestringExtensionsIReadOnlyList<string>
Equals(BowireUploadedSchemaKind?)
public bool Equals(BowireUploadedSchemaKind? other)
Parameters
otherBowireUploadedSchemaKind
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BowireUploadedSchemaKind?, BowireUploadedSchemaKind?)
public static bool operator ==(BowireUploadedSchemaKind? left, BowireUploadedSchemaKind? right)
Parameters
leftBowireUploadedSchemaKindrightBowireUploadedSchemaKind
Returns
operator !=(BowireUploadedSchemaKind?, BowireUploadedSchemaKind?)
public static bool operator !=(BowireUploadedSchemaKind? left, BowireUploadedSchemaKind? right)
Parameters
leftBowireUploadedSchemaKindrightBowireUploadedSchemaKind