This file contains hidden or 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
import 'package:built_collection/src/list.dart'; | |
import 'package:ferry/ferry.dart'; | |
import 'package:ferry_test/graphql/queries/__generated__/reviews.data.gql.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:gql_exec/gql_exec.dart'; | |
import 'package:gql_link/gql_link.dart'; | |
class ReviewsAutoResponderTerminalLink extends Link { | |
@override | |
Stream<Response> request( |
This file contains hidden or 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
param ( | |
$subnetName, | |
$vnetGroupName, | |
$vnetName, | |
$subnetMask | |
) | |
Write-Host "subnetName '$subnetName'" -ForegroundColor Green | |
Write-Host "vnetGroupName '$vnetGroupName'" -ForegroundColor Green | |
Write-Host "vnetName '$vnetName'" -ForegroundColor Green |
This file contains hidden or 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 FeatureFlags.Extensions | |
{ | |
using System; | |
using Azure; | |
using Azure.Data.AppConfiguration; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.AspNetCore.Mvc.Filters; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.Configuration.AzureAppConfiguration; | |
using Microsoft.Extensions.DependencyInjection; |
This file contains hidden or 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 Test | |
{ | |
public async Task<IEnumerable<string>> AsyncMethod(string input) | |
{ | |
dynamic value = "String"; | |
var awaitedIEnumerableStringList = await SomeMethod(value); | |
return awaitedIEnumerableStringList; | |
} |
This file contains hidden or 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 Test | |
{ | |
public async Task<IEnumerable<string>> AsyncMethod(string input) | |
{ | |
dynamic value = "String"; | |
var awaitedIEnumerableStringList = await SomeMethod(value); | |
return awaitedIEnumerableStringList; | |
} |
This file contains hidden or 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 Something | |
{ | |
public class BaseController : Controller | |
{ | |
#region partial rendering in controller | |
public string RenderPartialToString(string partialViewName, object model) | |
{ | |
InvalidateControllerContext(); |
This file contains hidden or 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.Drawing.Imaging; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using System.Web.Mvc; | |
using ScreenGrab.Core.Helpers; | |
namespace ScreenGrab.UI.Controllers | |
{ | |
public class HomeController : Controller |
This file contains hidden or 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
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION | |
Value Key: DWORD - YourApplication.exe |
This file contains hidden or 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.Drawing; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; | |
using System.Windows.Forms; | |
namespace ScreenGrab.Core.Helpers | |
{ |
This file contains hidden or 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
protected override void OnApplicationStarting(object sender, EventArgs e) | |
{ | |
... | |
DittoResolverTypeLocator.Register<DittoHtmlStringConverter>("rte"); | |
DittoResolverTypeLocator.Register<DittoHtmlStringConverter>("embed"); | |
DittoResolverTypeLocator.Register<GridImageConverter>("media"); | |
} |
NewerOlder