C# Class Pathoschild.DesignByContract.Tests.Framework.Annotated.InterfaceSword

Inheritance: ISword
显示文件 Open project: Pathoschild/DesignByContract Class Usage Examples

Public Properties

Property Type Description
_onIndexer bool
_onProperty bool
_onReadonlyProperty bool
_privateProperty bool

Private Properties

Property Type Description

Public Methods

Method Description
OnMethod ( bool value ) : bool

An annotated method.

OnMethodParameter ( bool value ) : bool

A method with an annotated parameter.

OnMethodReturnValue ( bool value ) : bool

A method with an annotated return value.

this ( bool key ) : bool

An annotated indexer.

The value can be set directly using _onIndexer.

Method Details

OnMethod() public method

An annotated method.
public OnMethod ( bool value ) : bool
value bool The return value.
return bool

OnMethodParameter() public method

A method with an annotated parameter.
public OnMethodParameter ( bool value ) : bool
value bool The return value.
return bool

OnMethodReturnValue() public method

A method with an annotated return value.
public OnMethodReturnValue ( bool value ) : bool
value bool The return value.
return bool

this() public method

An annotated indexer.
The value can be set directly using _onIndexer.
public this ( bool key ) : bool
key bool
return bool

Property Details

_onIndexer public_oe property

public bool _onIndexer
return bool

_onProperty public_oe property

public bool _onProperty
return bool

_onReadonlyProperty public_oe property

public bool _onReadonlyProperty
return bool

_privateProperty public_oe property

public bool _privateProperty
return bool