public static string HashAlias(Alias alias) { var aliasClone = alias.Clone(); aliasClone.Realm = ""; return(Base58.Encode(Sha256Hash(Encoding.UTF8.GetBytes(ToJson(aliasClone))))); }
public Alias Resolve(Alias cmd, string parameters) { var result = cmd.Clone(); result.FileName = Resolve(cmd.FileName.ToNormalisedParameter(), parameters); result.Arguments = Resolve(cmd.Arguments.ToNormalisedParameter(), parameters); return(result); }
public override object Clone() { var res = new PaillierAggregationSumFunction(FunctionName.Clone(), Alias.Clone()); foreach (var v in Parameters) { res.AddChild((Expression)v.Clone()); } return(res); }
public override object Clone() { var res = new ElGamalDivisionFunction(FunctionName.Clone(), Alias.Clone()); foreach (var v in Parameters) { res.AddChild((Expression)v.Clone()); } return(res); }
public override object Clone() => new ColumnRef(Table.Clone(), ColumnName.Clone(), Alias.Clone());
public override object Clone() => new MySqlVariable(VariableName.Clone(), Alias.Clone());