Author Topic: Is it possible to Write a message to the Command Line at the end of netload?  (Read 5333 times)

0 Members and 1 Guest are viewing this topic.

Glenn R

  • Guest
No - IExtensionApplication is an interface defined by some class in the adesk class heirarchy. As a matter of convention, interfaces typically start with a capital 'I' to denote an interface.

kaefer

  • Guest
No - IExtensionApplication is an interface defined by some class in the adesk class heirarchy.

public interface Autodesk.AutoCAD.Runtime.IExtensionApplication

I think part of the confusion stems from C#'s peculiar inheritance/interface implementation syntax. Since it doesn't support multiple inheritance, all types or all but the first type provided after the colon have to be interfaces. Compare with a language where these cases are clearly differentiated, like in F# inheritance:
Code: [Select]
type MyClass() =
    inherit BaseClass()
    ....
and F# interface implementation:
Code: [Select]
type MyClass() =
    interface IExtensionApplication with
        member x.Initialize() = ...
        member x.Terminate() = ...

Cheers