示例#1
0
 public WriteObject(CollectObject ColObjIn, string RunIdIn)
 {
     ColObj     = ColObjIn ?? throw new ArgumentNullException(nameof(ColObjIn));
     RunId      = RunIdIn;
     Serialized = JsonUtils.Dehydrate(ColObjIn);
     RowKey     = ColObj.RowKey;
 }
示例#2
0
        public WriteObject(CollectObject ColObj, string RunId)
        {
            this.ColObj = ColObj;
            this.RunId  = RunId;

            _serialized = JsonUtils.Dehydrate(ColObj);
            _rowKey     = CryptoHelpers.CreateHash(_serialized);
        }
        public WriteObject(CollectObject ColObjIn, string RunIdIn)
        {
            ColObj = ColObjIn;
            RunId  = RunIdIn;

            _serialized = JsonUtils.Dehydrate(ColObjIn);
            _rowKey     = CryptoHelpers.CreateHash(_serialized);
        }
        public WriteObject(CollectObject ColObj, string RunId)
        {
            if (ColObj == null)
            {
                throw new ArgumentNullException(nameof(ColObj));
            }
            this.ColObj = ColObj;
            this.RunId  = RunId;

            _serialized = JsonUtils.Dehydrate(ColObj);
            _rowKey     = CryptoHelpers.CreateHash(_serialized);
            Shard       = DatabaseManager.ModuloString(ColObj.Identity);
        }