
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
* Define string.format-like templates using *named* tokens. * A fluent API that makes template configuration clear and intuitive. * Access properties and parameterless methods of input values using a simple syntax. * Use delegates to process inputs. Tell your template to join a list, make a string uppercase, or calculate a difference -- decleratively. * No awkward string-based syntax that needs to be learned, and no tables you need to search through to find the type of formatting you need. All processing syntax is 100% language integrated. * All objects are totally immutable. No need to worry about thread-safety. * High-performance parser written using the FParsec parser-combinator library that performs a single pass on the input. Performs exponentially better than regex-based solutions.
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.
FAQs
* Define string.format-like templates using *named* tokens. * A fluent API that makes template configuration clear and intuitive. * Access properties and parameterless methods of input values using a simple syntax. * Use delegates to process inputs. Tell your template to join a list, make a string uppercase, or calculate a difference -- decleratively. * No awkward string-based syntax that needs to be learned, and no tables you need to search through to find the type of formatting you need. All processing syntax is 100% language integrated. * All objects are totally immutable. No need to worry about thread-safety. * High-performance parser written using the FParsec parser-combinator library that performs a single pass on the input. Performs exponentially better than regex-based solutions.
We found that flute demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.