public static SchemaDifference AsSchemaDifference(this IKustoSchema schema, Difference difference)
        {
            switch (schema)
            {
            case KustoTableSchema _:
                return(new TableSchemaDifference(difference, schema));

            case KustoFunctionSchema _:
                return(new FunctionSchemaDifference(difference, schema));

            default:
                throw new InvalidOperationException("Unknown type supplied.");
            }
        }
 public TableSchemaDifference(Difference difference, IKustoSchema value) : base(difference) => Value = value;
 public FunctionSchemaDifference(Difference difference, IKustoSchema value) : base(difference) => Value = value;