text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Scorables;
using Microsoft.Bot.Connector;
using Microsoft.Bot.Connector.Teams;
using Microsoft.Bot.Conn... |
using System;
using System.Threading.Tasks;
using IoTSampleWithWTS.Services;
using Windows.ApplicationModel.Activation;
namespace IoTSampleWithWTS.Activation
{
internal class DefaultLaunchActivationHandler : ActivationHandler<LaunchActivatedEventArgs>
{
private readonly Type _navElement;
pu... |
using TaleWorlds.CampaignSystem;
using TaleWorlds.MountAndBlade;
namespace RTSCamera.Patch.Fix
{
//[HarmonyLib.HarmonyPatch(typeof(CommonVillagersCampaignBehavior), "conversation_guard_start_on_condition")]
public class Patch_CommonVillagersCampaignBehavior
{
public static bool CheckIfConversation... |
using FoxTunes.Interfaces;
namespace FoxTunes
{
public class ManagerLoader : BaseLoader<IStandardManager>
{
private ManagerLoader()
{
}
public static readonly IBaseLoader<IStandardManager> Instance = new ManagerLoader();
}
} |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using System... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by avrogen, version 1.10.0.0
// Changes to this file may cause incorrect behavior and will be lost if code
// is regenerated
// </auto-generated>
// -----------------------------------------------... |
using Fluxor.UnitTests.SupportFiles;
using Moq;
using System;
using Xunit;
namespace Fluxor.UnitTests.StoreTests
{
public class AddFeature
{
[Fact]
public void WhenFeatureNameIsUnique_ThenAddsFeatureToFeaturesDictionary()
{
const string featureName = "123";
var mockFeature = new Mock<IFeature>();
moc... |
// <copyright file="B3PropagatorTest.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.apac... |
// ----------------------------------------------------------------------------------
//
// 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... |
#pragma checksum "..\..\path.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6E0FC546DDE59E36AAD987D3AB1F02A4949972A7D82C5280E7F07BB100C933CF"
//------------------------------------------------------------------------------
// <auto-generated>
// Ezt a kódot eszköz generálta.
// Futásidejű verzió:4.0.30319.420... |
using System;
namespace Org.BouncyCastle.Tls.Crypto
{
public abstract class TlsCertificateRole
{
public const int DH = 1;
public const int ECDH = 2;
public const int RsaEncryption = 3;
public const int Sm2Encryption = 4;
}
} |
using System.Threading;
using System.Threading.Tasks;
using static BeatmapLevelsModel;
namespace Shaffuru.GameLogic {
class BeatmapLoader {
readonly GameplayCoreSceneSetupData _sceneSetupData;
readonly BeatmapLevelsModel beatmapLevelsModel;
public BeatmapLoader(
GameplayCoreSceneSetupData _sceneSetupData,
... |
/*
* 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... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
// ----------------------------------------------------------------------------------
//
// 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.apac... |
using CinemaAPI.Core.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CinemaAPI.Core.Interfaces
{
public interface IGenreRepository : IRepository<Genre>
{
Task<IEnumerable<Genre>> GetGenresByMovie(int filmId);
}
} |
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Xunit;
namespace NSign.Providers
{
public sealed class ECDsaSignatureProviderTests
{
[Fact]
public void CtorValidatesInput()
{
Argument... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using SDKTemplate;
using System;
using System.Runtime.I... |
Behaviors\Api<br /><a href="javascript:history.go(-1)" class="btn btn-secondary">Back Home</a> |
namespace Messaging.Client;
public class MessagingClientException : Exception
{
public MessagingClientException(string message) : base(message) { }
} |
@model SourceModel
@{
ViewData["Title"] = "Create source";
}
<div id="gtco-main">
<div class="container">
<div class="row row-pb-md">
<div class="col-md-12">
<ul id="gtco-post-list">
<li class="entry animate-box" data-animate-effect="fadeIn">
<div class="entry-desc">
<h1>Creation of sour... |
//
// BSD 3-Clause License
//
// Copyright (c) 2020-201, Boia Alexandru
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthJoiner : Health
{
[SerializeField] MonoBehaviour sharedHealthObject;
[SerializeField] float damageMultiplier = 1;
private IHealth sharedHealth;
private void Awake() {
sharedHealth = sharedHealth... |
using UnityEngine;
public abstract class AbstractPollable<T> : ScriptableObject, ISerializationCallbackReceiver
{
int changedFrame = -1;
[SerializeField]
T value;
public T Value {
get {
return value;
}
set {
changedFrame = Time.frameCount+1;
this.value = value;
}
}
void OnEnable()
{
chang... |
using System;
namespace _8_Vocarna
{
internal class Voce
{
private string boja;
public delegate void del_promjena_boje(object sender, EventArgs e);
public event del_promjena_boje PromjenaBoje;
public string Boja {
get => boja;
set
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace WildFarm.Animals
{
public class Mouse : Mammal
{
private const double foodModificator = 0.10;
public Mouse(string name, double weight, string livingRegion) : base(name, weight, livingRegion)
{
}
... |
using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace DD
{
public class HediffGiver_Regeneration : HediffGiver
{
public float regenTimeout = 10f;
public bool startInBed = false;
public... |
using APICatalogo.Context;
using APICatalogo.DTOs;
using APICatalogo.Models;
using APICatalogo.Pagination;
using APICatalogo.Repository;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Jso... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cysharp.Threading.Tasks;
using UnityEngine;
using Object = UnityEngine.Object;
namespace Panthea.Asset
{
public class AssetsManager: IAssetsLocator
{
public const string kFileInfo = "file_info.json";
private As... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Messages
{
class User
{
public User(string username)
{
this.Username = username;
this.ReceivedMessages = new List<Message>();
}
... |
// 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
usin... |
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace BigCommerceSharp.Model {
/// <summary>
/// `product_options` are required if adding a product with variants.
/// </summary>
[DataContract]
public class OrderProduct {
/// <... |
// 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.
#nullable disable
namespace Microsoft.CodeAnalysis.CommentSelection
{
internal readonly struct CommentSelectio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Rebus.Bus;
using Rebus.Handlers;
using Rebus.Pipeline;
using Rebus.ServiceProvider;
using Rebus.ServiceProv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum TransitionType {FROM_THIS_TASK, TO_THIS_TASK}
public class Transition : MonoBehaviour {
public TransitionType TypeOfTransition;
[HideInInspector]
public AITaskManager MasterAI;
[HideInInspector]
public Goal Parent... |
using System;
namespace Substratum.Notification
{
public interface IMailMessage
{
string Bcc { get; set; }
string BodyHtml { get; set; }
string BodyText { get; set; }
string Cc { get; set; }
System.Net.Mail.MailPriority Priority { get; set; }
string Subject { ge... |
//
// Instruction.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2011 Jb Evain
//
// Permission is hereby granted, free of free, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, includin... |
using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;
using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;
using Cursor = FlatRedBall.Gui.Cu... |
// © Xavalon. All rights reserved.
using System.Text.RegularExpressions;
namespace Xavalon.XamlStyler.Core.DocumentManipulation
{
/// <summary>
/// Create regular expression (RegEx) from simple "DOS" wildcard (* and ?).
/// </summary>
public class Wildcard : Regex
{
public Wildcard(string... |
using System.Collections.Generic;
using CleanArchitecture.Core.Responses;
using MediatR;
namespace CleanArchitecture.Core.Events.Usuarios
{
public class GetAllContratistas : IRequest<IEnumerable<UsuarioDTO>>
{
}
} |
using System.Threading.Tasks;
using Shouldly;
using Volo.Abp.Identity;
using Xunit;
namespace AntDesign.Abp.Template.Samples
{
/* This is just an example test class.
* Normally, you don't test code of the modules you are using
* (like IdentityUserManager here).
* Only test your own domain services.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
using RimWorld;
namespace TargetingModes
{
public interface ITargetModeSettable
{
TargetingModeDef GetTargetingMode();
void SetTargetingMode(TargetingModeDef targetMode);
... |
//=========================
//作者:黄洪兴
//日期:2016/7/14
//用途:周卡静态配置表
//=========================
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class WeekCardRefTable : AssetTable
{
public List<WeekCardRef> infoList = new List<WeekCardRef>();
}
[System.Serializable]
public cla... |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class SLandData : CVariable
{
[Ordinal(1)] [RED("landType")] public CEnum<ELandType>... |
using Sakuno.ING.Game.Models.MasterData;
using System.Collections.Generic;
namespace Sakuno.ING.Game.Events
{
public sealed class MasterDataUpdate
{
public IReadOnlyCollection<RawShipInfo> ShipInfos { get; }
public IReadOnlyCollection<RawShipTypeInfo> ShipTypes { get; }
public IReadOnl... |
using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Microsoft.Extensions.DependencyInjection;
using Mitternacht.Services;
namespace Mitternacht.Common.Attributes {
public class OwnerOrGuildPermissionAttribute : PreconditionAttribute {
private readonly GuildPermission _permLevel... |
#region LICENSE
/*
Copyright(c) Voat, Inc.
This file is part of Voat.
This source file is subject to version 3 of the GPL license,
that is bundled with this package in the file LICENSE, and is
available online at http://www.gnu.org/licenses/gpl-3.0.txt;
you may not use this file except i... |
@using Mvc.Controls
@using Mvc.Web.Test.Models
@model CascadingDropdownsModel
<script>
//function beforeSend(json)
//{
// json.currency = json.country == "US" ? "USD" : "GBP";
// alert("<p><strong>Going to send:</strong></p><p><small>" + JSON.stringify(json, null, "\t") + "</small></p>", "Before... |
using stellar_dotnet_sdk.chaos.nacl;
using stellar_dotnet_sdk.xdr;
using System;
using System.Linq;
using System.Security.Cryptography;
using dotnetstandard_bip32_4._5._2;
namespace stellar_dotnet_sdk
{
/// <summary>
/// <see cref="KeyPair"/> represents public (and secret) keys of the account.
/// Current... |
namespace prjInterfaceSegregationPrinciple
{
public interface IMultiFunctionDevice : IPrinter, IScanner //whatever
{
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Buffers.Binary;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runt... |
namespace POS.AltCCOInterop
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Microsoft.PointOfService;
using POS.Devices;
[ServiceObject(DeviceType.BumpBar, "OpenPOS BumpBar", "OPOS BumpBar Alternative CCO Interop", 1, 14)]
public class OpenPOSBumpBar ... |
namespace ExamApp
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param... |
//
// Copyright (c) 2004-2019 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Panda_MVC5.Services;
namespace Panda_MVC5.Controllers
{
public class HomeController : Controller
{
public HomeController()
{
}
public ActionResult Inde... |
using System;
using System.Collections.Generic;
using Pixel.Rhino.Collections;
namespace Pixel.Rhino.Geometry
{
/// <summary>
/// Exposes a set of standard numeric interpolation algorithms.
/// </summary>
public class Interpolator : RhinoList<double>
{
#region fields
private bool m_cyclical;
#en... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net.Mail;
using vsslib;
using VssSvnConverter.Core;
namespace VssSvnConverter
{
// generate data file in format described in https://git-scm.com/docs/git-fast-import
class GitFastImportFrontend
{
p... |
//! \file ImageDecoder.cs
//! \date Wed Oct 26 2016
//! \brief Image decoder interface.
//
// Copyright (C) 2016 by morkt
//
// 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 Softwar... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 02.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
@model Iauq.Core.Domain.Role
@Html.AntiForgeryToken()
<div class="control-group">
@Html.LabelFor(r => r.Name, new {@class = "control-label"})
<div class="controls">
@Html.TextBoxFor(r => r.Name, new {@class = "input-xlarge"})
@Html.ValidationMessageFor(r => r.Name, null, new {@class = "help-in... |
using System;
using JetBrains.Annotations;
namespace TDSProtocol
{
[Flags, PublicAPI]
public enum TDSStatus : byte
{
Normal = 0,
EndOfMessage = 0x01,
Ignore = 0x02,
ResetConnection = 0x08,
ResetConnectionSkipTran = 0x10
}
} |
using CopperSharp.Advancements.Predicates;
namespace CopperSharp.Advancements.Triggers;
/// <summary>
/// Triggers when a lightning bolt disappears from the world,
/// only for players within a 256 block radius of the lightning bolt
/// </summary>
[CriterionName("lightning_strike")]
public sealed class Lightn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Taviloglu.Wrike.Core;
using Taviloglu.Wrike.Core.Groups;
namespace Taviloglu.Wrike.ApiClient
{
public partial class WrikeClient : IWrikeGroupsClient
{
public IWrikeGroupsClient Groups { get { return ... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
using TUIOSimulator;
using TUIOSimulator.Entities;
using TouchScript;
using TouchScript.Pointers;
using TouchScript.InputSources;
public class Surface : MonoBehaviour {
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Transactions;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using DotNetOpenAuth.AspNet;
using Microsoft.Web.WebPages.OAuth;
using WebMatrix.WebData;
using FourthProject.Filters;
using FourthProject.Models;
namespace ... |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using Org.BouncyCastle.Crypto.Modes;
using Org.BouncyCastle.Crypto.Paddings;
using Org.BouncyCastle.Crypto.Parameters;
namespace Org.BouncyCastle.Crypto.Macs
{
/**
* CMAC - as specified at www.nuee.nagoya-u.ac.jp/labs/tiwata/... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NSG.NetIncident4.Core.Infrastructure.Authentication
{
public class AuthSettings
{
//
/// <summary>
/// Private jwt secret, read from appsettings.json file
/// </summary>
... |
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
namespace Xtensive.Sql.Info
{
/// <summary>
/// Describes <see cref="ServerInfo"/> provider interface.
/// </summary>
public abstract class ServerInfoProvider
{
/// <summary>
///... |
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* @brief 暗号。コルーチン。
*/
/** Fee.Crypt
*/
namespace Fee.Crypt
{
/** 暗号化。パブリックキー。
*/
public class Coroutine_EncryptPublicKey : Fee.Crypt.OnCryptTask_CallBackInterface
{
/** ResultType
*/... |
using System;
using UnityEngine;
namespace Mus3d
{
public class WeaponController : MonoBehaviour
{
public event Action<Weapon> E_WeaponChanged;
Weapon m_weapon;
SpriteRenderer m_spriteRenderer;
WeaponAnim m_anim;
bool m_isOutOfAmmo;
static bo... |
namespace Blazorise.Material
{
public class MaterialBehaviourProvider : BehaviourProvider
{
#region DataGrid
public override bool DataGridRowMultiSelectPreventClick => true;
#endregion
}
} |
using System.Text;
namespace Cars
{
public class Tesla : IElectricCar
{
public Tesla(int battery, string model, string color)
{
this.Battery = battery;
this.Model = model;
this.Color = color;
}
public int Battery { get; private set; }
... |
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
namespace HotChocolate.Types.Filters.Expressions
{
public sealed class StringStartsWithOperationHandler
: StringOperationHandlerBase
{
protected override bool TryCreateExpression(
FilterOperation operation,
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Mehran.TaxiFarePrediction.Data
{
static class TestTrips
{
internal static readonly TaxiTrip Trip1 = new TaxiTrip
{
VendorId = "VTS",
RateCode = "1",
PassengerCount = 1,
... |
using SFA.DAS.EmployerAccounts.Models.ReferenceData;
namespace SFA.DAS.EmployerAccounts.Queries.GetOrganisations
{
public class GetOrganisationsResponse
{
public PagedResponse<OrganisationName> Organisations { get; set; }
}
} |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winioctl.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtim... |
/*
* Copyright (C) 2011 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
using System;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraGrid.Views.Grid.ViewInfo;
using BL;
using OBJ;
namespace TeknikServis
{
public partial class pnlServistekiArizaliUrunler : UserControl
{
public pnlSekreter _s... |
using System.Collections.Generic;
using System.Linq;
using Hearthstone_Deck_Tracker;
using Hearthstone_Deck_Tracker.Enums;
using Hearthstone_Deck_Tracker.Hearthstone;
using Hearthstone_Deck_Tracker.Hearthstone.Entities;
using CoreAPI = Hearthstone_Deck_Tracker.API.Core;
namespace MacawTracker
{
internal class Si... |
using System;
using System.Collections.Generic;
using System.Text;
using Orleans.Serialization.Invocation;
namespace Orleans.Runtime
{
[WellKnownId(101)]
internal sealed class Message
{
public const int LENGTH_HEADER_SIZE = 8;
public const int LENGTH_META_HEADER = 4;
[NonSerialized... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Steeltoe.CloudFoundry.Connector.PostgreSql.EFCore;
namespace PostgreEFCore
{
public class Startup
{
public IConfiguration Configuratio... |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace MvvmApp
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new MainPage();
}
protected override void OnStart()
{
// Hand... |
// 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 Microsoft.Toolkit.Uwp.UI.Controls;
using Microsoft.Toolkit.Uwp.UI.Extensions;
using Windows.Appl... |
using System;
using System.IO;
using Bekk.Pact.Common.Contracts;
using Bekk.Pact.Common.Exceptions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Bekk.Pact.Common.Config
{
public abstract class Configuration<T> : IConfiguration where T: class
{
protected Configuration(IConfiguration inne... |
@using Microsoft.AspNetCore.Identity
@using GiftSystem.Areas.Identity
@using GiftSystem.Models
@namespace GiftSystem.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using BenchmarkDotNet.Attributes;
using Mappy.Converters;
using System.Collections.Generic;
using System.Linq;
namespace Mappy.Benchmark
{
public class ComplexMap
{
public const int Iterations = 50000;
private Mappy Mappy;
private Mappy MappyBaseConverterOnly;
public IEnumerabl... |
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("03... |
using System;
using System.Collections.Generic;
using ModestTree;
using ModestTree.Util;
#if ZEN_SIGNALS_ADD_UNIRX
using UniRx;
#endif
namespace Zenject
{
// This is just used for generic constraints
public interface ISignal<TParam1, TParam2, TParam3, TParam4> : ISignalBase
{
void Fire(TParam1 p1,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Graphics.Imaging;
using BookViewerApp.Helper;
//using WebImageExtractor;
#nullable enable
namespace BookViewerApp.Managers
{
public static class FaviconManager
{
//public... |
namespace Designtime.Sourcecode.Generator.Attributes
{
using System;
using System.Windows;
/// <summary>
/// プロパティ、コマンドなどの生成をDesigntimeSourcecodeGeneratorへ属性で指示します。
/// 複数指定することも可能です。
/// クラスは、1ファイル1クラスにしてください。
/// 生成元クラスは、必ずpartialにしてください。
/// 例:単純プロパティの生成
/// [TemplateGenerateAn... |
#region License
// Copyright (c) 2006-2007, ClearCanvas Inc.
// 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,... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
/* Copyright 2010-2014 MongoDB Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
using System;
using System.ComponentModel;
using System.IO;
using SIL.Cog.Application.ViewModels;
using SIL.Cog.Domain;
namespace SIL.Cog.Application.Export
{
public class NexusSimilarityMatrixExporter : ISimilarityMatrixExporter
{
public void Export(Stream stream, CogProject project, SimilarityMetric similarityM... |
/*
* 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... |
/*
* Copyright © dead.gg <https://dead.gg>
* All Rights Reserved
*
* kurozael <mailto:kurozael@gmail.com>
* zaekona <mailto:zaekona@gmail.com>
*/
using System;
namespace zapnet
{
/// <summary>
/// Data representing network simulation configuration.
/// </summary>
[Serializable]
public str... |
namespace ZymLabs.NSwag.FluentValidation
{
/// <summary>
/// String extensions
/// </summary>
internal static class StringExtensions
{
/// <summary>
/// Converts string to lowerCamelCase.
/// </summary>
/// <param name="inputString">Input string.</param>
/// <... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StarsParallax : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.