confluent-kafka-dotnet
Show / Hide Table of Contents

Class RuleSet

Inheritance
object
RuleSet
Implements
IEquatable<RuleSet>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry
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
Type Name Description
IList<Rule> migrationRules
IList<Rule> domainRules

Properties

DomainRules

Declaration
[DataMember(Name = "domainRules")]
public IList<Rule> DomainRules { get; set; }
Property Value
Type Description
IList<Rule>

MigrationRules

Declaration
[DataMember(Name = "migrationRules")]
public IList<Rule> MigrationRules { get; set; }
Property Value
Type Description
IList<Rule>

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
object.Equals(object)

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()

HasRules(RuleMode)

Declaration
public bool HasRules(RuleMode mode)
Parameters
Type Name Description
RuleMode mode
Returns
Type Description
bool

Implements

IEquatable<T>
In this article