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

            header.DocumentType = value;
            return(header);
        }
예제 #3
0
 private ServiceMetadata(
     ParticipantIdentifier participantIdentifier,
     DocumentTypeIdentifier documentTypeIdentifier,
     List <ProcessMetadata <Endpoint> > processes)
     : base(participantIdentifier, documentTypeIdentifier, processes)
 {
 }
예제 #4
0
 public static Header Of(
     ParticipantIdentifier sender,
     ParticipantIdentifier receiver,
     ProcessIdentifier process,
     DocumentTypeIdentifier documentType)
 {
     return(new Header(sender, receiver, process, documentType, null, null, null));
 }
예제 #5
0
 protected AbstractServiceMetadata(
     ParticipantIdentifier participantIdentifier,
     DocumentTypeIdentifier documentTypeIdentifier,
     List <ProcessMetadata <T> > processes)
 {
     this.ParticipantIdentifier  = participantIdentifier;
     this.DocumentTypeIdentifier = documentTypeIdentifier;
     this.processes = processes;
 }
예제 #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));
 }
예제 #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;
 }
예제 #8
0
 public static ServiceReference Of(DocumentTypeIdentifier documentTypeIdentifier, params ProcessIdentifier[] processIdentifiers)
 {
     return(new ServiceReference(documentTypeIdentifier, processIdentifiers));
 }
예제 #9
0
 private ServiceReference(DocumentTypeIdentifier documentTypeIdentifier, IEnumerable <ProcessIdentifier> processIdentifiers)
 {
     this.DocumentTypeIdentifier = documentTypeIdentifier;
     this.ProcessIdentifiers     = processIdentifiers;
 }
예제 #10
0
 public static ServiceReference Of(DocumentTypeIdentifier documentTypeIdentifier, IEnumerable <ProcessIdentifier> processIdentifiers)
 {
     return(new ServiceReference(documentTypeIdentifier, processIdentifiers));
 }