Cauldron icon indicating copy to clipboard operation
Cauldron copied to clipboard

Wiki links are currently broken

Open marcells opened this issue 7 years ago • 6 comments

Switch to the Wiki on GitHub and try several links in the TOC. Most of them are broken,

marcells avatar May 09 '18 09:05 marcells

Oh... Its maybe because I changed the Sandcastle documentation file names from GUID to actual member names. Thanks for the hint. I will look into that ASAP.


Firma: Capgemini Deutschland GmbH Aufsichtsratsvorsitzender: Antonio Schnieder • Geschäftsführer: Dr. Michael Schulte (Sprecher) • Jost Förster • Dr. Peter Lempp • Dr. Volkmar Varnhagen

Amtsgericht Berlin-Charlottenburg, HRB 98814 This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

reflection-emit avatar May 09 '18 09:05 reflection-emit

Thank you.

marcells avatar May 09 '18 10:05 marcells

This might be a related issue, but I also noticed that the "Assembly-wide attribute decoration" & "Custom Interceptors" link on the wiki page (https://github.com/Capgemini/Cauldron/wiki) is broken, it points to the same page instead of an example.

In the meantime, is there documentation on how to implement assembly-wide attributes?

krishna0209 avatar Jun 13 '18 17:06 krishna0209

Nope... Actually I started to write the documentation, but haven't finished it yet.

In short.. You can create a json file in your projects root folder and name it *cauldron.fody.json Here is an example of how it could look like.

[
  {
    "is-active": true,
    "debug-only": false,
    "decorator": [
      {
        "type-name": "Program.WebService.LoggerAttribute", // The full name of the attribute to decorate
        "decorate-class": false,
        "decorate-methods": true,
        "decorate-properties": false,
        "target-class-filter": {
          "public": true, // Include all public class?
          "internal": true, // Include all internal class?
          "private": false, // Inlude all private class?
          "static": false, // Include all static class?
          "instanced": true, // Include all instanced class?
          "name": "\\w*Controller" // Regex - include all classes with that matches
        }
      },
      {
        "type-name": "Company.Common.Logging.PerformanceLoggerAttribute",
        "decorate-class": false,
        "decorate-methods": true,
        "decorate-properties": false,
        "target-class-filter": {
          "public": true,
          "internal": true,
          "private": false,
          "static": false,
          "instanced": true,
          "name": "\\w*Controller"
        }
      }
    ]
  }
]

There are more options though. I will be explaining them in the documentation. I hope I can finish it by the end of the month.

reflection-emit avatar Jun 13 '18 17:06 reflection-emit

Thank you, this is really helpful!

krishna0209 avatar Jun 13 '18 18:06 krishna0209

BTW... Here is a json with all the options which I use for the unit test as an example.

reflection-emit avatar Jun 15 '18 08:06 reflection-emit