Class ShortenedUrl
Assembly: Volo.CmsKit.Pro.Domain.dll
Syntax
public class ShortenedUrl : BasicAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IMultiTenant, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator
Constructors
ShortenedUrl()
Declaration
ShortenedUrl(Guid, string, string, bool, Guid?)
Declaration
public ShortenedUrl(Guid id, string source, string target, bool isRegex = false, Guid? tenantId = null)
Parameters
Properties
CreationTime
Declaration
public DateTime CreationTime { get; protected set; }
Property Value
CreatorId
Declaration
public Guid? CreatorId { get; protected set; }
Property Value
IsRegex
Declaration
public virtual bool IsRegex { get; protected set; }
Property Value
Source
Declaration
public virtual string Source { get; protected set; }
Property Value
Target
Declaration
public virtual string Target { get; protected set; }
Property Value
TenantId
Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Methods
SetTarget(string)
Declaration
public virtual void SetTarget(string target)
Parameters
Type |
Name |
Description |
string |
target |
|
Implements
Extension Methods