Winter IoC Container

StaticPropertyInvokingFactory Class

StaticPropertyInvokingFactory used for defining instance as static property of some class.

For a list of all members of this type, see StaticPropertyInvokingFactory Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         NI.Common.Component
            NI.Winter.StaticPropertyInvokingFactory

[DesignerCategory(Category="Component")]
public class StaticPropertyInvokingFactory : Component, IFactoryComponent

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

<component name="datetimenow" type="NI.Winter.StaticPropertyInvokingFactory,NI.Winter" singleton="false" lazy-init="true">
    <property name="TargetType"><type>System.DateTime,Mscorlib</type></property>
    <property name="TargetProperty"><value>Now</value></property>
</component>

Requirements

Namespace: NI.Winter

Assembly: NI.Winter (in NI.Winter.dll)

See Also

StaticPropertyInvokingFactory Members | NI.Winter Namespace