web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Extend a class or implement an interface using D365FO Ninja DevTools

Hichem.Chekebkeb Profile Picture Hichem.Chekebkeb 3,371

Here is a great feature will help you extend a class or implement an interface using D365FO Ninja DevTools

Extend a class

Let's take a good example, I have an abstract class TSTAbstractClass which I want to implement.

Interface.PNG

Very simple, just right click on the class in the solution explorer than Click Extend...

ExtendInterface.PNG

The tool will ask for the name of the new class:

ExtendInterfaceCode.PNG

The tool will not only create the class but will implement the abstract methods also:

AbstractClass.PNG

Implement an interface

The same concept with interfaces.

I have an interface called TSTIMarkable which I want to be implemented in my new class.

ExtendClass.PNG

Right click on the interface in the Solution explorer and Click Extend...

PromWindowAbsClass.PNG

Provide the new class name, then, as expected the new class will be created, and the interface methods will also get implemented.

ExtendClass-Code.PNG

Cool right!

Enjoy DAXing with D365FO Ninja DevTools

Comments

*This post is locked for comments