Mac Guides | Samples

MonoMac.Foundation.You_Should_Not_Call_base_In_This_Method Class

This exception is thrown by models.

See Also: You_Should_Not_Call_base_In_This_Method

Syntax

public class You_Should_Not_Call_base_In_This_Method : Exception

Remarks

This exception is thrown in case that your code calls base.XXX when you are reimplementing a MonoMac Model.

Unlike regular classes, Model classes (those that are flagged with the [ModelAttribute]) are merely a skeleton used to bring to C# the equivalent of "optional" methods in an Objective-C protocol. The methods exposed by the class are not exposed to the Objective-C world, only methods that are explicitly overwritten are exposed.

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.You_Should_Not_Call_base_In_This_Method are listed below.

See Also: Exception

Public Constructors