public override IEventToken Create(IDictionary <string, object> events)
        {
            IDictionary <string, object> tokenEvents = new Dictionary <string, object>(1);

            tokenEvents.Add(this.EventSchemaIdentifier, events);
            IEventToken result = new EventToken(this.Issuer, this.Header, tokenEvents);

            return(result);
        }
Exemple #2
0
        public override IEventToken Create(IDictionary <string, object> events)
        {
            if (null == events)
            {
                throw new ArgumentNullException(nameof(events));
            }

            IEventToken result = new EventToken(this.Issuer, this.Header, events);

            return(result);
        }