Click or drag to resize
RiakJavascriptCommitHook Class
Represents a JavaScript-based commit hook.
Inheritance Hierarchy
SystemObject
  RiakClient.Models.CommitHookRiakCommitHook
    RiakClient.Models.CommitHookRiakJavascriptCommitHook

Namespace:  RiakClient.Models.CommitHook
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public class RiakJavascriptCommitHook : RiakCommitHook, 
	IRiakPreCommitHook, IRiakCommitHook

The RiakJavascriptCommitHook type exposes the following members.

Constructors
  NameDescription
Public methodRiakJavascriptCommitHook
Initializes a new instance of the RiakJavascriptCommitHook class.
Top
Properties
  NameDescription
Public propertyName
The name of the JavaScript function to execute for the hook.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(RiakCommitHook)
Determines whether the specified object is equal to the current object.
(Overrides RiakCommitHookEquals(RiakCommitHook).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for the current object. Uses a combination of the public properties to generate a unique hash code.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToJsonString
Convert the commit hook to a JSON-encoded string.
(Inherited from RiakCommitHook.)
Public methodToRpbCommitHook
Converts the commit hook to a protobuf message.
(Overrides RiakCommitHookToRpbCommitHook.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteJson
Write the commit hook to a JsonWriter.
(Overrides RiakCommitHookWriteJson(JsonWriter).)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether the one object is equal to another object.
Public operatorStatic memberInequality
Determines whether the one object is not equal to another object.
Top
See Also