02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Description Interfaces and Classes<br />

Description Interfaces and Classes<br />

The <strong>Ocean</strong> Core provides two interfaces defining descriptions for objects. The interfaces<br />

are IDescription and IDescriptionSource.<br />

The IDescription interface provides a set of properties that are used to describe an<br />

object. These properties are Name, Description, and ShortDescription.<br />

public interface IDescription<br />

{<br />

string Description;<br />

string Name;<br />

string ShortDescription;<br />

}<br />

The Name property is a string that contains the name of the object for which the interface<br />

is implemented. The name may not be null.<br />

The Description property is a string that is intended to completely define the object for<br />

which the interface is implemented. It can be null but is more typically a sentence or<br />

paragraph.<br />

The ShortDescription property is a brief description. It can be null, but it is usually a<br />

short sentence describing the object that may be used in a tooltip.<br />

<strong>Schlumberger</strong> Private<br />

<strong>Ocean</strong> Core 3-75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!