/src/SampleLibrary/Proxy/SampleClassWithPropertyInitializedInCtor.cs

http://github.com/philiplaureano/LinFu · C# · 17 lines · 15 code · 2 blank · 0 comment · 0 complexity · c2a2c854a366c06fff1c05b0712c7df1 MD5 · raw file

  1. namespace SampleLibrary.Proxy
  2. {
  3. public class SampleClassWithPropertyInitializedInCtor
  4. {
  5. public SampleClassWithPropertyInitializedInCtor()
  6. {
  7. SomeProp = "abcdefg";
  8. }
  9. public virtual string SomeProp { get; set; }
  10. public virtual void DoSomething(out int value)
  11. {
  12. value = 54321;
  13. }
  14. }
  15. }