• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface ISubscriptionTypeController

This controller is responsible to manage the subscription types.

Namespace: DotNetNuke.Services.Social.Subscriptions
Assembly: DotNetNuke.dll
Syntax
public interface ISubscriptionTypeController

Methods

| Improve this Doc View Source

AddSubscriptionType(SubscriptionType)

Creates a new Subscription Type. If the operation succeed the SubscriptionTypeId property of the Subscription entity will be filled up.

Declaration
void AddSubscriptionType(SubscriptionType subscriptionType)
Parameters
Type Name Description
SubscriptionType subscriptionType

Subscription Type.

| Improve this Doc View Source

DeleteSubscriptionType(SubscriptionType)

Deletes a Subscription Type from the system.

Declaration
void DeleteSubscriptionType(SubscriptionType subscriptionType)
Parameters
Type Name Description
SubscriptionType subscriptionType

Subscription Type.

| Improve this Doc View Source

GetSubscriptionType(Func<SubscriptionType, Boolean>)

Retrieves a Single Subscription Type that match the where predicate.

Declaration
SubscriptionType GetSubscriptionType(Func<SubscriptionType, bool> predicate)
Parameters
Type Name Description
Func<SubscriptionType, System.Boolean> predicate

Where Predicate.

Returns
Type Description
SubscriptionType

Subscription Type.

| Improve this Doc View Source

GetSubscriptionTypes()

Retrieves all the Subscription Type.

Declaration
IEnumerable<SubscriptionType> GetSubscriptionTypes()
Returns
Type Description
IEnumerable<SubscriptionType>

Subscription Types collection.

| Improve this Doc View Source

GetSubscriptionTypes(Func<SubscriptionType, Boolean>)

Retrieves a set of Subscription Types specifying a where predicate.

Declaration
IEnumerable<SubscriptionType> GetSubscriptionTypes(Func<SubscriptionType, bool> predicate)
Parameters
Type Name Description
Func<SubscriptionType, System.Boolean> predicate

Where predicate.

Returns
Type Description
IEnumerable<SubscriptionType>

Subscription Type collection.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS