ImpromptuInterface 5.6.2

impromptu-interface http://code.google.com/p/impromptu-interface/

C# 4.0 framework to allow you to wrap any object with a static Duck Typing Interface, emits cached dynamic binding code inside a proxy.

Copyright 2010 Ekon Benefits Apache Licensed: http://www.apache.org/licenses/LICENSE-2.0

Author: Jay Tuley jay+code@tuley.name

Usage: public interface ISimpeleClassProps { string Prop1 { get; }

    long Prop2 { get; }

    Guid Prop3 { get; }
}
var tAnon = new {Prop1 = "Test", Prop2 = 42L, Prop3 = Guid.NewGuid()};

ISimpeleClassProps tActsLike = tAnon.ActLike<ISimpeleClassProps>();

Or dynamic tNew = new ExpandoObject(); tNew.Prop1 = "Test"; tNew.Prop2 = 42L; tNew.Prop3 = Guid.NewGuid();

ISimpeleClassProps tActsLike = Impromptu.ActLike<ISimpeleClassProps>(tNew);

Also Contains some primitive base classes:

ImpromptuObject --Similar to DynamicObject but the expected static return type from the wrapped interface can be queried. ImpromptuFactory -- Functional base class, used to create fluent factories with less boilerplate ImpromptuDictionary -- Similar to ExpandoObject but returns default of the static return type if the property has never been set.

Showing the top 20 packages that depend on ImpromptuInterface.

Packages Downloads
Microsoft.Azure.DurableTask.Core
This package provides a C# based durable task framework for writing long running applications.
19
Microsoft.Azure.DurableTask.Core
This package provides a C# based durable task framework for writing long running applications.
17
Microsoft.Azure.DurableTask.Core
This package provides a C# based durable task framework for writing long running applications.
16
Microsoft.Azure.DurableTask.Core
This package provides a C# based durable task framework for writing long running applications.
14
Microsoft.Azure.DurableTask.Core
This package provides a C# based durable task framework for writing long running applications.
13
Microsoft.Azure.DurableTask.Core
This package provides a C# based durable task framework for writing long running applications.
12

This package has no dependencies.

Version Downloads Last updated
8.1.0 6 10/01/2026
8.0.6 10 06/21/2026
8.0.4 13 12/26/2023
8.0.3 10 05/16/2025
7.0.1 13 01/08/2024
7.0.1-beta40 13 01/08/2024
6.2.2 15 01/08/2024
6.1.4 11 01/08/2024
6.0.6 16 01/08/2024
5.6.7 16 01/08/2024
5.6.6 12 01/08/2024
5.6.4 16 01/08/2024
5.6.2 14 01/08/2024
5.5.8 12 01/08/2024
5.5.6 14 01/08/2024
5.1.1 10 01/08/2024
5.0.4 16 01/08/2024
5.0.3 14 01/08/2024
4.0.7 13 01/08/2024
3.1.4 12 01/08/2024
3.0.2 15 01/08/2024
3.0.1 12 01/08/2024
2.0.0 14 01/08/2024
1.2.1 16 01/08/2024