[Mono-dev] Custom Code Writer

Bryan Crotaz bryan.crotaz at silvercurve.co.uk
Mon Oct 6 20:00:15 UTC 2014

Post sharp can be used to do all sorts of clever things. I've used it to
create a cross process messaging system in the past.

Bryan Crotaz
Silver Curve

On 6 Oct 2014, at 20:53, Malte Lauterjung <malauter at yahoo.de> wrote:

@ Miljenko Cvjetko:

Sorry, what did you mean? :D

@Bryan Crotaz:

I mean a library to build something like PostSharp themselves.
With PostSharp You could do some boring things like the auto-implementation
of INotifyPropertyChanged, but You can't do some complex things like a
complete repository-structure.
I think there are a lot use cases that cannot be done fully automatically,
but the developer can implement the automation system.
I hope you understand what I mean.

   Miljenko Cvjetko <mcvjetko at holisticware.net> schrieb am 21:10 Montag,
6.Oktober 2014:


Bing Fody... after PostSharp

On 20141006 20:28 , Bryan Crotaz wrote:

Google PostSharp - this might do what you're looking for.

On 6 October 2014 19:16, Malte Lauterjung <malauter at yahoo.de> wrote:


  first, I apologize for my English. I'm from Germany and my English is not
so good.

My idea is an interface, so that I can implement the writing of the assembly
I can implement it for C# (Or VB), so Mono.Cecil can create code with the
Definition-classes. With this feature Mono.Cecil could work as a
decompiler, so it would read the assembly, get the Definition-objects and
creates c#-code with them. Or I can develop a program which can create
test-classes for my program, implement mock-classes for a repository,
implement automatically INotifyPropertyChanged, etc.

I've been looking for a way to solve this, without changing your code, but I
have only found the static writer-classes.
If it's still possible, then I apologize and ask for a hint where I can
find an interface or something else.

Best regards and congratulations for this outstanding project


Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

Bryan Crotaz
Managing Director
Silver Curve

Mono-devel-list mailing
listMono-devel-list at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141006/36525324/attachment-0001.html>

More information about the Mono-devel-list mailing list