McNeel Wiki
Class Prefixes in the Rhino .NET SDK
edit · print · help · all topics
Main Pages

AccuRender

Bongo

Brazil r/s

Developer

Flamingo

Penguin

Rhino Blogs

Rhino

Search

Languages

Česky

Deutsch

English

Español

Français

Italiano

Polish

日本語

한국어

中文(繁體)

 
.
Developer.NET

Question

What is the difference between all of the .Net SDK class prefixes. I see

  • On...
  • IOnN...
  • MRhino...
  • IRhino...

Can someone please give me a brief rundown of what all these mean and what they might signify the class is used for?

Answer

The Rhino .NET SDK is a wrapper around the Rhino C++ SDK. For whatever reason, Microsoft choose not to implement the concept of const in the .NET framework. In C++, when modifying a data declaration, the const keyword specifies that the object or variable is not modifiable, or is constant. Thus, whenever you see a class name prefixed with an I, such as IRhinoObject, you will know that this is an object that cannot be modfied.

rename · changes · history · subscriptions · lost and found · references · file upload