Skip to content
Snippets Groups Projects
Select Git revision
  • gitkeep
  • Issue/2463-newCoscinePIDTypes
  • dev protected
  • master default protected
  • Issue/2309-docs
  • Issue/2259-updatePids
  • Issue/1321-pidEnquiryOverhaul
  • Issue/2158-emailServicedesk
  • uiv2
  • Hotfix/2130-uiv2ContactChange
  • Hotfix/2087-efNet6
  • Issue/1910-MigrationtoNET6.0
  • Issue/1971-projectEditCreateMigration
  • Issue/1980-userManagement
  • Sprint/2022-01
  • Sprint/2021-2022
  • Issue/1741-semanticSearchActions
  • Sprint/2021-23
  • Issue/1746-ApplicationProfileStoringMethod
  • Hotfix/1466-projectCreationTimeout
  • v3.3.2
  • v3.3.1
  • v3.3.0
  • v3.2.0
  • v3.1.0
  • v3.0.0
  • v2.4.1
  • v2.4.0
  • v2.3.0
  • v2.2.0
  • v2.1.1
  • v2.1.0
  • v2.0.0
  • v1.18.0
  • v1.17.1
  • v1.17.0
  • v1.16.0
  • v1.15.1
  • v1.15.0
  • v1.14.0
40 results

PIDEventArgs.cs

  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    PIDEventArgs.cs 761 B
    using Coscine.Configuration;
    using Coscine.Database.DataModel;
    using Newtonsoft.Json.Linq;
    
    namespace Coscine.Action.EventArgs
    {
        public class PIDEventArgs : ActionEventArgs
        {
            public IConfiguration Configuration { get; set; }
            public User Requester { get; set; }
            public Resource Resource { get; set; }
            public Project Project { get; set; }
            public JObject Placeholder { get; set; }
            public bool SentCopy { get; set; }
    
            public PIDEventArgs(IConfiguration configuration, object[] args) : base(args)
            {
                Configuration = configuration;
            }
    
            public PIDEventArgs(IConfiguration configuration) : this(configuration, System.Array.Empty<object>())
            {
            }
        }
    }