Class TentativeRejectActivity
- Namespace
 - ActivityPub.Types.AS.Extended.Activity
 
- Assembly
 - ActivityPub.Types.dll
 
A specialization of Reject in which the rejection is considered tentative.
public class TentativeRejectActivity : RejectActivity, IASModel<ASType, ASTypeEntity>, IASModel<ASType>, IASModel<ASObject, ASObjectEntity, ASType>, IASModel<ASObject, ASObjectEntity>, IASModel<ASObject>, IASModel<ASActivity, ASActivityEntity, ASObject>, IASModel<ASActivity, ASActivityEntity>, IASModel<ASActivity>, IASModel<RejectActivity, RejectActivityEntity, ASActivity>, IASModel<RejectActivity, RejectActivityEntity>, IASModel<RejectActivity>, IASModel<TentativeRejectActivity, TentativeRejectActivityEntity, RejectActivity>, IASModel<TentativeRejectActivity, TentativeRejectActivityEntity>, IASModel<TentativeRejectActivity>
  - Inheritance
 - 
      
      
      
      
      
      TentativeRejectActivity
 
- Implements
 
- Inherited Members
 
Constructors
TentativeRejectActivity()
Constructs a new instance and attaches it to a new, empty type graph.
public TentativeRejectActivity()
  TentativeRejectActivity(ASType)
Constructs a new instance and extends an existing type graph from a provided model.
public TentativeRejectActivity(ASType existingGraph)
  Parameters
existingGraphASType
- See Also
 - 
    Extend<TModel, TEntity>()
 
TentativeRejectActivity(TypeMap, TentativeRejectActivityEntity?)
public TentativeRejectActivity(TypeMap typeMap, TentativeRejectActivityEntity? entity)
  Parameters
typeMapTypeMapentityTentativeRejectActivityEntity
TentativeRejectActivity(TypeMap, bool)
Constructs a new instance from an existing type graph. The existing graph is either extended or wrapped, depending on the value of
isExtending
public TentativeRejectActivity(TypeMap typeMap, bool isExtending = true)
  Parameters
Remarks
All overrides MUST call this using
base(typeMap, false)
Exceptions
- InvalidOperationException
 If
is true and the entity type already exists in the graphextendGraph- InvalidOperationException
 If
is true and the entity requires another entity that is missing from the graphextendGraph- InvalidCastException
 If
is false and the object is not of typeextendGraphTEntity
- See Also
 
Fields
TentativeRejectType
ActivityStreams type name for "TentativeReject" types.
[PublicAPI]
public const string TentativeRejectType = "TentativeReject"
  Field Value
Properties
Entity
private TentativeRejectActivityEntity Entity { get; }
  Property Value
Explicit Interface Implementations
IASModel<TentativeRejectActivity>.ASTypeName
AS type name of this entity. For the full list of names in the object graph, use ASTypes.
static string IASModel<TentativeRejectActivity>.ASTypeName { get; }
  Returns
IASModel<TentativeRejectActivity>.FromGraph(TypeMap)
Constructs an instance from this type from a pre-populated type graph. The provided TypeMap instance is guaranteed to include an instance of type EntityType.
static TentativeRejectActivity IASModel<TentativeRejectActivity>.FromGraph(TypeMap typeMap)
  Parameters
typeMapTypeMap