C# Class Gnip.Client.Resource.Activity

Inheritance: IResource, IDeepCompare
显示文件 Open project: electromute/gnip-dotnet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Activity ( ) : System

A basic constructor for creating an activity.

Activity ( Actor actor, string action ) : System

A basic constructor for creating an activity from an actor, often a username, and an action, often something the actor did.

Activity ( Actor actor, string action, Payload payload ) : System

A constructor for creating an activity from an actor, often a username, and an action, often something the actor did. This constructor also includes a Payload of data that is associated with the activity.

Activity ( System.DateTime at, string action ) : System

A basic constructor for creating an activity from an actor, often a username, and an action, often something the actor did.

Activity ( System.DateTime at, string action, Payload payload ) : System

A basic constructor for creating an activity from an actor, often a username, and an action, often something the actor did.

DeepEquals ( Activity that ) : bool

Determins if this equals that by performing a deep equals looking at all elements of all member listsand objects.

DeepEquals ( object o ) : bool

Determins if this equals that by performing a deep equals looking at all elements of all member lists and objects.

Equals ( object o ) : bool

Determines whether the specified Object is equal to the current Object. Ths performs a shallow equals where any reference types are compared by reference.

GetHashCode ( ) : int

The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.

GetValue ( RuleType ruleType ) : IList

Retrieves the value from the Activity that is associated with the RuleType.

Method Details

Activity() public method

A basic constructor for creating an activity.
public Activity ( ) : System
return System

Activity() public method

A basic constructor for creating an activity from an actor, often a username, and an action, often something the actor did.
public Activity ( Actor actor, string action ) : System
actor Actor the actor
action string the action performed by the actor ///
return System

Activity() public method

A constructor for creating an activity from an actor, often a username, and an action, often something the actor did. This constructor also includes a Payload of data that is associated with the activity.
public Activity ( Actor actor, string action, Payload payload ) : System
actor Actor the actor
action string the action performed by the actor
payload Payload the data associated with the activity
return System

Activity() public method

A basic constructor for creating an activity from an actor, often a username, and an action, often something the actor did.
public Activity ( System.DateTime at, string action ) : System
at System.DateTime the time at which the activity occured.
action string the action performed by the actor ///
return System

Activity() public method

A basic constructor for creating an activity from an actor, often a username, and an action, often something the actor did.
public Activity ( System.DateTime at, string action, Payload payload ) : System
at System.DateTime the time at which the activity occured.
action string the action performed by the actor
payload Payload the data associated with the activity
return System

DeepEquals() public method

Determins if this equals that by performing a deep equals looking at all elements of all member listsand objects.
public DeepEquals ( Activity that ) : bool
that Activity The object to compare for equality.
return bool

DeepEquals() public method

Determins if this equals that by performing a deep equals looking at all elements of all member lists and objects.
public DeepEquals ( object o ) : bool
o object
return bool

Equals() public method

Determines whether the specified Object is equal to the current Object. Ths performs a shallow equals where any reference types are compared by reference.
public Equals ( object o ) : bool
o object the specifies object
return bool

GetHashCode() public method

The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.
public GetHashCode ( ) : int
return int

GetValue() public method

Retrieves the value from the Activity that is associated with the RuleType.
public GetValue ( RuleType ruleType ) : IList
ruleType RuleType the rule type
return IList