Glue.Unbind

Warn

  • Throws an exception if the binding does not exist

Unbinds an instance from the instance lookups with a given key

Example Default Usage

var glue = new Glue(); glue.Bind("some-service").To(new SomeService()); glue.Unbind("some-service");

(Void) Unbind(key(String) The key/name of the object to be unbound )

Param

  • key

    (String)

    The key/name of the object to be unbound