Ejemplo n.º 1
0
 public static ServiceMetadata Of(
     ParticipantIdentifier participantIdentifier,
     DocumentTypeIdentifier documentTypeIdentifier,
     List <ProcessMetadata <Endpoint> > processes)
 {
     return(new ServiceMetadata(participantIdentifier, documentTypeIdentifier, processes));
 }
Ejemplo n.º 2
0
        public Header SetDocumentType(DocumentTypeIdentifier value)
        {
            Header header = this.Copy();

            header.DocumentType = value;
            return(header);
        }
Ejemplo n.º 3
0
 private ServiceMetadata(
     ParticipantIdentifier participantIdentifier,
     DocumentTypeIdentifier documentTypeIdentifier,
     List <ProcessMetadata <Endpoint> > processes)
     : base(participantIdentifier, documentTypeIdentifier, processes)
 {
 }
Ejemplo n.º 4
0
 public static Header Of(
     ParticipantIdentifier sender,
     ParticipantIdentifier receiver,
     ProcessIdentifier process,
     DocumentTypeIdentifier documentType)
 {
     return(new Header(sender, receiver, process, documentType, null, null, null));
 }
Ejemplo n.º 5
0
 protected AbstractServiceMetadata(
     ParticipantIdentifier participantIdentifier,
     DocumentTypeIdentifier documentTypeIdentifier,
     List <ProcessMetadata <T> > processes)
 {
     this.ParticipantIdentifier  = participantIdentifier;
     this.DocumentTypeIdentifier = documentTypeIdentifier;
     this.processes = processes;
 }
Ejemplo n.º 6
0
 public static Header Of(
     ParticipantIdentifier sender,
     ParticipantIdentifier receiver,
     ProcessIdentifier process,
     DocumentTypeIdentifier documentType,
     InstanceIdentifier identifier,
     InstanceType instanceType,
     DateTime?creationTimestamp)
 {
     return(new Header(sender, receiver, process, documentType, identifier, instanceType, creationTimestamp));
 }
Ejemplo n.º 7
0
 private Header(
     ParticipantIdentifier sender,
     ParticipantIdentifier receiver,
     ProcessIdentifier process,
     DocumentTypeIdentifier documentType,
     InstanceIdentifier identifier,
     InstanceType instanceType,
     DateTime?creationTimestamp)
 {
     this.Sender            = sender;
     this.Receiver          = receiver;
     this.Process           = process;
     this.DocumentType      = documentType;
     this.Identifier        = identifier;
     this.InstanceType      = instanceType;
     this.CreationTimestamp = creationTimestamp;
 }
Ejemplo n.º 8
0
 public static ServiceReference Of(DocumentTypeIdentifier documentTypeIdentifier, params ProcessIdentifier[] processIdentifiers)
 {
     return(new ServiceReference(documentTypeIdentifier, processIdentifiers));
 }
Ejemplo n.º 9
0
 private ServiceReference(DocumentTypeIdentifier documentTypeIdentifier, IEnumerable <ProcessIdentifier> processIdentifiers)
 {
     this.DocumentTypeIdentifier = documentTypeIdentifier;
     this.ProcessIdentifiers     = processIdentifiers;
 }
Ejemplo n.º 10
0
 public static ServiceReference Of(DocumentTypeIdentifier documentTypeIdentifier, IEnumerable <ProcessIdentifier> processIdentifiers)
 {
     return(new ServiceReference(documentTypeIdentifier, processIdentifiers));
 }