Class Migration
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class Migration : IEquatable<Migration>
Constructors
Migration(RuleMode, Schema, Schema)
Declaration
public Migration(RuleMode ruleMode, Schema source, Schema target)
Parameters
Properties
RuleMode
Declaration
public RuleMode RuleMode { get; set; }
Property Value
Source
Declaration
public Schema Source { get; set; }
Property Value
Target
Declaration
public Schema Target { get; set; }
Property Value
Methods
Equals(Migration)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Migration other)
Parameters
| Type |
Name |
Description |
| Migration |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Overrides
Implements