C# Класс Gnip.Client.Resource.Activity

Наследование: IResource, IDeepCompare
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

Activity() публичный Метод

A basic constructor for creating an activity.
public Activity ( ) : System
Результат System

Activity() публичный Метод

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 ///
Результат System

Activity() публичный Метод

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
Результат System

Activity() публичный Метод

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 ///
Результат System

Activity() публичный Метод

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
Результат System

DeepEquals() публичный Метод

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.
Результат bool

DeepEquals() публичный Метод

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
Результат bool

Equals() публичный Метод

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
Результат bool

GetHashCode() публичный Метод

The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.
public GetHashCode ( ) : int
Результат int

GetValue() публичный Метод

Retrieves the value from the Activity that is associated with the RuleType.
public GetValue ( RuleType ruleType ) : IList
ruleType RuleType the rule type
Результат IList