func Named(dep Any, name string) Any {
	if _, isOptional := dep.(optionalBind); isOptional {
		panic(fmt.Sprintf("Optional binding couldn't be embedded into named"))
	}
	return namedBind{dep, name}
}
// Named declares dependency that could have multiply resolves with distinct names
Named declares dependency that could have multiply resolves with distinct names
// Named declares dependency that could have multiply resolves with distinct names
func Named(dep Any, name string) Any {
	if _, isOptional := dep.(optionalBind); isOptional {
		panic(fmt.Sprintf("Optional binding couldn't be embedded into named"))
	}
	return namedBind{dep, name}
}
func Named ( dep Any , name string ) Any { if _ , isOptional := dep . ( optionalBind ) ; isOptional { panic ( fmt . Sprintf ( " " ) ) } return namedBind { dep , name } }
Named declares dependency that could have multiply resolves with distinct names
Named declares dependency that could have multiply resolves with distinct names