Источник:
https://blogs.msdn.microsoft.com/mfp...tive-strategy/
==============
To create a new location directive strategy, follow these steps: Create an enum extension of the WhsLocDirStrategy enum. Add an entry with name and label for your strategy. Create a class extending the WhsLocationDirectiveStrategy abstract class. Implement the performStrategy() method Decorate your new class with the WhsLocationDirectiveStrategyFactoryAttribute, linking your class and enum entry together. Notice:...
==============
Источник:
https://blogs.msdn.microsoft.com/mfp...tive-strategy/