Class RuleSet
Assembly: Confluent.SchemaRegistry.dll
Syntax
[DataContract]
public class RuleSet : IEquatable<RuleSet>
Constructors
RuleSet(IList<Rule>, IList<Rule>)
Declaration
public RuleSet(IList<Rule> migrationRules, IList<Rule> domainRules)
Parameters
Properties
DomainRules
Declaration
[DataMember(Name = "domainRules")]
public IList<Rule> DomainRules { get; set; }
Property Value
MigrationRules
Declaration
[DataMember(Name = "migrationRules")]
public IList<Rule> MigrationRules { get; set; }
Property Value
Methods
Equals(RuleSet)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RuleSet other)
Parameters
Type |
Name |
Description |
RuleSet |
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
HasRules(RuleMode)
Declaration
public bool HasRules(RuleMode mode)
Parameters
Returns
Implements