I hereby claim:
- I am fmork on github.
- I am fmork (https://keybase.io/fmork) on keybase.
- I have a public key whose fingerprint is 4ECD 4DBA 2FE9 1795 9573 67C9 1EBC 7993 E16F E951
To claim this, I am signing this object:
class Program | |
{ | |
private static Action<string> stringAction; | |
static void Main(string[] args) | |
{ | |
stringAction = new Action<string>(s => Console.WriteLine(s)); | |
stringAction =(Action<string>) Delegate.Combine(stringAction, new Action<string>(s => Console.WriteLine(s))); | |
stringAction("Action called once"); // will be printed twice |
I hereby claim:
To claim this, I am signing this object:
public void Start_InvokesFactoryMethod() | |
{ | |
// Arrange | |
// set up mocks and stuff needed (removed for brevity) | |
bool testTimedOut; | |
using (AutoResetEvent waitHandle = new AutoResetEvent(false)) | |
{ | |
Func<ISomeResource, IMyObject> myObjectProvider = resource => |
// going from this: | |
[DataMember] | |
public string SomeProperty { get; set; ) | |
// ...should lead to this (adding Name property of attribute, using property name, but camel cased): | |
[DataMember(Name = "someProperty")] | |
public string SomeProperty { get; set; } | |
// This should not affect other attributes, so this: |