text stringlengths 1 932k |
|---|
using System;
using FluentMigrator;
namespace Murray.Tradeinterchange_Demo.DbMigrator.DevData
{
[Profile("Development")]
public class CreateUsersForDev : Migration
{
public override void Up()
{
Insert.IntoTable("SystemUser").Row(new
{
Forename = "Chr... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using nVideo.Common;
namespace nVideo.Codecs.H264
{
public class NALUnitWriter {
private Stream to;
private static byte[] _MARKER = new byte[]{0,0,0, 1};
public NALUnitW... |
#if !NETSTANDARD2_0
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembl... |
namespace Orchard.Indexing.Settings {
public class TypeIndexing {
public bool Included { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Demo.LearnByDoing.Core;
using Xunit;
using Xunit.Abstractions;
namespace Demo.LearnByDoing.Tests.CodeSignal.Arcade.SmoothSailing
{
/// <summary>
/// https://codefights.com/arcade/intro/level-3/3o6QFqgYSontKsyk4/description
/// </summ... |
using System.Collections.Generic;
namespace ModAssistant
{
class Promotions
{
public static Promotion[] ActivePromotions =
{
new Promotion
{
ModName = "YUR Fit Calorie Tracker",
Links = new List<PromotionLink>(){
new P... |
//-----------------------------------------------------------------------------
// <copyright file="UnbufferedODataBatchHandlerTests.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.
// </copy... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition of the... |
//------------------------------------------------------------------------------
// <copyright file="DbConnectionStringBuilder.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" prima... |
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace MyAbpApp.HttpApi.Client.ConsoleTestApp
{
class Program
{
static async Task Main(string[] args)
{
await CreateHostBuilder(args).RunConsoleAsync();
}
... |
// Copyright (c) 2018 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT licence. See License.txt in the project root for license information.
using System;
using AutoMapper;
using GenericServices.Configuration;
using GenericServices.PublicButHidden;
using GenericServices... |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ToDoAppBackend.Services;
using ToDoAppBackend.Model;
using ToDoAppBackend.Model.DTO.Common;
using ToDoAppBackend.Model.DTO.REST;
using Microsoft.Extensions.Logging;
using ToDoAppBackend.Providers;
namespace ToDoAppB... |
namespace Igneel
{
public interface INameable
{
/// <summary>
/// Identifier of the object by a Name
/// </summary>
///
string Name { get; set; }
}
} |
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayEbppInvoiceFileQueryModel Data Structure.
/// </summary>
public class AlipayEbppInvoiceFileQueryModel : AlipayObject
{
/// <summary>
/// 支付宝端生成的发票id,该字段可从发票详情查询接口获得
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
using Xunit;
#nullable disable
namespace Microsoft.Build.UnitTests.OM.Instance
{
/// <summary>
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Xunit;
namespace Microsoft.VisualBasic.Tests
{
public class VBFixedArrayAttributeTests
{
[Theory]
[InlineData(0, 1)]
[InlineData(... |
//
// XslAttribute.cs
//
// Authors:
// Ben Maurer (bmaurer@users.sourceforge.net)
// Atsushi Enomoto (ginga@kit.hi-ho.ne.jp)
//
// (C) 2003 Ben Maurer
// (C) 2003 Atsushi Enomoto
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation fil... |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Ytg.ServerWeb.Views.Users {
public ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Globalization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing.Matching;
namespace Microsoft.AspNetCore.Routing.Constraints
{
/// ... |
@model BeersReviewApp.Models.CreateBeerReview
@{
ViewData["Title"] = "Create";
}
<form asp-controller="Review" asp-action="Create" method="post" enctype="multipart/form-data">
<div class="form-horizontal create-page">
<div class="row header">
<div class="col-md-6">
<h2>Add... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AdaptiveHR.Adaptive.BL.trainings;
using AdaptiveHR.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NLog;
namespace AdaptiveHR.Controllers
{
[Route("api/[controller]")]
[ApiContro... |
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, DigitalLearningSolutions.Web
@addTagHelper *, Microsoft.FeatureManagement.AspNetCore |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cedita.Payroll.Abstractions;
using Cedita.Payroll.Configuration;
using Cedita.Payroll.Models.Statutory;
using Cedita.Payroll.Models.Statutory.Assessments;
namespace Cedita.Payroll.Calculation.Stat... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.WebJobs
{
public class FakeStorageAccountProvider : StorageAccountProvider
{
private readonly StorageAccount _account;
... |
namespace StoreModels
{
//This class should contain all necessary fields to define a product.
public class Product
{
private string productName;
private double productPrice;
private Category categoryType;
private string brandName;
public string ProdName { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of conditi... |
using System;
namespace GeoLocator.Entities
{
/// <summary>
/// Database Table representation class of EF
/// Just in case to make it working I use string data tpe for properties of this class )))
/// In fact we have to use manual of the Geo Data Provider to implement apropriate data type fields ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MoCore
{
public class Class1
{
}
} |
//-----------------------------------------------------------------------
// <copyright file="BusyStatusTests.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>no summary</summary>
//----------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Monocyte : Ally //單核球
{
void Start()
{
HP = MaxHp;
agent = GetComponent<NavMeshAgent>();
agent.speed = this.moveSpeed;
//agent.Warp(new Vector3(-0.84f, 10,0));
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAttack : MonoBehaviour
{
[SerializeField] Animator playerAnimator;
[SerializeField] Transform firePoint;
[SerializeField] GameObject bulletPrefab;
Vector2 shootingDirection;
// Update is called once... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Resources.Annotations;
using JsonApiDotNetCore.Serialization.Client.Internal;
using... |
using System.Text;
namespace WOD.Game.Server.Service.LanguageService
{
public class TranslatorMirialan : ITranslator
{
public string Translate(string message)
{
var sb = new StringBuilder();
foreach (var ch in message)
{
switch (ch)
... |
using System;
namespace DiscordHackWeek.Interactive
{
public class InteractiveServiceConfig
{
public TimeSpan DefaultTimeout { get; set; } = TimeSpan.FromSeconds(25);
}
} |
using Nancy;
using Warden.Api.Commands;
using Warden.Api.Queries;
using Warden.Api.Services;
using Warden.Api.Storage;
using Warden.Api.Validation;
using Warden.Messages.Commands.Users;
using Warden.Services.Storage.Models.Users;
namespace Warden.Api.Modules
{
public class ApiKeysModule : ModuleBase
{
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
namespace SixLabors.ImageSharp.Processing.Processors.Transforms
{
/// <summary>
/// Defines a projective transformation applicable to an <see cref="Image"/>.
/// </summary>
public se... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.... |
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ventas.Modelos
{
public class Ciudad
{
public int Id { get; set; }
public string Descripcion { get; set; }
public Ciudad(int
id, string descripci... |
//
// Author:
// Aaron Bockover <abock@xamarin.com>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using ICSharpCode.NRefactory.CSharp;
namespace ApiDump
{
public interface IVisitorTool
{
IAstVisitor Visitor { get; }
}
} |
@model HC.WeChat.WeChatUsers.Dtos.WeChatUserListDto
@{
ViewData["Title"] = "宜宾烟草";
}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<title>宜宾烟草</title>
<link rel="stylesheet" href="s... |
namespace Confuser.Core {
public interface IProtectionSettings {
void SetParameter(IConfuserComponent component, string name, string value);
/// <summary>
/// Get the parameter for the component store under the specified name.
/// </summary>
/// <param name="component">The component</param>
/// <para... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ScenesManager : MonoBehaviour
{
public enum Scenes
{
None,
Menu,
LevelEntrance
}
/// <summary>
/// Currently loaded scene.
/// </summary>
public static Scenes CurrentScene = Scenes.None;
/// <summary>
/// Map... |
namespace AppSettingsManager
{
public class AppSettingsManagerOptions
{
public string AppSettingsManagerUrl { get; set; } = "/appsettings";
public string[] ExcludedSettings { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Text;
using Elasticsearch.Net;
using Nest.Resolvers;
namespace Nest
{
public class ElasticInferrer
{
private readonly IConnectionSettingsVal... |
namespace ExpressTr
{
partial class FrmAddMT
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param... |
using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace EjercicioStackLayout.Droid
{
[Activity(Label = "EjercicioStackLayout", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChan... |
namespace DigitalReceipt.Server.Infrastructure.Configuration.Models
{
public class ConnectionStrings
{
public string DefaultConnection { get; set; }
}
} |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace DeviceManager.Api.Data.Management
{
/// <summary>
/// Generic repository, contains CRUD operation of EF entity
/// </summary>
/// <typeparam name="T">Entity type... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Specialized;
using System.IO;
using System.Web.Routing;
using Microsoft.TestCommon;
using Microsoft.Web.UnitTestUtil;
using Moq;
name... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.DotNet.VersionTools.BuildManifest.Model;
using System;
namespace Microsoft.DotNet.Build.Tasks.Feed.Model
{
/**
* The goal of this class is to configure a ch... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
namespace EncodingConverter
{
partial class Form1
{
/// <summary>
/// Требуется переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using TypeLess.DataTypes;
using TypeLess.Properties;
namespace TypeLess
{
public interface INullableAssertionU<T> : IAssertionU<Nullable<T>> where T : struct
{
INullableAssertion<T> IsNull { get; }
INu... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PtvCore.Timetable
{
[JsonObject()]
public class Outlet : Location
{
[JsonProperty(PropertyName = "outlet_type")]
public OutletType Type { get... |
using System.Collections.Generic;
namespace Eklee.Azure.Functions.GraphQl.Repository.InMemory
{
public interface IInMemoryComparerProvider
{
List<object> Query(IEnumerable<QueryParameter> queryParameters, List<object> list);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpFoundation
{
class StringHelper
{
static void GetLen()
{
}
}
} |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using YamlDotNet.Serialization;
namespace KubeClient.Models
{
/// <summary>
/// Spec to control the desired behavior of daemon set rolling update.
/// </summary>
public partial class RollingUpdateDaemonSetV1Beta1
{
/... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... |
/*
* This message is auto generated by ROS#. Please DO NOT modify.
* Note:
* - Comments from the original code will be written in their own line
* - Variable sized arrays will be initialized to array of size 0
* Please report any issues at
* <https://github.com/siemens/ros-sharp>
*/
namespace RosSharp.RosB... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace SigloXXI
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*path... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamplePrism.Infrastructure.Data.Entity
{
public abstract class EntityBase<TKey> : IEntity<TKey> where TKey : IEquatable<TKey>
{
public TKey Id { get; set; }
public str... |
namespace KeyVault.Acmebot.Models;
public class AcmeChallengeResult
{
public string Url { get; set; }
public string DnsRecordName { get; set; }
public string DnsRecordValue { get; set; }
} |
using System;
using System.Collections.Generic;
namespace AKStreamKeeper.Misc
{
/// <summary>
/// AKStreamKeeper配置文件结构
/// </summary>
[Serializable]
public class AKStreamKeeperConfig
{
private string _accessKey;
private string _akStreamWebRegisterUrl;
private List<string... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(SameView), true)]
public class SameViewEditor : SameViewBaseEditor
{
private SameView _self;
void OnEnable()
{
base.OnEnable();
_self = (SameView)target;
//EditorA... |
// <auto-generated />
using System;
using EspressOrder.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
... |
//************************************************************************************************
// Copyright © 2015 Waters Corporation. All rights reserved.
//************************************************************************************************
namespace River.OneMoreAddIn
{
using System;
using System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace FaceRecognitionNETCore.Controllers
{
public class FaceRecognitionController : Controller
{
public IActionResult Index()
{
return View();
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Steeltoe.Common.Co... |
#if !BESTHTTP_DISABLE_PROXY
using System;
using System.IO;
using System.Text;
using BestHTTP.Authentication;
using BestHTTP.Extensions;
namespace BestHTTP
{
internal enum SOCKSVersions : byte
{
Unknown = 0x00,
V5 = 0x05
}
/// <summary>
/// https://tools.ietf.org/html/rfc1928
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Application.Interfaces;
using Core.Dto;
using Core.Exceptions;
using Data.Entities;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Mi... |
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using tsorcRevamp.Projectiles.Enemy.Okiku;
namespace tsorcRevamp.NPCs.Bosses.Okiku.SecondForm {
[AutoloadBossHead]
public class DarkDragonMask : ModNPC {
public bool OptionSpawned;
public bool ShieldBro... |
using API.Entities;
using Microsoft.EntityFrameworkCore;
namespace API.Data
{
public class DataContext : DbContext
{
public DataContext(DbContextOptions options) : base(options)
{
}
public DbSet<AppUser> Users { get; set; }
}
} |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVe... |
/*
The MIT License (MIT)
Copyright (c) 2018 Helix Toolkit contributors
*/
using SharpDX;
using System;
using System.Collections.Generic;
#if NETFX_CORE
namespace HelixToolkit.UWP.Model.Scene
#else
namespace HelixToolkit.Wpf.SharpDX.Model.Scene
#endif
{
using Core;
/// <summary>
///
/// </summary>
... |
@model WebScraper.Web.Models.VerifyCodeViewModel
@{
ViewBag.Title = "Verify";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
@Html.AntiForgeryToken()
@Html.Hidden("provi... |
#nullable disable
using Microsoft.AspNetCore.Html;
namespace VocaDb.Web.Models.Shared.Partials.Comment
{
public class CommentKnockoutViewModel
{
public CommentKnockoutViewModel(string messageBinding, bool allowMarkdown, string deleteHandler = "$parent.deleteComment", string editHandler = null, bool standalone = t... |
dynamic DoAction(dynamic user, dynamic conversation, dynamic dialog, dynamic turn)
{
var age = System.Convert.ToSingle(user["age"]);
conversation["cat"] = age / 5;
return age * 5;
} |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.DocAsCode.Metadata.ManagedReference;
namespace Microsoft.DocAsCode.DataContracts.ManagedReference
{
using System;
using System... |
using Xamarin.Forms;
namespace TemplateUI.Themes
{
public partial class AreaChart : ResourceDictionary
{
public AreaChart()
{
InitializeComponent();
}
}
} |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace LibNet
{
public class AConnector
{
Socket connector;
public bool Connected
{
get
{
return connector != null && connecto... |
using System;
using Frank.API.WebDevelopers.DTO;
namespace Frank.API.WebDevelopers
{
public interface IRouteConfigurer
{
IRouteToConfigurer Get(string path);
IRouteToConfigurer Post(string path);
}
public interface IRouteToConfigurer
{
IRouteConfigurer To(Func<Response> fun... |
#region Copyright
//
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> update form orginal repo
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// d... |
using System;
using Microsoft.Win32;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
namespace MobileSRC.MobileRemote
{
internal partial class AddressSelector : CustomWindow
{
public AddressSelector(... |
using System;
namespace Slantar.Architecture
{
public class TimestampLogFormatter : ILogFormatter
{
public readonly string dateFormat;
private BasicLogFormatter basicFormatter;
public TimestampLogFormatter(string dateFormat)
{
this.dateFormat = dateFormat;
... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkconnector_1_0.Models
{
public class SyncDataResponse : TeaModel {
[NameInMap("headers")]
[Validation(Required=true)]
public... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using Newtonsoft.Json;
/// <summary>
/// Defines PatchOperation with a value param... |
using System.Collections.Generic;
using System.Linq;
using DevExpress.ExpressApp.Security;
using DevExpress.Persistent.Base;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Metadata.Helpers;
using Xpand.ExpressApp.Security.Core;
using Xpand.Xpo;
namespace Xpand.ExpressApp.Security.Permissions... |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorPages();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.En... |
// <copyright file="IXmlSitemap.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace Zoombraco.Models
{
/// <summary>
/// Encapsulates properties required to render a page correctly in an XML site... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.