NewPartialAttributeFactory returns an AttributeFactory implementation capable of performing AttributePattern matches with PartialActivation inputs.
(container *containers.Container, adapter types.Adapter, provider types.Provider, opts ...AttrFactoryOption)
| 180 | // NewPartialAttributeFactory returns an AttributeFactory implementation capable of performing |
| 181 | // AttributePattern matches with PartialActivation inputs. |
| 182 | func NewPartialAttributeFactory(container *containers.Container, adapter types.Adapter, provider types.Provider, opts ...AttrFactoryOption) AttributeFactory { |
| 183 | fac := NewAttributeFactory(container, adapter, provider, opts...) |
| 184 | return &partialAttributeFactory{ |
| 185 | AttributeFactory: fac, |
| 186 | container: container, |
| 187 | adapter: adapter, |
| 188 | provider: provider, |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | type partialAttributeFactory struct { |
| 193 | AttributeFactory |