Disco.Services.Documents.ManagedGroups.DocumentTemplateDevicesManagedGroup.ProcessJobAttachmentAddEvent C# (CSharp) Méthode

ProcessJobAttachmentAddEvent() private méthode

private ProcessJobAttachmentAddEvent ( RepositoryMonitorEvent e ) : void
e RepositoryMonitorEvent
Résultat void
        private void ProcessJobAttachmentAddEvent(RepositoryMonitorEvent e)
        {
            var attachment = (JobAttachment)e.Entity;

            string deviceAccountId;
            string deviceSerialNumber;
            if (JobsContainAttachment(e.Database, attachment.JobId, out deviceAccountId, out deviceSerialNumber))
                AddMember(deviceSerialNumber, (database) => new string[] { deviceAccountId });
        }
        private void ProcessJobAttachmentRemoveEvent(Tuple<DiscoDataContext, int, string, int> e)