max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
tests/SQLite.Tests/AttributesTest.cs | Jouna77/sqlite-net-sync | 2,918 | 7044344 | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SQLite;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TestFixture = Microsoft.Vi... |
src/TheTvdbDotNet/ITvdbUpdate.cs | a-jackson/TheTvdbDotNet | 2 | 7044345 | <filename>src/TheTvdbDotNet/ITvdbUpdate.cs
using System;
using System.Threading.Tasks;
namespace TheTvdbDotNet
{
public interface ITvdbUpdate
{
Task<UpdateData> GetUpdatesAsync(DateTime fromTime, DateTime? toTime = default(DateTime?));
}
}
|
src/eduProjectModelLib/Domain/ProjectApplication.cs | ngrahovac/eduProject | 3 | 7044347 | <gh_stars>1-10
namespace eduProjectModel.Domain
{
public class ProjectApplication
{
public int ProjectApplicationId { get; set; }
public int ProjectId { get; set; }
public int CollaboratorProfileId { get; set; }
public int ApplicantId { get; set; }
public string Applica... |
src/TQVaultAE.Presentation/Resources.Designer.cs | afjback/TQVaultAE | 1 | 7044348 | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-... |
src/Frank.Libraries.Fiken/Models/CreditNoteLineResult.cs | frankhaugen/Frank.Extensions | 0 | 7044349 | using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace Frank.Libraries.Fiken.Models
{
/// <summary>
///
/// </summary>
public class CreditNoteLineResult
{
/// <summary>
/// Field is similar to vatType, it defaults to the product's income account. Eit... |
C#OOP/Polymorphism-Exercise-OOP/WildFarm/Animals/Animal.cs | hvpetrow/CSharp-SoftwareUni | 2 | 7044350 | using System;
using System.Collections.Generic;
using System.Text;
namespace WildFarm.Animals
{
public abstract class Animal
{
protected Animal(string name, double weight)
{
Name = name;
Weight = weight;
}
public string Name { get; protected set; }
... |
src/ChatBot.Server/Extensions/StringExtensions.cs | devg/ChatBotXamarinForms | 2 | 7044351 | <reponame>devg/ChatBotXamarinForms<gh_stars>1-10
using ChatBot.Server.Services.AnalyticsService;
using Microsoft.Bot.Builder.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace ChatBot.Server.Extensions
{
public static class StringE... |
src/FormPacientes.Designer.cs | joaomartiniano/clinica-medica-coimbra | 0 | 7044352 | <reponame>joaomartiniano/clinica-medica-coimbra
namespace clinica_coimbra
{
partial class FormPacientes
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any res... |
src/Covid19Tracker.NET/Constants/APIResources.cs | egbakou/Covid19Tracker.NET | 4 | 7044353 | <reponame>egbakou/Covid19Tracker.NET
namespace Covid19Tracker.Constants
{
/// <summary>
/// Defines the <see cref="APIResources" />.
/// </summary>
public class APIResources
{
/// <summary>
/// Defines the API_BASE_URI.
/// </summary>
public static string API_BASE_UR... |
Source/SafetyChecking/ExecutedModel/FaultHelper.cs | isse-augsburg/ssharp | 7 | 7044354 | // The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// 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 wi... |
Vault/Library/VaultConfig.cs | Luyunmt/AzureKeyVaultExplorer | 99 | 7044355 | <reponame>Luyunmt/AzureKeyVaultExplorer<gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Microsoft.Vault.Libra... |
src/Windows/R/Components/Impl/InteractiveWorkflow/Implementation/RInteractiveWorkflow.cs | skeptycal/RTVS | 429 | 7044356 | <filename>src/Windows/R/Components/Impl/InteractiveWorkflow/Implementation/RInteractiveWorkflow.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel;
using System.Linq;
usin... |
Src/Shared/Tauron.Application.Files.Zip/Old/InZipFileSystem.cs | Tauron1990/Project-Manager-Akka | 1 | 7044357 | using System;
using System.IO;
using Ionic.Zip;
using JetBrains.Annotations;
using Tauron.Application.VirtualFiles;
namespace Tauron.Application.Files.Zip
{
[PublicAPI]
public class InZipFileSystem : InZipDirectory, IVirtualFileSystem
{
private ZipFile _file;
public override NodeType Type... |
src/AspNetCore.Base/Controllers/Angular/MvcControllerAngular6ServerTemplateBase.cs | davidikin45/DigitalNomadDaveAspNetCore2 | 4 | 7044358 | using Microsoft.AspNetCore.Mvc;
namespace AspNetCore.Base.Controllers.Angular
{
[ApiExplorerSettings(IgnoreApi = true)]
public abstract class MvcControllerAngular6ServerTemplateBase : Controller
{
public PartialViewResult Render(string feature, string name)
{
return PartialView... |
Texample/Texample.cs | dmirmilshteyn/Texample | 0 | 7044359 | <gh_stars>0
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Content.PM;
namespace Texample
{
[Activity(MainLauncher = true,
Icon = "@drawable/icon",
ConfigurationChanges = ConfigChanges.Orient... |
Assets/Scripts/SniperGun.cs | Xwilarg/Crystal-Gamejam | 1 | 7044360 | using UnityEngine;
using UnityEngine.UI;
public class SniperGun : MonoBehaviour
{
[SerializeField]
private ChickenSpawner[] _addSpawners;
[SerializeField]
private AudioClip _shoot, _bip;
[SerializeField]
private Image[] _ammoSprites;
private int _indexAmmo;
[SerializeField]
priva... |
src/Syntax/Statements/LocalFunctionStatement.cs | svick/CSharpE | 0 | 7044361 | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpE.Syntax.Internals;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using RoslynSyntaxFactory = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using Roslyn = Microsoft.CodeAnalysis;
using static CSharpE.Syntax.... |
TableDAL.cs | diavgu/azure-table-encrypt | 0 | 7044362 | using Contracts;
using Microsoft.Azure; // Namespace for CloudConfigurationManager
using Microsoft.WindowsAzure.Storage; // Namespace for CloudStorageAccount
using Microsoft.WindowsAzure.Storage.Table; // Namespace for Table storage types
using Models;
using Security;
using System.Collections.Generic;
using Sys... |
Source/ra2/Settings.cs | emipa606/RedAlert2 | 1 | 7044363 | <gh_stars>1-10
using HugsLib.Settings;
using Verse;
namespace ra2
{
public class Settings
{
public static SettingHandle<int> droppodCargoDropPercentage;
public static SettingHandle<bool> useGameSpeed;
public Settings(ModSettingsPack settings)
{
droppodCargoDropPerc... |
Scripts part1/Merchant/MerchantSlot.cs | benanil/Bukra_Game | 0 | 7044364 |
using Dialog;
using Inventory;
using UnityEngine;
using UnityEngine.UI;
using AnilTools;
public class MerchantSlot : MonoBehaviour, UILanguage
{
public Text Name;
public Text priceTXT;
public Image icon;
public Button Buy;
public Button Sell;
public ItemSC item;
publi... |
EnvironmentAssessment.Wizard/Common/VimApi/P/PhysicalNicSpec.cs | octansIt/environmentassessment | 1 | 7044365 | namespace EnvironmentAssessment.Common.VimApi
{
public class PhysicalNicSpec : DynamicData
{
protected HostIpConfig _ip;
protected PhysicalNicLinkInfo _linkSpeed;
public HostIpConfig Ip
{
get
{
return this._ip;
}
set
{
this._ip = value;
}
}
public PhysicalNicLinkInfo LinkSpeed
... |
Jx3Full/Source/Source/Tools/GameDesignerEditor/ThirdParty/FireBall/Fireball.Windows.Forms/Windows/Forms/DiscoverControlDesigner.cs | RivenZoo/FullSource | 2 | 7044366 | <filename>Jx3Full/Source/Source/Tools/GameDesignerEditor/ThirdParty/FireBall/Fireball.Windows.Forms/Windows/Forms/DiscoverControlDesigner.cs
// Copyright (C) 2005 <NAME>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Lice... |
yafsrc/ServiceStack/ServiceStack/Text/Jsv/JsvWriter.Generic.cs | YAFNET/YAFNET | 390 | 7044367 | <filename>yafsrc/ServiceStack/ServiceStack/Text/Jsv/JsvWriter.Generic.cs
// ***********************************************************************
// <copyright file="JsvWriter.Generic.cs" company="ServiceStack, Inc.">
// Copyright (c) ServiceStack, Inc. All Rights Reserved.
// </copyright>
// <summary>Fork f... |
CarService.Web/ViewModels/CategoryIndex.cs | Valersd/CarService | 1 | 7044368 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace CarService.Web.ViewModels
{
public class CategoryIndex : CategoryBase
{
public int Id { get; set; }
[Remote("IsCategoryNameUnique... |
src/CleanBlog.Client/Utils/File/FileValidationAttribute.cs | alijam93/CleanBlog | 3 | 7044370 | using Microsoft.AspNetCore.Components.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace CleanBlog.Client.Utils.File
{
public class FileValidationAttribute : ValidationAttribute
{
... |
Hero/Pages/Users/Index.cshtml | GKirilov98/Heroes_v2 | 0 | 7044371 | @page
@model Hero.Pages.Users.IndexModel
@{
ViewData["Title"] = "Index";
}
<h1>List User</h1>
<table class="table bg-blur">
<thead>
<tr>
<th scope="col" class="font-weight-bold">
@Html.DisplayNameFor(model => model.User[0].Username)
</th>
<th scope... |
Tommy.Tests/Util/TomlExtensions.cs | bugproof/Tommy | 112 | 7044372 | using System.Text;
using SimpleJSON;
namespace Tommy.Tests.Util
{
public static class TomlExtensions
{
/// <summary>
/// Formats TOML Node to JSON Encoding format used by toml-lang/compliance
/// see
/// https://github.com/toml-lang/compliance/blob/master/docs/json-encoding.md
... |
Niki.SIS.Framework/Chushka/Data/ChushkaDbContext.cs | LuGeorgiev/SoftUniCSharp.Web | 0 | 7044374 | <gh_stars>0
using Chushka.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace Chushka.Data
{
public class ChushkaDbContext: DbContext
{
public ChushkaDbContext()
{
}
public ChushkaDbContext(DbContextOptions o... |
Source/Plugin.AdMobForms/Platform/Android/Listeners/AdMobRewardedCallback.android.cs | Respawnsive/MTAdmob | 2 | 7044375 | using System;
using Android.Gms.Ads;
using Android.Gms.Ads.Rewarded;
namespace Plugin.AdMobForms.Platform.Android
{
public class AdMobRewardedCallback : RewardedAdCallback
{
private string _adUnit;
public AdMobRewardedCallback(string adUnit)
{
_adUnit = adUnit;
}
... |
DynamicForms.Web/Infrastructure/ApplicationFormCogs/Validation/ModelStateValidationResult.cs | fabiomilheiro/DynamicForms | 1 | 7044376 | <filename>DynamicForms.Web/Infrastructure/ApplicationFormCogs/Validation/ModelStateValidationResult.cs<gh_stars>1-10
namespace DynamicForms.Web.Infrastructure.ApplicationFormCogs.Validation
{
public class ModelStateValidationResult
{
public string Key { get; set; }
public string ErrorMessage {... |
automerger.cake | EcovadisCode/Automerger | 2 | 7044377 | <filename>automerger.cake
// -----------------------------------------------------------------------------
// ARGUMENTS
// -----------------------------------------------------------------------------
var sourceBranch = Argument("sourceBranch", "");
var targetBranch = Argument("targetBranch", "");
var sourceBr... |
src/Memoyu.Mbill.Domain/IRepositories/Bill/Statement/IStatementRepository.cs | BlazorHub/mbill_service | 0 | 7044378 | <filename>src/Memoyu.Mbill.Domain/IRepositories/Bill/Statement/IStatementRepository.cs
/**************************************************************************
* =================================
* CLR版本 :4.0.30319.42000
* 命名空间 :Memoyu.Mbill.Domain.IRepositories.Bill.Statement
* 文件名称 :IStatementRepositor... |
VS/CSHARP/asm-dude-vsix/QuickInfo/BugWindow.xaml.cs | YellowAfterlife/asm-dude | 0 | 7044380 | using System.Windows;
using System.Windows.Controls;
using AsmDude.Tools;
namespace AsmDude.QuickInfo
{
public partial class BugWindow : UserControl
{
public BugWindow()
{
this.InitializeComponent();
this.MainWindow.MouseLeftButtonDown += (o, i) => {
A... |
net.obliteracy.tetsuo.broker/TTSBroker.cs | jgarverick/tetsuo | 0 | 7044381 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.ServiceModel.Channels;
using System.Data.SqlClient;
using System.Confi... |
Assets/Scripts/Bridge/Cyber/Protobuf/common/configs/proto/vehicle_config.cs | ZhenshengLee/simulator | 9 | 7044382 | <reponame>ZhenshengLee/simulator
// This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: vehicle_config.proto
#pragma warning disable 0612, 1591, 3021
namespace apollo.common
{
[global::ProtoBuf.ProtoContract()]
public p... |
Principles/School/Models/Persons/Teacher.cs | AlxxlA/OOPExercises | 1 | 7044383 | using System.Collections.Generic;
using School.Contracts;
namespace School.Models.Persons
{
public class Teacher : Person, ITeacher
{
public Teacher(string name) : base(name)
{
this.Disciplines = new List<IDiscipline>();
this.Comments = new List<IComment>();
}
... |
HealthVault.Foundation/RecordMethods.cs | limefrogyank/HealthVaultUWP | 1 | 7044384 | <reponame>limefrogyank/HealthVaultUWP<gh_stars>1-10
// (c) Microsoft. All rights reserved
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using HealthVault.Foundation.Methods;
using HealthVault.Foundation.Types;
namespace HealthVault.Foundation
{
public class RecordMethods
... |
examples/demo/Demo.Infrastructure/CreateProject/TestExternalService.cs | Sporteco/EventFly | 19 | 7044385 | using Demo.Application.CreateProject;
using System.Threading.Tasks;
namespace Demo.Infrastructure.CreateProject
{
public sealed class TestExternalService : IExternalService
{
public Task DoAnything()
{
return Task.CompletedTask;
}
}
}
|
xml-rpc.net.2.5.0/samples/opendht/OpenDHTLib/OpenDHTBase.cs | dagavriliu/subdown | 0 | 7044386 | /*
OpenDHT.NET library, based on XML-RPC.NET
Copyright (c) 2006, <NAME> <<EMAIL>>
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 t... |
Assets/VektorVoxels/Generation/FlatGenerator.cs | VektorKnight/vektor-voxels | 7 | 7044387 | <gh_stars>1-10
using System;
using UnityEngine;
using VektorVoxels.Chunks;
using VektorVoxels.Voxels;
using VektorVoxels.World;
namespace VektorVoxels.Generation {
/// <summary>
/// Generates a flat world with grass at the top, a thin layer of dirt, then stone, and finally bedrock.
/// Roughly equivalent ... |
CoolWebsite.Infrastructure/Identity/IdentityResultExtensions.cs | Syhler/CoolWebsite | 2 | 7044388 | <reponame>Syhler/CoolWebsite
using System.Collections.Generic;
using System.Linq;
using CoolWebsite.Application.Common.Models;
using Microsoft.AspNetCore.Identity;
namespace CoolWebsite.Infrastructure.Identity
{
public static class IdentityResultExtensions
{
public static Result ToApplicationResult(th... |
src/Stump.Server.WorldServer/game/fights/Challenges/ChallengeManager.cs | Daymortel/Stump | 2 | 7044389 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Stump.Core.Mathematics;
using Stump.Core.Reflection;
using Stump.Server.BaseServer.Initialization;
namespace Stump.Server.WorldServer.Game.Fights.Challenges
{
public class ChallengeManager : Singleton<ChallengeManage... |
dotnet-tracer/main/CodePulse.Client/Util/SocketFactory.cs | alextudu/codepulse | 75 | 7044390 | // Copyright 2017 Secure Decisions, a division of Applied Visions, Inc.
// 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 ... |
CMSComponents/ContentPageComponents.cs | ninianne98/CarrotCakeCMS-MVC | 29 | 7044391 | using Carrotware.CMS.Core;
using Carrotware.Web.UI.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
/*
* CarrotCake CMS (MVC5)
* http://www.carrotware.com/
*
* Copyright 2015, <NAME>
* Dual licensed under the MIT or GPL Version 3 licen... |
OOP/InterfacesAndAbstraction/BorderControl/Program.cs | Siafarikas/SoftUni | 1 | 7044392 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace BorderControl
{
public class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
List<IPerson> people = new List<IPerson>();
for (int i... |
ConfigurationPage/PrintLeveling/PrintLevelingWizard.cs | krolco/MatterControl | 0 | 7044393 | <reponame>krolco/MatterControl
/*
Copyright (c) 2018, <NAME>, <NAME>
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 copyright notice, this
li... |
src/WRSoftware.Utils.EntityFramework/Repositories/CQRS/GenericQueryRepository.cs | jonathanbraga/WRSoftware | 0 | 7044395 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using WRSoftware.Utils.Common.Models;
using WRSoftware.Utils.EntityFrameworkCore.Extensions;
using WR... |
Baselib/src/System/Resources/ResourceManager.cs | spaceflint7/bluebonnet | 130 | 7044396 | <filename>Baselib/src/System/Resources/ResourceManager.cs
namespace system.resources
{
public class ResourceManager
{
public ResourceManager(string baseName, System.Reflection.Assembly assembly) { }
public string GetString(string name, System.Globalization.CultureInfo culture) => name;
... |
Samples/OneBoxDeployment/src/OneBoxDeployment.GrainInterfaces/ITestStateGrain.cs | JohnDebono/orleans | 13 | 7044397 | <reponame>JohnDebono/orleans<filename>Samples/OneBoxDeployment/src/OneBoxDeployment.GrainInterfaces/ITestStateGrain.cs<gh_stars>10-100
using Orleans;
using System.Threading.Tasks;
namespace OneBoxDeployment.GrainInterfaces
{
/// <summary>
/// A grain for testing grain state.
/// </summary>
public inte... |
WebHost/Program.cs | Ivony/TableGames | 18 | 7044398 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Nebula.Hosting;
namespace Ivony.TableGame.WebHost
{
public class Program
{
public static void Main()
{
Hosting.Run();
}
}
}
|
Assets/_Scripts/Title/SpinSpinner.cs | DapperDenizen/DundersMagicCards | 0 | 7044399 | <reponame>DapperDenizen/DundersMagicCards<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpinSpinner : MonoBehaviour
{
[SerializeField] List<CardBase> defaults;
[SerializeField] Transform spinTrans;
bool animating = false;
//Rotation s... |
DiaryScheduler.Presentation.Web/Views/Scheduler/Edit.cshtml | devston/dotnetmvc-webapi-diary-scheduler | 0 | 7044400 | @model DiaryScheduler.Presentation.Models.Scheduler.SchedulerModifyViewModel
@{
ViewBag.Title = Model.PageTitle;
}
<div class="card" data-page-name="modify" id="scheduler-main-container">
<form class="card-body" data-url="@Model.SaveUrl" id="edit-cal-entry-form">
<h2 class="card-title">@Model.PageTit... |
examples/Spring/Spring.WebQuickStart/src/Spring.WebQuickStart.2005/Navigation/InvalidInput.aspx.cs | rpahli/spring-net | 697 | 7044402 | <filename>examples/Spring/Spring.WebQuickStart/src/Spring.WebQuickStart.2005/Navigation/InvalidInput.aspx.cs
using System;
using System.Diagnostics;
/// <summary>
/// Notice that your web page has to extend Spring.Web.UI.Page class
/// in order to enable data binding and many other features.
/// </summary>
publ... |
src/Oldmansoft.ApplicationLibrary.WechatOpen/Service/Message/Supporter/MassSendJobFinish.cs | Oldmansoft/ApplicationLibrary | 3 | 7044403 | <gh_stars>1-10
namespace Oldmansoft.ApplicationLibrary.WechatOpen.Service.Message.Supporter
{
/// <summary>
/// 事件推送群发结果
/// </summary>
public class MassSendJobFinish : TemplateSendJobFinish
{
/// <summary>
/// group_id下粉丝数;或者openid_list中的粉丝数
/// </summary>
public i... |
test/Ward.DnsClient.Tests/HttpsClientTests.cs | bojanrajkovic/Ward | 3 | 7044404 | using System.Net;
using System.Threading.Tasks;
using Ward.Dns;
using Ward.Dns.Records;
using Xunit;
namespace Ward.DnsClient.Tests
{
public class HttpsClientTests
{
[Fact]
public async Task Can_resolve_A_records_via_HTTPS()
{
var client = new HttpsDnsClient("1.1.1.1", 443... |
Plugins/Divination.ACT.CustomTrigger/WebhookHandler.cs | SlashNephy/ACT.Divination | 0 | 7044405 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Divination.Common;
#nullable enable
namespace Divination.ACT.CustomTrigger
{
public static class WebhookHandler
{
private const string MobHuntWebhookUrl =
"https://discordapp.com/api/webh... |
Core/Nodes/Atomic/DistanceNode.cs | mauricepape/Materia | 298 | 7044406 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Materia.Imaging.GLProcessing;
using Materia.Textures;
using Materia.Nodes.Attributes;
using Newtonsoft.Json;
using Materia.Nodes.Helpers;
using Materia.GLInterfaces;
namespace Materia.Nodes.Atomic... |
PagedList.cs | crystoline/EFCorePaginator | 0 | 7044407 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EFCorePaginator
{
public class PagedList<T>
{
public List<LinkInfo> Links { get; set; }
public int Total { get; set; }
public int CurrentPage { get; set... |
PixelFlutServer/PixelFlutServer.Mjpeg/PixelFlut/PixelFlutSimpleHandler.cs | patagonaa/pixelflut-server-dotnet | 1 | 7044409 | <reponame>patagonaa/pixelflut-server-dotnet
using Microsoft.Extensions.Logging;
using System;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace PixelFlutServer.Mjpeg.PixelFlut
{
public class PixelFlutSimpleHandler : IPixelFlutHandler
{
private readonly ... |
Tests/Scenes/Components/TerrainFactoryTests.cs | fcheadle/HomicideDetective.Old | 0 | 7044410 | using Engine.Scenes.Terrain;
using GoRogue;
using NUnit.Framework;
using SadConsole;
namespace Tests.Scenes.Components
{
class TerrainFactoryTests : TestBase
{
DefaultTerrainFactory factory = new DefaultTerrainFactory();
BasicTerrain _terrain;
[SetUp]
public void Se... |
Typo4/TypoLib/Utils/Common/StreamExtension.cs | gro-ove/typo4 | 2 | 7044411 | using System;
using System.IO;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace TypoLib.Utils.Common {
public static class StreamExtension {
[NotNull]
public static byte[] ReadAsBytes([NotNull] this Stream s) {
if (s == null) throw new ArgumentNullException(nameof(s... |
test/Gastromio.Domain.Tests/Application/Commands/ChangeRestaurantImage/ChangeRestaurantImageCommandHandlerTests.cs | marartz/Gastromio | 2 | 7044412 | <filename>test/Gastromio.Domain.Tests/Application/Commands/ChangeRestaurantImage/ChangeRestaurantImageCommandHandlerTests.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using FluentAssertions.Execution;
us... |
sel4/Pages/AdminPages/CountryPage.cs | obutkalyuk/sel4_repository | 0 | 7044414 | <reponame>obutkalyuk/sel4_repository
using OpenQA.Selenium;
namespace sel4.Pages
{
public class CountryPage : AdminHomePage
{
public CountryPage(IWebDriver driver)
: base(driver)
{ }
}
} |
Tarantula/FrmMain.Designer.cs | raminarmanfar/tarantula-env | 4 | 7044415 | namespace Tarantula
{
partial class FrmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
native/mkl/src/api/ops/rng/samplers/LaplaceSampler.cs | 0xCM/z0 | 0 | 7044416 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.Mkl
{
using System;
using static Part;
using static memory;
sealed class... |
BelajarMVC.View/FrmPosisi.cs | izhal27/csharp-windows-forms-mvc | 0 | 7044417 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Equin.ApplicationFramework;
using BelajarMVC.Model.Entity;
using BelajarMVC.Controller;... |
FFXIVAPP.Plugin.Parse/Models/History/HistoryGroupTypeDescriptor.cs | teast/ffxivapp-plugin-parse | 0 | 7044418 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="HistoryGroupTypeDescriptor.cs" company="SyndicatedLife">
// Copyright(c) 2018 <NAME> &lt;<EMAIL>&gt; (http://syndicated.life/)
// Licensed under the MIT license. See L... |
Builder/UI.Wpf/Presentation/ItemEditor/ViewModels/ScoreEditors/concrete/BaseGapViewModel.cs | stichting-cito/QuestifyBuilder | 3 | 7044419 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using Cinch;
using Cito.Tester.ContentModel;
using MEFedMVVM.Common;
using Questify.Builder.Logic.ContentModel.Scoring;
namespace Questify.Builder.UI.Wpf.Presentation.ItemEditor.ViewModels.Score... |
src/Uno.Extensions.Reactive.Tests/Operators/Given_FeedToListFeedAdapter.cs | unoplatform/uno.extensions | 21 | 7044420 | <filename>src/Uno.Extensions.Reactive.Tests/Operators/Given_FeedToListFeedAdapter.cs
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ... |
Source/Miracle.Arguments/NamedArgument.cs | PolarbearDK/Miracle.Arguments | 1 | 7044421 | namespace Miracle.Arguments
{
/// <summary>
/// Argument name/value
/// </summary>
public class NamedArgument
{
/// <summary>
/// Name of argument without Start of Argument marker (typically - or /)
/// </summary>
public string ArgumentName { get; set; }
/// <summary>
/// Optional argument value
/// ... |
src/SmartNote.Application/Users/Queries/UserAuthenticateDto.cs | linwenda/FunZone | 4 | 7044422 | using System.Security.Claims;
namespace SmartNote.Application.Users.Queries;
public class UserAuthenticateDto
{
public Guid Id { get; set; }
public bool IsActive { get; set; }
public string Email { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public L... |
source/csharpcommon/Constants.cs | a-fung/MangaWeb3 | 6 | 7044423 | // Constants.cs
//
using System;
using System.Collections.Generic;
namespace afung.MangaWeb3.Common
{
public class Constants
{
public const string Version = "3.0.0.0";
}
}
|
DistanceOfTheStars/Program.cs | xx5ko/CSharp | 0 | 7044424 | using System;
namespace DistanceOfTheStars
{
class MainClass
{
public static void Main(string[] args)
{
decimal earthToStar = 4.22m;
decimal centerGalaxy = 26000;
decimal milkyWay = 100000;
decimal distanceFromEarth = 46500000000;
decimal lightyear = 9450000000000;
earthToStar = earthToSta... |
src/AddIns/Tools/MeasureTool/MeasureTool.AddIns/MeasureView.xaml.cs | Esri/arcgis-viewer-silverlight | 7 | 7044425 | <reponame>Esri/arcgis-viewer-silverlight
/*
(c) Copyright ESRI.
This source is subject to the Microsoft Public License (Ms-PL).
Please see https://opensource.org/licenses/ms-pl for details.
All other rights reserved.
*/
//===============================
// VIEW CLASS - DO NOT ADD CODE
//===============================... |
Inazuma/Inazuma.PetitClr/Core/Structure/FieldDesc.cs | mayuki/Inazuma | 23 | 7044426 | <filename>Inazuma/Inazuma.PetitClr/Core/Structure/FieldDesc.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Inazuma.Mono.Cecil;
namespace Inazuma.PetitClr.Core.Structure
{
public class FieldDesc
{
public FieldDesc(FieldDefinition fieldDef)
{
... |
Cyber_Kitchen/Infrastructure/Utils/ExcelPro.cs | OsaMichael/CyberKitchen_updated | 0 | 7044428 | <reponame>OsaMichael/CyberKitchen_updated
using Cyber_Kitchen.Interface.Utils;
using Ninject.Modules;
using Ninject.Web.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Cyber_Kitchen.Infrastructure.Utils
{
public class ExcelPro : NinjectModule
{
pu... |
Source/Haven.Protocols.Legacy/LegacyAuthHandler.cs | k-t/haven-dotnet | 2 | 7044429 | <reponame>k-t/haven-dotnet<gh_stars>1-10
using System;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Haven.Net;
namespace Haven.Protocols.Legacy
{
public class... |
SimpleDataStorage/DataEntry.cs | sio2k1/SimpleDataStorage | 1 | 7044430 | <gh_stars>1-10
using System;
namespace SimpleDataStorage
{
public class DataEntry
{
public string TypeFullName { get; set; }
public object Data { get; set; }
}
}
|
NCS.DSS.Customer/PatchCustomerHttpTrigger/Service/CustomerPatchService.cs | SkillsFundingAgency/cdh-customer | 1 | 7044431 | <filename>NCS.DSS.Customer/PatchCustomerHttpTrigger/Service/CustomerPatchService.cs
using DFC.JSON.Standard;
using NCS.DSS.Customer.Models;
using Newtonsoft.Json.Linq;
using System.Linq;
namespace NCS.DSS.Customer.PatchCustomerHttpTrigger.Service
{
public class CustomerPatchService : ICustomerPatchService
{
... |
DistributorClient/Client.cs | tea40991103/Distributor | 0 | 7044432 | using System;
using System.Collections.Generic;
using static System.Convert;
using System.Diagnostics;
using System.Linq;
using System.IO;
using static System.IO.File;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Distributor
{
using st... |
UnityRealsenseOscMulticastInterface/OscMulticast/Assets/extOSC/Scripts/Compontents/OSCComponent.cs | mpinner/RealsenseOscMulticast | 3 | 7044433 | <reponame>mpinner/RealsenseOscMulticast
/* Copyright (c) 2017 ExT (V.Sigalkin) */
using UnityEngine;
namespace extOSC.Components
{
public abstract class OSCComponent : MonoBehaviour, IOSCReceiverComponent, IOSCTransmitterComponent
{
#region Public Vars
public OSCReceiver Receiver
{
... |
src/EventStore/Common/Source/EventId.cs | MindMatrix/MindMatrix.ES | 0 | 7044434 | namespace MindMatrix.EventSource
{
using System;
public partial class EventId
{
private EventId(string value)
{
Value = value;
}
public static implicit operator Guid(EventId it) => Guid.Parse(it.value_);
public static implicit operator EventId(Guid it) =... |
DirectN/DirectN/Generated/ISpatialAudioObjectBase.cs | Steph55/DirectN | 124 | 7044435 | // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\spatialaudioclient.h(304,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("cce0b8f2-8d4d-4efb-a8cf-3d6ecf1c30e0"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface I... |
src/Test.AutomatedTesting.Mocks/Emitter/PropertyEmitters/InterceptGetterEmitterTests.cs | git-custom-code/AutomatedTesting | 0 | 7044436 | <filename>src/Test.AutomatedTesting.Mocks/Emitter/PropertyEmitters/InterceptGetterEmitterTests.cs
namespace CustomCode.AutomatedTesting.Mocks.Emitter.Tests
{
#region Usings
using Interception;
using Interception.ReturnValue;
using Mocks.Core.Context;
using Mocks.Core.Data;
using Mocks.Core.Exte... |
src/War3Net.Build.Core/Object/UpgradeObjectData.cs | YakaryBovine/War3Net | 70 | 7044437 | // ------------------------------------------------------------------------------
// <copyright file="UpgradeObjectData.cs" company="Drake53">
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
// </copyright>
// --------------------------------------------------------... |
Assets/[Scripts]/A3/NodePositionDetection.cs | morgeth061/GAME3011_A3_EthierMorgan | 0 | 7044438 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NodePositionDetection : MonoBehaviour
{
public int row;
public int col;
public GameObject currentNode;
public GameObject rightNode;
public GameObject downNode;
public bool filled = false;
priva... |
WebDeployParametersToolkit/Nester.cs | kyleherzog/WebDeployParametersToolkit | 12 | 7044439 | using System;
using System.IO;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio;
namespace WebDeployParametersToolkit
{
internal static class Nester
{
private static ProjectItemsEvents events;
public static void Initialize(DTE2 dte)
{
if (events == null)
... |
ChromiumFX/Generated/Remote/CfxCallbackRemoteCalls.cs | azraelrabbit/chromiumfx-origin-2020 | 38 | 7044440 | // Copyright (c) 2014-2017 <NAME>
// All rights reserved.
//
// This software may be modified and distributed under the terms
// of the BSD license. See the License.txt file for details.
// Generated file. Do not edit.
using System;
namespace Chromium.Remote {
internal class CfxCallbackContinueRe... |
src/PlainElastic.Net/Builders/IndexSettings/Analysis/CharFilters/HtmlStripCharFilter.cs | skbkontur/PlainElastic.Net | 90 | 7044441 | using PlainElastic.Net.Utils;
namespace PlainElastic.Net.IndexSettings
{
/// <summary>
/// A char filter of type html_strip stripping out HTML elements from an analyzed text.
/// see http://www.elasticsearch.org/guide/reference/index-modules/analysis/htmlstrip-charfilter.html
/// </summary>
public ... |
WindowsFormsApp2/Admin_Dashboard.Designer.cs | MishalAreef/CinemaSeatBooking | 1 | 7044442 | namespace WindowsFormsApp2
{
partial class Admin_Dashboard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... |
Codeable.Foundation.Common/System/IDynamicallySelfRegisterWithUnity.cs | wmansfield/codeable-foundation | 1 | 7044443 | <reponame>wmansfield/codeable-foundation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
namespace Codeable.Foundation.Common.System
{
public interface IDynamicallySelfRegisterWithUnity
{
void SelfRegister(IUnityContainer container... |
DataAPI.Service/AccessManagement/ResourceDescriptions/ManageUserResourceDescription.cs | mindleaving/dataapi | 0 | 7044444 | namespace DataAPI.Service.AccessManagement.ResourceDescriptions
{
public class ManageUserResourceDescription : IResourceDescription
{
public ManageUserResourceDescription(string userToManage, UserManagementActionType actionType)
{
UserToManage = userToManage;
Acti... |
AlipaySDKNet/Domain/TakeAwayScopeInfo.cs | alipay/alipay-sdk-net | 117 | 7044445 | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// TakeAwayScopeInfo Data Structure.
/// </summary>
[Serializable]
public class TakeAwayScopeInfo : AopObject
{
/// <summary>
/// 圆形范围半径(单位公里),t... |
Assets/IK/NeuralIK/ZeroMQBehaviour.cs | swordlegend/MathUtilities | 3,083 | 7044446 | using System.Threading;
using System.Collections.Concurrent;
using NetMQ;
using NetMQ.Sockets;
using UnityEngine;
public abstract class ZeroMQBehaviour : MonoBehaviour {
private NetMqPair _netMqPair;
protected abstract void HandleMessage(string message);
protected virtual void Start() {
_netMqPair = new N... |
Server/HetsData/Entities/HetBusinessUser.cs | ychung-mot/hets | 2 | 7044447 | using System;
using System.Collections.Generic;
#nullable disable
namespace HetsData.Entities
{
public partial class HetBusinessUser
{
public HetBusinessUser()
{
HetBusinessUserRoles = new HashSet<HetBusinessUserRole>();
}
public int BusinessUserId { get; set; }
... |
Assets/Scripts/GravityArea.cs | rhomita/mario-galaxy-gravity-mechanics | 5 | 7044448 | <gh_stars>1-10
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Collider))]
public abstract class GravityArea : MonoBehaviour
{
[SerializeField] private int _priority;
public int Priority => _priority;
void Start()
{
transform.GetComponent<Collider>().isTrigge... |
Crash/Formats/Crash Formats/GOOL/GOOL Instructions/Pshp.cs | Aedhen/CrashEdit | 60 | 7044449 | namespace Crash.GOOLIns
{
[GOOLInstruction(38,GameVersion.Crash1)]
[GOOLInstruction(38,GameVersion.Crash1Beta1995)]
[GOOLInstruction(38,GameVersion.Crash1BetaMAR08)]
[GOOLInstruction(38,GameVersion.Crash1BetaMAY11)]
[GOOLInstruction(38,GameVersion.Crash2)]
[GOOLInstruction(38,GameVersion.Crash3... |
src/FMData/ValueList.cs | heebinho/fmdata | 26 | 7044450 | <gh_stars>10-100
using System.Collections.Generic;
namespace FMData
{
/// <summary>
/// Value List
/// </summary>
public class ValueList
{
/// <summary>
/// Value List Name
/// </summary>
public string Name { get; set; }
/// <summary>
/// Value List ... |
Assets/Common/Settings/Input/TutorialControls.cs | angusmf/rltk_unity_roguelike | 0 | 7044451 | <filename>Assets/Common/Settings/Input/TutorialControls.cs
// GENERATED AUTOMATICALLY FROM 'Assets/Common/Settings/Input/TutorialControls.inputactions'
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
public class @Tutori... |
src/Azurite/Controllers/InfoController.cs | azurite-dev/azurite | 4 | 7044452 | using System;
using System.Reflection;
using System.Threading.Tasks;
using Azurite.Index;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
namespace Azurite.Controllers
{
[ApiController]
[ApiVersion("1.0")]
// [Route("[controller]")]
[Route("api/v{version:apiVersion}")]
public cl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.