Beispiel #1
0
            public override string GetArguments(KeyResolver resolver)
            {
                string s = String.Concat("[", this.Keys.Length.ToString(), "] {");

                if (this.Keys.Length > 0)
                {
                    s += resolver.Resolve(this.Keys[0]);
                }
                if (this.Keys.Length > 1)
                {
                    s += " ... " + resolver.Resolve(this.Keys[this.Keys.Length - 1]);
                }
                return(s + " }");
            }
Beispiel #2
0
 public override string GetArguments(KeyResolver resolver)
 {
     return(resolver.Resolve(this.Key));
 }
Beispiel #3
0
 public override string GetArguments(KeyResolver resolver)
 {
     return(String.Concat(resolver.Resolve(this.Key), " ", this.Mutation.ToString(), " ", this.Param.ToString("K")));
 }
Beispiel #4
0
            public override string ToString(KeyResolver resolver)
            {
                resolver = resolver ?? KeyResolver.Default;
                var arg = this.GetArguments(resolver);
                var sb  = new StringBuilder();

                if (this.Snapshot)
                {
                    sb.Append("Snapshot.");
                }
                sb.Append("Atomic_").Append(this.Mutation.ToString()).Append(' ').Append(resolver.Resolve(this.Key)).Append(", <").Append(this.Param.ToHexaString(' ')).Append('>');
                return(sb.ToString());
            }
Beispiel #5
0
 public override string GetArguments(KeyResolver resolver)
 {
     return(String.Concat(resolver.Resolve(this.Key), " = ", this.Value.ToString("K")));
 }
Beispiel #6
0
            public override string ToString(KeyResolver resolver)
            {
                resolver = resolver ?? KeyResolver.Default;
                var sb = new StringBuilder();

                if (this.Snapshot)
                {
                    sb.Append("Snapshot.");
                }
                sb.Append("Atomic_").Append(this.Mutation.ToString()).Append(' ').Append(resolver.Resolve(GetUserKey())).Append(", <").Append(GetUserValue().ToHexaString(' ')).Append('>');
                return(sb.ToString());
            }
Beispiel #7
0
 public override string GetArguments(KeyResolver resolver)
 {
     return(string.Concat(resolver.Resolve(GetUserKey()), " ", this.Mutation.ToString(), " ", GetUserValue().ToString("V")));
 }
Beispiel #8
0
 public override string GetArguments(KeyResolver resolver) => resolver.Resolve(this.Key);
 public override string GetArguments(KeyResolver resolver)
 {
     return(resolver.Resolve(this.Key) + " =?= " + (this.Expected.IsNull ? "<missing>" : this.Expected.ToString("V")));
 }