add_feature


Description:

[ Version ( since = "2.34" ) ]
public abstract bool add_feature (Type type)

Adds a "sub-feature" of type type to the base feature this.

This is used for features that can be extended with multiple different types. Eg, the authentication manager can be extended with subtypes of Auth.

Parameters:

this

the "base" feature

type

the Type of a "sub-feature"

Returns:

true if this accepted type as a subfeature.




2022 vala-language.org