public TenancyContentContext(
     LogSink securityLog, ContentContext context, TenancyProvider tenancyProvider)
 {
     this.SecurityLog          = securityLog;
     this.DbContext            = context;
     this.AuthenticatedUserRef = tenancyProvider.AuthenticatedUser;
 }
Exemple #2
0
 public ContentContext(
     DbContextOptions <ContentContext> options, LogSink logger,
     TenancyProvider tenancyProvider) : base(options)
 {
     this.Logger = logger;
     this.AuthenticatedUserKey = tenancyProvider.AuthenticatedUser.Value;
 }
Exemple #3
0
 public FullOwnershipContentContext(
     LogSink securityLog, ContentContext context, TenancyProvider tenancyProvider)
     : base(securityLog, context, tenancyProvider)
 {
 }
Exemple #4
0
 public TenancyContentContext(ContentContext context, TenancyProvider tenancyProvider)
 {
     this.DbContext            = context;
     this.AuthenticatedUserRef = tenancyProvider.AuthenticatedUser;
 }
 public AssignedContentReadingContext(ContentContext context, TenancyProvider tenancyProvider)
     : base(context, tenancyProvider)
 {
 }
Exemple #6
0
 public AssignedContentReadingContext(
     LogSink securityLog, ContentContext context, TenancyProvider tenancyProvider)
     : base(securityLog, context, tenancyProvider)
 {
 }
Exemple #7
0
 public FullOwnershipContentContext(ContentContext context, TenancyProvider tenancyProvider)
     : base(context, tenancyProvider)
 {
 }