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> | |
<require from="shell/navmenu"></require> | |
<require from="product-tab/product-tab"></require> | |
<navmenu></navmenu> | |
<div class="container body-content"> | |
<product-tab></product-tab> | |
</div> |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace CsharpProjWithExt | |
{ | |
public static class Extensions | |
{ |
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
<Window x:Class="ConsoleApp.Wpf.Views.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:local="clr-namespace:ConsoleApp.Wpf.Views" | |
mc:Ignorable="d" | |
Title="MainWindow" Height="450" Width="800"> | |
<Grid Margin="0,25,0,0"> | |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Top"> |
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
module ConsoleApp.Wpf.Program | |
open System | |
open Elmish | |
open Elmish.WPF | |
open FSharp.Control.Reactive | |
type Model = | |
{ Contacts: Rolodex.Contact seq | |
ContactsFilter: string | |
ContactsFilterChanged: System.Reactive.Subjects.Subject<string> } |
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
[{ | |
"Username": "jdoe", "Amount": "1.50" | |
}, | |
{ | |
"Username": "jdoe", "Amount": "1.50" | |
}] |
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
Username | Amount | |
---|---|---|
jdoe | $1.50 | |
rmarsh | $3.75 |
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
// npm install react-toastify | |
module Toastify | |
open Fable.Core | |
open Fable.Core.JsInterop | |
open Fable.React | |
type ToastContainerProps = | |
| AutoClose of int |
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
module DragDropPage | |
open Feliz | |
open Fable.React | |
open Fable.React.Props | |
open ReactDND | |
type Language = { | |
Name: string | |
} |
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
module MyApp.Database.SqlProvider = | |
open FSharp.Data.Sql | |
open System.Data | |
#if DEBUG | |
// Print generated SQL to console | |
FSharp.Data.Sql.Common.QueryEvents.SqlQueryEvent |> Event.add (printfn "Executing SQL: %O") | |
#endif | |
[<Literal>] |
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
module App | |
open Feliz | |
open Fable.React | |
open Fable.React.Props | |
open Fable.UIFabric | |
open Auth | |
open HookRouter | |
open Contexts |
OlderNewer