1 /** 2 Copyright: 2017 © LLC CERERIS 3 License: MIT 4 Authors: LLC CERERIS 5 */ 6 7 module dich.binding; 8 9 import dich.provider; 10 import dich.reuse; 11 12 /// Provides DI binding. Represents a registered binding in that library 13 struct Binding 14 { 15 public: 16 /// Full name of a registered binding 17 string fullyQualifiedName; 18 19 /// A name of binding for getting it by name 20 string name; 21 22 /// Provider of that binding 23 ProviderInterface provider; 24 25 /// Reuse interface of that binding 26 ReuseInterface reuse; 27 }