Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1514

Add IFactoryObject implementation to support arbitrary delegate invocation for object creation

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0 M1
    • Fix Version/s: 2.0 M2
    • Component/s: Spring-NET-CORE
    • Labels:
      None

      Description

      We should provide a conventience implementation of IFactoryObject that supports the user providing a simple Func<T> (where T is the type of object the factory should build). This will permit the user to 'register' any arbitrary object + creation method with the container. This request came from the NServiceBus team so that SPRNET could have 'parity' in re: functionality with the other containers supported 'natively' with NServiceBus.

        Attachments

          Activity

            People

            • Assignee:
              sbohlen Steve Bohlen
              Reporter:
              sbohlen Steve Bohlen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: