Tutorial by Examples: ti

Let's take an scenario to understand advance function in better way, struct User { var name: String var age: Int var country: String? } //User's information let user1 = User(name: "John", age: 24, country: "USA") let user2 = User(name: "Chan", age...
The Entity Framework library comes only with an SQL Server provider. To use SQLite will require additional dependencies and configuration. All required dependencies are available on NuGet. Install SQLite Managed Libraries All of the mananged depedencies can be installed using the NuGet Package Man...
public async int call_async () { return 1; } call_async.begin ((obj, res) => { var ret = call_async.end (res); }); To call an asynchronous functions from a synchronous context, use the begin method and pass a callback to receive the result. The two arguments are: obj is a GLi...
Detailed instructions on getting webview set up or installed.
NPM If external library like jQuery is installed using NPM npm install --save jquery Add script path into your angular-cli.json "scripts": [ "../node_modules/jquery/dist/jquery.js" ] Assets Folder You can also save the library file in your assets/js directory and in...
Install cordova using the following command npm install -g cordova. Use cordova -version to check the cordova version. Set path variables ANDROID_HOME and JAVA_HOME. Example: export ANDROID_HOME = /home/geethu/android-sdk-linux export PATH = $PATH:$ANDROID_HOME/tools:$ANDROID_H...
Redis provides two functions for removing keys from the database: del and unlink. The del function removes one or more keys from the database. The del command causes Redis to immediately reclaim the memory for the deleted key on the current thread of execution. The execution time for del is propo...
To create a new project ng new [project-name] which initializes git.Install packages for tooling via npm. It creates the project successfully. cd [project-name] and execute either npm start or ng serve It'll run the server in the given default port. Application will refresh according to the chan...
Go to terminal, cd projectFolder git remote -v (it will show previous git url) git remote set-url origin https://[email protected]/username/newName.git git remote -v (double check, it will show new git url) git push (do whatever you want.)
bindings: { mandatory: '=' optional: '=?', foo: '=?bar' } Optional attributes should be marked with question mark: =? or =?bar. It is protection for ($compile:nonassign) exception.
We injecting the module in the application var Registration=angular.module("myApp",["ngRoute"]); now we use $routeProvider from "ngRoute" Registration.config(function($routeProvider) { }); finally we integrating the route, we define "/ad...
Detailed instructions on getting etl set up or installed.
Redis provides three commands to count the items within a sorted set: ZCARD, ZCOUNT, ZLEXCOUNT. The ZCARD command is the basic test for the cardinality of a set. (It is analogous to the SCARD command for sets.) . ZCARD returns the count of the members of a set. Executing the following code to add...
Pointers are variables that store the address of another variable.As language feature they are available in several programming languages like, but not limited to : Go C/C++ Ada Pascal C# (available under certain constraints) COBOL FORTRAN To get started with C/C++ pointers , follow thes...
If you do not only wish to display static objects, but have your UI respond to changes to correlating objects, you need to understand the basics of the INotifyPropertyChanged interface. Assuming we have our MainWindowdefined as <Window x:Class="Application.MainWindow" xmlns=&quot...
type Fruit is (Banana, Orange, Pear); Choice : Fruit := Banana; A character type is an enumeration that includes a character literal: type Roman_Numeral is ('I', 'V', 'X', 'L', 'C', 'D', 'M', Unknown);`
A floating point type is characterised by its (decimal) digits which state the minimal precision requested. type Distance is digits 8; Earth : Distance := 40_075.017;
In this example you will explore how to export the following data from Acumatica ERP in a single call via the REST Contract-Based API: all stock items existing in the application all sales order of the IN type If you need to export records from Acumatica ERP, use the following URL: http://&l...
In this example you will explore how to export the following data from Acumatica ERP in batches via the REST Contract-Based API: stock items existing in the application in batches of 10 records all sales orders in batches of 100 records To export stock items in batches of 10 records with mult...
Let's assume you have a ListView wich is supposed to display every User object listed under the Users Property of the ViewModel where Properties of the User object can get updated programatically. <ListView ItemsSource="{Binding Path=Users}" > <ListView.ItemTemplate> ...

Page 438 of 505