This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="hello"> | |
<h1>{{ msg }}</h1> | |
<h2 v-bind:title="tooltip">{{ employee }}</h2> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'hello', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
CREATE TABLE [dbo].[JsonConfig]( | |
[Id] [int] NOT NULL, | |
[Configuration] [nvarchar](max) NULL, | |
PRIMARY KEY CLUSTERED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
ALTER PROCEDURE [dbo].[JsonConfig_Read_Key] | |
@key nvarchar(max) | |
AS | |
DECLARE @json NVARCHAR(max) | |
SET @json = | |
(SELECT [JsonConfig].[Configuration] from JsonConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace LambdaService | |
{ | |
public class Student | |
{ | |
public string Name { get; set; } | |
public string Email { get; set; } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string FunctionHandler(Student input, ILambdaContext context) | |
{ | |
return $"Name: {input.Name}, Email: {input.Email}"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FunctionTest | |
{ | |
[Fact] | |
public void TestToUpperFunction() | |
{ | |
// Invoke the lambda function and confirm the string was upper cased. | |
var function = new Function(); | |
var context = new TestLambdaContext(); | |
Student student = new Student |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name":"Amr", | |
"Email":"test@tutorialsxl.com" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public DelegateCommand NavigateToSecond { get; set; } //It will hold the nivgation | |
private INavigationService _navigationService; //To get the navigationservice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public MainPageViewModel(INavigationService navigationService) | |
: base (navigationService) | |
{ | |
Title = "Main Page"; | |
_navigationService = navigationService; | |
NavigateToSecond = new DelegateCommand(NavigateToSecondCall); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void NavigateToSecondCall() | |
{ | |
_navigationService.NavigateAsync("SecondPage"); | |
} |
OlderNewer