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
#r "c:/dev/git/ContractLookup/tools/FAKE/tools/FakeLib.dll" | |
#r "System.Configuration.dll" | |
open Fake | |
open Fake.AssemblyInfoFile | |
open Fake.ReleaseNotesHelper | |
open Fake.ProcessHelper | |
open System | |
open System.Configuration | |
open System.IO |
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 BadukBot.Api | |
open BadukBot.Telegram | |
open System | |
open System.Net.Http | |
let private client = | |
let h = new HttpClientHandler() | |
h.AllowAutoRedirect <- true | |
h.MaxRequestContentBufferSize <- 1024L * 1024L |
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 ConstrainedTypes = | |
open System | |
// General hints on defining types with constraints or invariants | |
// | |
// Just as in C#, use a private constructor | |
// and expose "factory" methods that enforce the constraints | |
// | |
// In F#, only classes can have private constructors with public members. | |
// |
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 Microsoft.AspNetCore.Http; | |
using System; | |
using System.Linq; | |
using System.Collections.Generic; | |
using System.Net.Http; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace VTB.Portal.NugetProxy | |
{ |
OlderNewer