private static void SubInflation(Quotation Quotation, decimal inflation) { Quotation.Close = Quotation.Close * (1 - inflation); Quotation.Open = Quotation.Open * (1 - inflation); Quotation.High = Quotation.High * (1 - inflation); Quotation.Low = Quotation.Low * (1 - inflation); }
public static SCode Make(Primitive2 rator, Quotation rand0, SCode rand1) { return (rand1 is Argument) ? PrimitiveIsCharEqQA.Make (rator, rand0, (Argument) rand1) : (rand1 is StaticVariable) ? PrimitiveIsCharEqQS.Make (rator, rand0, (StaticVariable) rand1) : new PrimitiveIsCharEqQ (rator, rand0, rand1); }
public static Quotation Create(PrimitiveQuotation primitiveQuotation, ConfigMetadata metadata) { Quotation quotation = new Quotation(primitiveQuotation); quotation.SourceId = metadata.GetSourceId(primitiveQuotation.SourceName); quotation.InstrumentId = metadata.GetInstrumentId(primitiveQuotation.InstrumentCode); return quotation; }
public Quotation CreateQuote(QuotationRequest request) { var quote = new Quotation( guidProvider.CreateGuid(), dateTimeProvider.GetCurrent(), request.Items.Select(i => i.CreateLineItem(new Money("GBP", i.Quantity.Value/100.00))) ); return quotes.GetOrAdd(quote.Id, quote); }
private DataSet getDataSetWithQuotation(int assetId, int timeframeId, int indexNumber, double open, double high, double low, double close, double volume) { var timeframe = getTimeframe(timeframeId); DateTime date = timeframe.AddTimeUnits(DEFAULT_BASE_DATE, indexNumber - 1); DataSet ds = new DataSet(assetId, timeframeId, date, indexNumber); Quotation q = new Quotation(ds) { Open = open, High = high, Low = low, Close = close, Volume = volume }; return(ds); }
public void UpdateQuotation(ref Quotation quotation) { CurrencyPair currencyPair = quotation.Ticker.CurrencyPair; string url = "https://www.bitstamp.net/api/order_book/"; using (WebClient webClient = new WebClient()) { webClient.DownloadStringCompleted += DownloadQuotationCompleted; EventSourceLogger.Logger.BeginDownloadDataAsync(DataTypeDict["Quotation"], Exchange.Name, currencyPair.Code); webClient.DownloadStringAsync(new Uri(url), quotation); } }
public static void ProcessQuotation(Quotation quotation, int volume) { CandleBuilder builder; if (!builders.TryGetValue(quotation.InstrumentID, out builder)) { builder = new CandleBuilder(CandleDAL.GetLast(quotation.InstrumentID), CandleType.Minute); builders.Add(quotation.InstrumentID, builder); } builder.ProcessQuotation(quotation, volume); DataSaver.AddCandle(builder.LastData); }
public JsonResult Update(Quotation quo) { try { _quotationService.Update(quo); return(Json(new { success = true, message = "Update Successfully" }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { success = false, message = ex.ToString() }, JsonRequestBehavior.AllowGet)); } }
private static Flame.Compiler.MethodBody GetInitialMethodBody(IMethod method, TypeEnvironment typeSystem) { // TODO: deduplicate this logic (it also appears in IL2LLVM and ILOpt) var body = OnDemandOptimizer.GetInitialMethodBodyDefault(method); if (body == null) { return(null); } // Validate the method body. var errors = body.Validate(); if (errors.Count > 0) { var sourceIr = FormatIr(body); var exceptionLog = new TestLog(new[] { Severity.Error }, NullLog.Instance); exceptionLog.Log( new LogEntry( Severity.Error, "invalid IR", Quotation.QuoteEvenInBold( "the Flame IR produced by the CIL analyzer for ", method.FullName.ToString(), " is erroneous."), CreateRemark( "errors in IR:", new BulletedList(errors.Select(x => new Text(x)).ToArray())), CreateRemark( "generated Flame IR:", new Paragraph(new WrapBox(sourceIr, 0, -sourceIr.Length))))); return(null); } // Register some analyses and clean up the CFG before we actually start to optimize it. return(body.WithImplementation( body.Implementation .WithAnalysis( new ConstantAnalysis <SubtypingRules>( typeSystem.Subtyping)) .WithAnalysis( new ConstantAnalysis <PermissiveExceptionDelayability>( PermissiveExceptionDelayability.Instance)) .Transform( AllocaToRegister.Instance, CopyPropagation.Instance, new ConstantPropagation(), CanonicalizeDelegates.Instance, InstructionSimplification.Instance))); }
public bool ValidateNewQuotation(Quotation quot) { if (quot.ProjectSite == null || quot.JobStatus == null || quot.Requester == null || quot.ServiceWanted == null) { Error = this["NewQuotation"]; return(false); } Error = null; return(true); }
private void RemoveDependantModels(IEnumerable <OrderDetails> orderDetailsLocal) { foreach (var item in orderDetailsLocal) { Quotation quotationLocal = LoadQuotation(item); if (quotationLocal != null) { _quotationRepository.Remove(quotationLocal); } _orderDetailsRepository.Remove(item); } }
//Methode voor berekenen totale prijs offerte public void CalculateTotalPriceinc(int?quotationId) { double totalPriceQuotation = 0; Quotation quot = db.Quotations.Find(quotationId); foreach (var qd in quot.QuotationDetail) { totalPriceQuotation = quot.QuotationDetail.Sum(x => x.TotalIncVat); } quot.TotalPrice = totalPriceQuotation; db.SaveChanges(); }
public void UpdateQuotation(ref Quotation quotation) { string pairCode = quotation.Ticker.CurrencyPair.Code; string url = "http://data.mtgox.com/api/2/" + pairCode + "/money/depth"; using (WebClient webClient = new WebClient()) { webClient.DownloadStringCompleted += DownloadQuotationCompleted; EventSourceLogger.Logger.BeginDownloadDataAsync(DataTypeDict["Quotation"], Exchange.Name, pairCode); webClient.DownloadStringAsync(new Uri(url), quotation); } }
public async Task <IActionResult> Delete([FromBody] Quotation _Quotation) { Quotation _Quotationq = new Quotation(); try { using (var transaction = _context.Database.BeginTransaction()) { try { _Quotationq = _context.Quotation .Where(x => x.QuotationCode == (Int64)_Quotation.QuotationCode) .FirstOrDefault(); _context.Quotation.Remove(_Quotationq); await _context.SaveChangesAsync(); BitacoraWrite _write = new BitacoraWrite(_context, new Bitacora { IdOperacion = _Quotationq.QuotationCode, DocType = "Quotation", ClaseInicial = Newtonsoft.Json.JsonConvert.SerializeObject(_Quotationq, new JsonSerializerSettings { ReferenceLoopHandling = ReferenceLoopHandling.Ignore }), Accion = "Eliminar", FechaCreacion = DateTime.Now, FechaModificacion = DateTime.Now, UsuarioCreacion = _Quotationq.UsuarioCreacion, UsuarioModificacion = _Quotationq.UsuarioModificacion, UsuarioEjecucion = _Quotationq.UsuarioModificacion, }); await _context.SaveChangesAsync(); transaction.Commit(); } catch (Exception ex) { transaction.Rollback(); _logger.LogError($"Ocurrio un error: { ex.ToString() }"); throw ex; } } } catch (Exception ex) { _logger.LogError($"Ocurrio un error: { ex.ToString() }"); return(BadRequest($"Ocurrio un error:{ex.Message}")); } return(await Task.Run(() => Ok(_Quotationq))); }
private void LoadGrid(IList <QuotationDetail> lstQuotationDetail, Quotation quotation) { gridUtility.BindingData <QuotationDetail>(lstQuotationDetail); m_Po.Quotation = quotation; m_Comapny = quotation.Company; m_Po.CompanyId = m_Comapny.CompanyId; m_Po.Company = m_Comapny; m_Po.QuotationCode = quotation.QuotationCode; m_Po.CreateDebt = true; InitializeForm(m_Po); isEdited = true; }
private void Quote_Click(object sender, RoutedEventArgs e) { if (InquiriesList.SelectedItem is Inquiry inquiryData) { User usedBy; Quotation quotationData = new Quotation() { InquiryId = inquiryData.Id, Inquiry = inquiryData }; using (SqlConnection connection = new SqlConnection(Database.ConnectionString)) { usedBy = connection.AccessValidation(nameof(quotationData.InquiryId), inquiryData.Id); if (usedBy == null) { string query = $"Select MAX(Number) as Number From [Quotation].[_Qoutations] Where Year = {DateTime.Now.Year}"; quotationData.Number = connection.QueryFirstOrDefault <Quotation>(query).Number + 1; quotationData.Year = DateTime.Now.Year; quotationData.Month = DateTime.Now.Month; quotationData.Code = $"ER-{quotationData.Number:000}/{UserData.UserCode}/{quotationData.Month}/{quotationData.Year}/R00"; quotationData.ReviseDate = DateTime.Now; quotationData.Id = Convert.ToInt32(connection.Insert <Quotation>(quotationData)); Term.GetDefaultTerms(connection, quotationData.Id); UserData.InquiryId = inquiryData.Id; connection.UserAccessUpdate(UserData, nameof(UserData.InquiryId)); UserData.QuotationId = quotationData.Id; connection.UserAccessUpdate(UserData, nameof(UserData.QuotationId)); } } if (usedBy == null) { var quotationWindow = new QuotationWindow() { UserData = this.UserData, OpenPanelsWindow = true, QuotationData = quotationData }; this.Close(); quotationWindow.ShowDialog(); } else { MessageWindow.Show($"Access", $"This inquiry underwork by {usedBy.Name}!", MessageWindowButton.OK, MessageWindowImage.Warning); } } }
public static Quotation Create(QuotationAddModel model, string userId, int count) { var quotation = new Quotation { CustomerId = model.CustomerId, QuotationNumber = "QUO" + "-" + model.QuotationDate.ToString("yy") + "-" + (count + 1).ToString("000"), Tax = model.Tax, Discount = model.Discount, TotalAmount = model.TotalAmount, Remark = model.Remark, Status = Constants.InvoiceStatus.Pending, CreatedBy = userId ?? "0", CreatedOn = Utility.GetDateTime(), QuotationDate = model.QuotationDate, StrQuotationDate = model.QuotationDate.ToString("yyyy-MM-dd"), ExpireDate = model.ExpiryDate, StrExpireDate = model.ExpiryDate.ToString("yyyy-MM-dd"), PoSoNumber = model.PoSoNumber, Memo = model.Memo, SubTotal = model.SubTotal, LineAmountSubTotal = model.LineAmountSubTotal, Services = model.Items.Select(x => new QuotationService { Id = Guid.NewGuid(), ServiceId = x.ServiceId, Rate = x.Rate, Quantity = x.Quantity, Price = x.Price, TaxId = x.TaxId, TaxPrice = x.TaxPrice, TaxPercentage = x.TaxPercentage, LineAmount = x.LineAmount }).ToList() }; if (model.Attachments == null || !model.Attachments.Any()) { return(quotation); } quotation.Attachments = model.Attachments.Select(x => new QuotationAttachment { Title = x.Title, FileName = x.FileName, OriginalFileName = x.OriginalFileName, CreatedBy = userId ?? "0", CreatedOn = Utility.GetDateTime() }).ToList(); return(quotation); }
public void UpdateQuotation(ref Quotation quotation) { CurrencyPair currencyPair = quotation.Ticker.CurrencyPair; int marketId = PairIdDict[currencyPair.Code]; string url = "http://pubapi.cryptsy.com/api.php?method=singlemarketdata&marketid=" + marketId.ToString(); using (WebClient webClient = new WebClient()) { webClient.DownloadStringCompleted += DownloadQuotationCompleted; EventSourceLogger.Logger.BeginDownloadDataAsync(DataTypeDict["Quotation"], Exchange.Name, currencyPair.Code); webClient.DownloadStringAsync(new Uri(url), quotation); } }
private void dataGridView1_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e) { DataGridViewRow dr = dataGridView1.SelectedRows[0]; this.Dispose(); Quotation frm = new Quotation(); frm.Show(); frm.txtProductName.Text = dr.Cells[2].Value.ToString(); frm.txtAvailableQuantity.Text = dr.Cells[4].Value.ToString(); frm.txtUnitPrice.Text = dr.Cells[5].Value.ToString(); frm.labelm.Text = labelg.Text; }
public ActionResult ContactData() { //Show the view with for contact Quotation quotation = new Quotation(); quotation.InitQuotation(); //Send the mail //Mail mail = new Mail(); //mail.ContactQuotation(quotation).Send(); return(View(quotation)); }
private static bool IsHitPrice(Order order, Quotation newQuotation, Price marketPrice) { if (order.Phase != OrderPhase.Placed || (order.OrderType != OrderType.Limit && order.OrderType != OrderType.Market) || marketPrice == null) { return(false); } PriceCompareResult result = newQuotation.Compare(order.SetPrice, order.IsBuy); return(order.OrderType == OrderType.Market || (order.OrderType == OrderType.Limit && (marketPrice == order.SetPrice || (order.TradeOption == TradeOption.Better ? result == PriceCompareResult.Better : result == PriceCompareResult.Worse)))); }
public static SCode Make(SCode predicate, Quotation alternative) { if (alternative.Quoted is bool && (bool)alternative.Quoted == false) { Debug.WriteLine("(or <expr> #f) => <expr>"); return(predicate); } else { return (new DisjunctionXQ(predicate, alternative)); } }
public void TestMethodConvertCsvToArrayQuotation() { string quotationsCsv = "Date,Open,High,Low,Close,Adj Close,Volume\n2019-12-16,3183.629883,3197.709961,3183.629883,3191.449951,3191.449951,4051790000"; Quotation quotation = Converter.ConvertCsvToListQuotation(quotationsCsv).FirstOrDefault(); Quotation quotationMock = new Quotation(dateQuotation: new DateTime(2019, 12, 16), open: 3183.629883, high: 3197.709961, low: 3183.629883, close: 3191.449951, adjClose: 3191.449951); Assert.AreEqual(quotationMock, quotation); }
public void UpdateQuotation(ref Quotation quotation) { CurrencyPair currencyPair = quotation.Ticker.CurrencyPair; string codePair = currencyPair.Base.Code.ToLower() + "_" + currencyPair.Quote.Code.ToLower(); string url = "http://www.btcltc.com/index.php?g=home&m=api&a=index&type=depth&t=" + codePair; using (WebClient webClient = new WebClient()) { webClient.DownloadStringCompleted += DownloadQuotationCompleted; EventSourceLogger.Logger.BeginDownloadDataAsync(DataTypeDict["Quotation"], Exchange.Name, currencyPair.Code); webClient.DownloadStringAsync(new Uri(url), quotation); } }
public void Publish(Quotation quotation) { if (quotation == null) { throw new ArgumentNullException(nameof(quotation)); } if (Handler != null) { var clients = Handler.GetClients(); var content = quotation.ToClient(false); clients.SendTextAsnyc(content, CancellationToken.None); } }
public void UpdateQuotation(ref Quotation quotation) { CurrencyPair currencyPair = quotation.Ticker.CurrencyPair; string codePair = currencyPair.Base.Code.ToLower() + "_" + currencyPair.Quote.Code.ToLower(); string url = "https://www.okcoin.com/api/depth.do?symbol=" + codePair; using (WebClient webClient = new WebClient()) { webClient.DownloadStringCompleted += DownloadQuotationCompleted; EventSourceLogger.Logger.BeginDownloadDataAsync(DataTypeDict["Quotation"], Exchange.Name, currencyPair.Code); webClient.DownloadStringAsync(new Uri(url), quotation); } }
/// <summary> /// Get individual quotation information. /// TODO : Authorization /// </summary> /// <param name="id">th PK</param> /// <returns>200, 204</returns> public IHttpActionResult GetQuotation(int id) { Quotation quotation = db.Quotations.Where(q => q.QuotationId == id).Single <Quotation>(); if (quotation != null) { return(Ok(quotation)); } else { return(StatusCode(HttpStatusCode.NoContent)); } }
public static Quotation Create(decimal parRate, string measureType) { var quotation = new Quotation { measureType = new AssetMeasureType { Value = measureType }, value = parRate, valueSpecified = true }; return(quotation); }
/// <summary> /// Asserts that a value cannot be <c>null</c>. /// </summary> /// <param name="value">The value to check.</param> /// <param name="valueName">The name of the value to check.</param> public static void IsNotNull(object value, string valueName) { IsTrue( value != null, Quotation.QuoteEvenInBold( "expected a non-", "null", " value for ", valueName, ", but got ", "null", " anyway.")); }
private void CloseTransaction(Quotation quotation) { var transaction = Account.GetOpenTransaction(Instrument.Symbol); if (transaction != null) { if (DateTime.Now.Hour > 22) { Account.CloseTransaction(transaction.OrderId, quotation.Close, quotation.Time); } return; } }
public ActionResult Create(int? id) { Quotation _item = new Quotation(); ViewBag.idmas_GST = new SelectList(gstSvc.GetAll(), "Id", "Code"); ViewBag.CustomerId = cHelper.GetCustomerDropDown(id); ViewBag.NewDetail = new OrderDetail(); _item.OrderNumber = optionsSvc.GetNextQuotationNumber(); _item.OrderDate = DateTime.Today; return View(_item); }
public void CloseOrder_up_lost() { var order = new Order(1, Direction.Up, "test"); // { User = "******" }; order.Open(_openPrice, _game); var c = new Quotation(_symbol, DateTimeOffset.Now.ToUnixTimeSeconds(), DateTime.Now); c.Bid = 0.9m; order.Close(c); Assert.True(order.Profit < 0); }
public QuotationContextMenu() { InitializeComponent(); isCopied = false; ContextItem ctxItem = new ContextItem(); ctxItem.ShowDelete = true; ctxItem.ShowCopy = true; ctxItem.ShowPaste = true; Init(ctxItem); m_QutationOrigin = null; m_CopyQuotation = null; }
public void StockAggregateQuotationShouldBeAdded() { var quotation = new Quotation(DateTime.Parse("2016-01-01 00:00:00"), DateTime.Now, 5, 10, 10, 5); var aggregate = new StockAggregate(); aggregate.AddOrChangeQuotation(quotation); var snapshot = aggregate.GetSnapshot() as StockAggregateSnapshot; snapshot.Quotations.Should().NotBeNull(); snapshot.Quotations.Should().HaveCount(1); snapshot.Quotations.FirstOrDefault().Open.Should().Be(5); }
private static void CalculatePrice(this Transaction tran, out Price buy, out Price sell) { buy = sell = null; Settings.Instrument settingInstrument = tran.SettingInstrument; if (tran.OrderType == OrderType.Market || tran.OrderType == OrderType.MarketOnOpen || tran.OrderType == OrderType.MarketOnClose || settingInstrument.MarginFormula == MarginFormula.CSiMarketPrice || settingInstrument.MarginFormula == MarginFormula.CSxMarketPrice) { Quotation quotation = tran.TradingInstrument.Quotation; buy = quotation.BuyOnCustomerSide; sell = quotation.SellOnCustomerSide; } }
//----------------------->>>>>Add quotation and services here..... public JsonResult AddQuotation(srv[] ar, quotation ob) { if (ModelState.IsValid) { return this.Json("-------", JsonRequestBehavior.AllowGet); } try { Quotation obj = new Quotation(); obj.Date = ob.date; obj.ShipperId = ob.shipperid; obj.ComodityId = ob.comodityid; obj.Quantity = ob.quantity; obj.PackingId = ob.packingid; obj.Weight = ob.weight; obj.LoadingPort = ob.loadingport; obj.DischargePort = ob.dischargeport; obj.FlightNo = ob.flightno; obj.SailingDate = ob.sailingdate; obj.ArrivalDate = ob.arrivaldate; obj.ConsigneeId = ob.consigneeid; obj.Status = "inactive"; obj.PayedAmount = 0; db.Quotations.Add(obj); db.SaveChanges(); int id = obj.Id; ServiceForQuotation sample = new ServiceForQuotation(); foreach (var a in ar) { sample.Quantity = a.quantity; sample.UnitPrice = a.price; sample.QuotationId = id; sample.ServiceId = a.id; db.ServiceForQuotations.Add(sample); db.SaveChanges(); } return this.Json("success", JsonRequestBehavior.AllowGet); } catch(Exception e) { return this.Json("-------", JsonRequestBehavior.AllowGet); } }
public frmNewQuoteForm() { InitializeComponent(); //initialize new quotation item data table. newQuotationItemTable.Columns.Add("SequenceNumber", typeof(string)); newQuotationItemTable.Columns.Add("ItemName", typeof(string)); newQuotationItemTable.Columns.Add("Description", typeof(string)); newQuotationItemTable.Columns.Add("Quantity", typeof(string)); newQuotationItemTable.Columns.Add("UnitPrice", typeof(string)); newQuotationItemTable.Columns.Add("Value", typeof(string)); //initialize billing business object. quotation = new Quotation(); //initialize client business object. client = new Client(); }
protected void Button1_Click(object sender, EventArgs e) { Quotation q = new Quotation(); if (rbTwoWheeler.Checked) { q.VehicleType = "two wheeler"; } else { q.VehicleType = "four wheeler"; } q.Brand = ddlBrand.SelectedItem.Text; q.Model = ddlModel.SelectedItem.Text; q.Price = Convert.ToDouble(Label4.Text); Quotation q1 = bi.Insert(q); Label6.Text = q1.Qid.ToString(); Label7.Text = q1.Premium.ToString(); Label8.Text = q1.Cover.ToString(); }
public void Add(Quotation quotation) { using (var db = GetDataContext()) { var entity = db.Inventorys.FirstOrDefault(e => e.CID == quotation.CID); if (entity != null) { entity.Number += quotation.Number; } else { db.Inventorys.Add(new Inventory { CID=quotation.CID, Number=quotation.Number }); } db.SaveChanges(); } }
public ActionResult Create(Quotation entity, FormCollection collection) { if (ModelState.IsValid) { entity.OrderDetail = entity.OrderDetail. Where(s => !string.IsNullOrWhiteSpace(s.Description)).ToList(); if (orderSvc.IsExist(entity.OrderNumber)) { ModelState.AddModelError("OrderNumber", "Duplicate Number"); ViewBag.CustomerId = cHelper.GetCustomerDropDown(); return View(entity); } svc.Save(entity); optionsSvc.SetNextQuotationNumber(entity.OrderNumber); return RedirectToAction("Details", new { id = entity.Id }); } ViewBag.CustomerId = cHelper.GetCustomerDropDown(); return View(entity); }
internal PrimitiveRecordSetSQS(StaticVariable arg0, Quotation arg1, StaticVariable arg2) : base(arg0, arg1, arg2) { this.rand2Name = arg2.Name; this.rand2Offset = arg2.Offset; }
internal PrimitiveRecordSetSQQ(StaticVariable arg0, Quotation arg1, Quotation arg2) : base(arg0, arg1, arg2) { this.rand2Value = arg2.Quoted; }
public static PrimitiveRecordSetSQ Make(StaticVariable arg0, Quotation arg1, SCode arg2) { return (arg2 is Quotation) ? new PrimitiveRecordSetSQQ (arg0, arg1, (Quotation) arg2) : (arg2 is StaticVariable) ? new PrimitiveRecordSetSQS (arg0, arg1, (StaticVariable) arg2) : new PrimitiveRecordSetSQ (arg0, arg1, arg2); }
internal static SCode Make(PrimitiveIsSymbolA1 predicate, SCode consequent, Quotation alternative) { return new PCondIsSymbolA1SQ (predicate, consequent, alternative); }
protected PrimitiveStringSetA0Q(Argument0 arg0, Quotation arg1, SCode arg2) : base(arg0, arg1, arg2) { this.rand1Value = (int) arg1.Quoted; }
internal static SCode Make(PrimitiveIsSymbolA1 predicate, Quotation consequent, Quotation alternative) { if (consequent.Quoted == alternative.Quoted) { Debug.WriteLine ("; Optimize (if <expr> <literal> <literal>) => (begin <expr> <literal>)"); return Sequence2.Make (predicate, consequent); } else if (Configuration.EnableTrueUnspecific && consequent.Quoted == Constant.Unspecific) { Debug.WriteLine ("; Optimize (if <expr> <unspecific> <literal>) => (begin <expr> <literal>)"); return Sequence2.Make (predicate, alternative); } else if (Configuration.EnableTrueUnspecific && alternative.Quoted == Constant.Unspecific) { Debug.WriteLine ("; Optimize (if <expr> <literal> <unspecific>) => (begin <expr> <literal>)"); return Sequence2.Make (predicate, consequent); } throw new NotImplementedException (); }
protected PrimitiveStringSetSQ(StaticVariable arg0, Quotation arg1, SCode arg2) : base(arg0, arg1, arg2) { this.rand1Value = (int) arg1.Quoted; }
protected PCondIsNullAXQ(PrimitiveIsNullA predicate, SCode consequent, Quotation alternative) : base(predicate, consequent, alternative) { this.alternativeValue = alternative.Quoted; }
public static SCode Make(PrimitiveIsNullS predicate, Quotation consequent, SCode alternative) { return new PCondIsNullSQ (predicate, consequent, alternative); }
protected PrimitiveStringSetSQQ(StaticVariable arg0, Quotation arg1, Quotation arg2) : base(arg0, arg1, arg2) { this.rand2Value = arg2.Quoted; }
public static PrimitiveStringSetA0 Make(Argument0 arg0, Quotation arg1, SCode arg2) { return new PrimitiveStringSetA0Q (arg0, arg1, arg2); }
protected PCondIsSymbolA1LQ(PrimitiveIsSymbolA1 predicate, LexicalVariable consequent, Quotation alternative) : base(predicate, consequent, alternative) { this.alternativeValue = alternative.Quoted; }
public static PrimitiveStringSetSQ Make(StaticVariable arg0, Quotation arg1, SCode arg2) { return (arg2 is Quotation) ? PrimitiveStringSetSQQ.Make (arg0, arg1, (Quotation) arg2) : new PrimitiveStringSetSQ (arg0, arg1, arg2); }
internal static SCode Make(PrimitiveIsSymbolA1 predicate, Quotation consequent, SCode alternative) { return (alternative is LexicalVariable) ? PCondIsSymbolA1QL.Make (predicate, consequent, (LexicalVariable) alternative) : (alternative is Quotation) ? PCondIsSymbolA1QQ.Make (predicate, consequent, (Quotation) alternative) : new PCondIsSymbolA1Q (predicate, consequent, alternative); }
public static PrimitiveStringSetSQQ Make(StaticVariable arg0, Quotation arg1, Quotation arg2) { return new PrimitiveStringSetSQQ (arg0, arg1, arg2); }
protected PCondIsSymbolA1QL(PrimitiveIsSymbolA1 predicate, Quotation consequent, LexicalVariable alternative) : base(predicate, consequent, alternative) { }
protected PCondIsNullAQ(PrimitiveIsNullA predicate, Quotation consequent, SCode alternative) : base(predicate, consequent, alternative) { this.consequentValue = consequent.Quoted; }
internal static SCode Make(PrimitiveIsSymbolA1 predicate, Quotation quotation, LexicalVariable alternative) { throw new NotImplementedException (); }
public static SCode Make(PrimitiveIsNullA predicate, SCode consequent, Quotation alternative) { return new PCondIsNullAXQ (predicate, consequent, alternative); }
protected PCondIsSymbolA1QQ(PrimitiveIsSymbolA1 predicate, Quotation consequent, Quotation alternative) : base(predicate, consequent, alternative) { }