Ejemplo n.º 1
0
 public static T With <T>(this T Instance, WithDelegate <T> Chain) => Chain(ref Instance);
Ejemplo n.º 2
0
    public Task DelegateProp()
    {
        var target = new WithDelegate();

        return(Verify(target));
    }
 ExpressionToCodeConfiguration With(WithDelegate edit)
 {
     var configCopy = Value;
     edit(ref configCopy);
     return new ExpressionToCodeConfiguration(configCopy);
 }