Skip to content

Instantly share code, notes, and snippets.

maldworth maldworth

Block or report user

Report or block maldworth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ConsumersTestHarness.cs
using Decorators;
using MessageObservers;
using System;
using System.Collections.Generic;
public class ConsumersTestHarness
readonly BusTestHarness _testHarness;
readonly IList<Action<IReceiveEndpointConfigurator>> _consumerConfigurations;
maldworth / Knockout.clickSubmit.js
Created Nov 23, 2014
Click Submit Custom Binding for Form Validation
View Knockout.clickSubmit.js
ko.bindingHandlers.clickSubmit = {
init: function(element, valueAccessor, allBindings, viewModel, bindingContext) {
var formElement = null;
// Allow the binding handler to function with or without jQuery
if(typeof jQuery == 'undefined') {
// We need to have a parameter provided to the handler if jQuery is not present
var value = ko.utils.unwrapObservable(valueAccessor());
// Need to have a value which contains the name of our parent form.
You can’t perform that action at this time.