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 |
|---|---|---|---|---|
Invoice.Infrastructure/Repositories/InvoiceDocumentRepository.cs | next-solution/Invoice | 0 | 7040448 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Invoice.Core.Domain;
using Invoice.Core.Repositories;
using Invoice.Infrastructure.EF;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace Invoice.Infrastructure.Repositories
{
public class Invoice... |
Editor/Inspector/ToonyStandardSections/RimLightSection.cs | RetroGEO/Toony-standard | 0 | 7040449 | using UnityEditor;
using UnityEngine;
using System;
using System.Collections;
namespace Cibbi.ToonyStandard
{
public class RimLightSection : OrderedSection
{
private static class Styles
{
public static GUIContent title = new GUIContent("Rim Light Options", "Various options for rim ... |
csharp/BuilderPattern/BuilderPattern/VolvoCarBuilder.cs | jonasolin/designpatterns | 0 | 7040450 | <reponame>jonasolin/designpatterns<gh_stars>0
namespace BuilderPattern
{
public class VolvoCarBuilder : ICarBuilder
{
private readonly Car _car = new Car();
public Car GetCar() => _car;
public void SetBrand() => _car.Brand = "Volvo";
public void SetOrigin() => _car.Country = "Sweden";
}
}
|
Script/wallet/new/HttpManager.cs | dimensionofficial/Dimension-Wallet | 11 | 7040451 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LitJson;
using System;
using Newtonsoft.Json;
using System.Text;
using UnityEngine.Networking;
using System.Security.Cryptography;
public class HttpManager : MonoBehaviour
{
/// <summary>
/// 钱包服务器地址
/// </summary>
... |
src/core/BrightstarDB.OData/DataService.svc.cs | dgerding/BrightstarDB | 323 | 7040452 | using System.Data.Services;
using System.Data.Services.Common;
namespace BrightstarDB.OData
{
public class DataService : EntityDataService<MyEntityContext>
{
// This method is called only once to initialize service-wide policies.
public static void InitializeService(DataServiceConfiguration co... |
HackEd 2019/Assets/Scripts/weapons/anyGun.cs | curtisDale/HackEd-2019 | 0 | 7040453 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class anyGun : MonoBehaviour {
public Transform aimPoint;
public Transform firePoint;
public GameObject bullet;
[Range(0, 100)]
public float bulletSpeed;
[Range(0, 1)]
public float timeBetweenBullets;
[Range(0, 100)]
pub... |
src/pokdeng/CodeBasic/Pokdeng.cs | kritsadadechawantana/code-basic | 0 | 7040454 | <reponame>kritsadadechawantana/code-basic
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeBasic
{
public class Pokdeng
{
public int PlayerBalance { get; set; }
// Club, Diamond, Heart, Spade (case sensitive)
public void CheckGameResult(
int... |
Assets/ExtensibleCharacterController/Scripts/Controllers/ECCCameraController.cs | KyleStank/ExtensibleCharacterController | 0 | 7040455 | using UnityEngine;
using UnityEngine.InputSystem;
using ExtensibleCharacterController.Cameras;
using ExtensibleCharacterController.Core.Input;
using ExtensibleCharacterController.Core.Variables;
namespace ExtensibleCharacterController.Controllers
{
[RequireComponent(typeof(ECCUserInput))]
public class ECCCame... |
GameTracker/GameTracker/GAMEGENRE.cs | Oriyn/game-tracker | 0 | 7040456 | <filename>GameTracker/GameTracker/GAMEGENRE.cs
namespace GameTracker
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("GAMEGENRE")]
public partial class... |
Utilities/Utilities/Core/Collections/ArrayExtensions_Public.cs | Arzana/DeJongUtils | 0 | 7040457 | <reponame>Arzana/DeJongUtils
using System;
namespace DeJong.Utilities.Core.Collections
{
/// <summary>
/// Defines frequently used functions on arrays.
/// </summary>
public static partial class ArrayExtensions
{
/// <summary>
/// Returns whether all elements of a specified collect... |
main/Boku/AnimContentProc/Content/Bvh/BvhImporter.cs | chrisphillips/KoduGameLab | 11 | 7040458 | <gh_stars>10-100
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/*
* BvhImporter.cs
* Copyright (c) 2006, 2007 <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to ... |
Core.Access/Utility/JsonWebToken/IJsonWebTokenManager.cs | GitAyanC/SecurityTokenService | 1 | 7040459 | <reponame>GitAyanC/SecurityTokenService
using Microsoft.IdentityModel.Tokens;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
namespace Core.Access.Utility
{
public interface IJsonWebTokenManager
{
JwtSecurityToken GetJwtSecurityToken(IEnumerable<... |
Versionizer.Admin/MainWin.Designer.cs | parameshg/versionizer | 2 | 7040460 | namespace Versionizer.Admin
{
partial class MainWin
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Task/Array-concatenation/C-sharp/array-concatenation-2.cs | mullikine/RosettaCodeData | 45 | 7040461 | using System.Linq;
class Program
{
static void Main(string[] args)
{
int[] a = { 1, 2, 3 };
int[] b = { 4, 5, 6 };
int[] c = a.Concat(b).ToArray();
}
}
|
src/BookManager.Domain/Commands/BookCommands/BookCommand.cs | thiagocruzrj/BookManager | 0 | 7040462 | using BookManager.Core.Commands;
using System;
using System.Collections.Generic;
using System.Text;
namespace BookManager.Domain.Commands.BookCommands
{
public abstract class BookCommand : Command
{
public Guid Id { get; protected set; }
public Guid CategoryId { get; protected set; }
p... |
template/Delete.cshtml | margathorp/MvcAspNetCore | 0 | 7040463 | <reponame>margathorp/MvcAspNetCore<filename>template/Delete.cshtml
<%
var fields = Fields.split("|");
var nome = "";
var tipo = "";
var mask = "";
var hidden = "";
%>
@model <%=Projeto%>.Models.Context.<%=ObjContext%>
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewData["Title"] = "Exc... |
src/Uno.Extensions.Configuration/ServiceCollectionExtensions.cs | AndreAbrantes/uno.extensions | 0 | 7040464 | using System.Linq;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Uno.Extensions.Configuration
{
public static class ServiceCollectionExtensions
{
... |
mcs/class/System.Transactions/System.Transactions/CommittableTransaction.cs | lefb766/mono | 1 | 7040465 | <reponame>lefb766/mono
//
// CommittableTransaction.cs
//
// Author:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// (C)2005 Novell Inc,
// (C)2006 Novell Inc,
//
using System.Runtime.Serialization;
using System.Threading;
namespace System.Transactions
{
[Serializable]
public sealed class CommittableTransaction : T... |
src/Singer.Client/DViewModel.cs | shoy160/singer.wpf | 0 | 7040466 | <reponame>shoy160/singer.wpf
using Singer.Client.Controls;
using Singer.Core;
using Singer.Core.Messaging;
using System;
using System.Windows;
namespace Singer.Client
{
public abstract class DViewModel : DViewModel<FrameworkElement>
{
protected DViewModel(IMessenger messenger = null) : base(messenger)... |
EFCore.SqlServer.HierarchyId/Storage/SqlServerHierarchyIdTypeMappingSourcePlugin.cs | yuryjhol/EFCore.SqlServer.HierarchyId | 0 | 7040467 | using Microsoft.EntityFrameworkCore.Storage;
namespace Microsoft.EntityFrameworkCore.SqlServer.Storage
{
internal class SqlServerHierarchyIdTypeMappingSourcePlugin : IRelationalTypeMappingSourcePlugin
{
public const string SqlServerTypeName = "hierarchyid";
public virtual RelationalTypeMapping... |
Source/Eto.Gtk/Forms/Controls/SliderHandler.cs | DavidRutten/Eto | 1 | 7040468 | using System;
using Eto.Forms;
namespace Eto.GtkSharp.Forms.Controls
{
public class SliderHandler : GtkControl<Gtk.EventBox, Slider, Slider.ICallback>, Slider.IHandler
{
int min;
int max = 100;
int tick = 1;
Gtk.Scale scale;
public SliderHandler()
{
this.Control = new Gtk.EventBox();
//Control.Vis... |
DataManager/Models/Old/Load.cs | kazunetakeda25/data-manager | 5 | 7040469 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DataManager.Models
{
[Table("Loads")]
public class Load
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microso... |
src/DotNetCoreFeatures.Hosting/WorkerServices/AdvancedWorker.cs | chunk1ty/DotNetCoreFeatures | 0 | 7040470 | <gh_stars>0
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace DotNetCoreFeatures.Hosting.WorkerServices
{
public class AdvancedWorker : BackgroundService
{
private readonly ILo... |
WpfBase/Framework/MasterViewModelBase.cs | p00037/WpfBase_Fody | 0 | 7040471 | using Newtonsoft.Json;
using Reactive.Bindings;
using System.Collections.ObjectModel;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using WpfBase.Common;
using WpfBase.UseCase.Exceptions;
namespace WpfBase.Framework
{
public abstract class MasterViewModelBase<TEnti... |
src/Citrina/Api/Contracts/IBoardApi.cs | khrabrovart/vkontakte-net | 7 | 7040472 | using System.Collections.Generic;
using System.Threading.Tasks;
namespace Citrina
{
public interface IBoardApi
{
/// <summary>
/// Returns a list of topics on a community's discussion board.
/// </summary>
Task<ApiRequest<BoardGetTopicsResponse>> GetTopics(UserAccessToken acces... |
src/HotBrokerBus.Stan/Injection/Options/Modules/Connection/StanModulesConnectionOptions.cs | Kakktuss/HotMessageBus | 2 | 7040473 | <reponame>Kakktuss/HotMessageBus
using HotBrokerBus.Stan.Injection.Options.Modules.Connection.StanOptions;
namespace HotBrokerBus.Stan.Injection.Options.Modules.Connection
{
public class StanModulesConnectionOptions
{
public StanModulesConnectionOptions(string clusterName, string appName, StanModulesC... |
DAL/UsersDAL.cs | zhangzelei520/dewei | 0 | 7040474 | <reponame>zhangzelei520/dewei
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using Model;
namespace DAL
{
public class UsersDAL
{
public int Chcek( Users u) //用户名时候的sql语句
{
SqlParameter Uname... |
P0_JoshRaneri/Migrations/20201230124117_initialize.Designer.cs | 12142020-dotnet-uta/JoshRaneriRepo1 | 0 | 7040475 | <reponame>12142020-dotnet-uta/JoshRaneriRepo1<gh_stars>0
// <auto-generated />
using System;
using DBAccessLib;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFr... |
restlicsharpdata/restlidataintegrationtest/NestedTypesTests.cs | mchen07/restli-csharp | 3 | 7040476 | <reponame>mchen07/restli-csharp<gh_stars>1-10
/*
Copyright (c) 2017 LinkedIn Corp.
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
... |
Assets/B4D/Scripts/UI/Utils/ComplexAspectDownloadableImage.cs | pmendezb4d/b4d-ndi-engineers | 0 | 7040477 | using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace B4D.UI.Utils
{
/// <summary>
/// It's the same as the DownloadableImage, but it modifies the size to fit perfectly its parent in both width and height to prevent any blank space
/// </summary>
public class ComplexAspectDownlo... |
Tessin.Bladerunner/Query/IQueryRule.cs | tessin/tessin-bladerunner | 0 | 7040478 | <reponame>tessin/tessin-bladerunner
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Tessin.Bladerunner.Query
{
public interface IQueryRule<T>
{
int RuleIndex { get; set; }
bool Negate { get; set; }
object Render(QueryBuilder<T>... |
MainClass/SSUtil.cs | bowenwen/TransitDataTool | 1 | 7040480 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.SQLite;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.X... |
src/dnsimple/Services/ListOptions/CertificatesListOptions.cs | VanHuychemG/dnsimple-csharp | 11 | 7040481 | namespace dnsimple.Services.ListOptions
{
/// <summary>
/// Defines the options you may want to send to list certificates,
/// such as pagination and sorting
/// </summary>
/// <see cref="ListOptions"/>
public class CertificatesListOptions : ListOptions
{
/// <summary>
... |
InternalLibraries/ZionWeb.Auth/Repositories/Interfaces/IProductRepository.cs | gagandeepgarg/Centralized-Data-Ingestion-Outgestion | 0 | 7040482 | <filename>InternalLibraries/ZionWeb.Auth/Repositories/Interfaces/IProductRepository.cs
using ZionWeb.Auth.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ZionWeb.Auth.Repositories.Interfaces
{
public interface IProductRepository : IRepository<Product>
{
}
}
|
src/Microsoft.Maui.Graphics/PlatformImage.cs | junior-ts/Microsoft.Maui.Graphics | 0 | 7040483 | using System;
using System.IO;
using System.Threading.Tasks;
namespace Microsoft.Maui.Graphics.Platform
{
#if NETSTANDARD || NETSTANDARD2_0 || NETSTANDARD2_1 || TIZEN || TIZEN40
public class PlatformImage : IImage
{
private readonly byte[] _bytes;
private readonly int _width;
private readonly int _height;
p... |
SFX/WeaponFX/RailFX.cs | demiurghg/ShooterDemo | 0 | 7040484 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fusion;
using Fusion.Core;
using Fusion.Core.Content;
using Fusion.Core.Mathematics;
using Fusion.Core.Extensions;
using ShooterDemo;
using ShooterDemo.Core;
using Fusion.Engine.Graphic... |
Anarian Game Engine.Shared/DataStructures/UniversalCamera.cs | KillerrinStudios/Anarian-Game-Engine-MonoGame | 1 | 7040485 | <filename>Anarian Game Engine.Shared/DataStructures/UniversalCamera.cs<gh_stars>1-10
using Anarian.Enumerators;
using Anarian.Interfaces;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Text;
names... |
TCC/Assets/Scripts/Enemies/EnemyTest.cs | xsery/keinwasser | 0 | 7040486 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyTest : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
private void OnTriggerEnter(Collider other)
{
if (o... |
Memoria.EventEngine/Instructions/WAITTURN.cs | Fraggoso/Memoria | 1 | 7040487 | using System;
namespace FF8.JSM.Instructions
{
/// <summary>
/// WaitTurn
/// Wait until the character has turned.
/// WAITTURN = 0x050,
/// </summary>
internal sealed class WAITTURN : JsmInstruction
{
private WAITTURN()
{
}
public static JsmInstruction Cre... |
playground/DryIoc.Messages.MediatRLikeExample/Program.cs | jianyuyanyu/DryIoc | 0 | 7040489 | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace DryIoc.Messages.MediatRLikeExample
{
public class Program
{
public static Task Main() => new Program().Run();
public Task Run()
{
var contain... |
ABC/ABC107/Tests/CTests.cs | AconCavy/atcoder-challenges-cs | 0 | 7040490 | <filename>ABC/ABC107/Tests/CTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class CTests
{
[TestMethod]
public void TestMethod1()
{
const string input = @"5 3
-30 -10 10 20 50";
const string output = @"40";
... |
EGScript/AbstractSyntaxTree/ASTMemberFunction.cs | Szune/EGScript | 0 | 7040491 | <gh_stars>0
using System.Collections.Generic;
using EGScript.Scripter;
namespace EGScript.AbstractSyntaxTree
{
public class ASTMemberFunction : ASTFunctionBase
{
public string BaseClass { get; }
public ASTMemberFunction(string name, string baseClass, List<string> arguments, ASTStatementBase b... |
Azmyth/Procedural/SimplexNoise.cs | GalacticSoft/Azmyth | 3 | 7040492 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Azmyth.Procedural
{
/*
* SimplexValue Noise in Java.
* by <NAME>
*
* Public Domain
*/
public class SimplexValueNoise : Noise
{
private const double SQUISH_CONSTAN... |
Orm/Xtensive.Orm/Sql/Dml/Expressions/SqlCase.cs | PopovKS/dataobjects-net | 41 | 7040493 | <filename>Orm/Xtensive.Orm/Sql/Dml/Expressions/SqlCase.cs<gh_stars>10-100
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
using System;
using System.Collections;
using System.Collections.Generic;
using Xtensive.Core;
namespace Xtensive.Sql.Dml
{... |
backend/src/Squidex.Domain.Apps.Entities/Apps/AppHistoryEventsCreator.cs | Lavanya7920/squidex | 0 | 7040494 | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// =============================... |
CefSharp/Enums/CefMenuCommand.cs | igandrews/CefSharp | 0 | 7040495 | // Copyright © 2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public enum CefMenuCommand
{
NotFound = -1,
// Navigation.
Back = 100,
Forward = 101,
... |
LSCode.Validador/ValueObjects/TamanhoArquivoKB.cs | lsantoss/LSCode.Validador | 0 | 7040496 | <filename>LSCode.Validador/ValueObjects/TamanhoArquivoKB.cs
using LSCode.Validador.ValidacoesNotificacoes;
using System;
namespace LSCode.Validador.ValueObjects
{
/// <summary>Auxilia na utilização, validação e formatação de tamanho de arquivos em KB.</summary>
public class TamanhoArquivoKB : Notificadora
... |
src/Engine/Program.cs | kijanawoodard/www_kijanawoodard_com | 1 | 7040497 | // See https://aka.ms/new-console-template for more information
var path = args[0];
var filename = Path.Combine(path, "index.html");
Console.WriteLine($"Hello, World!\n\n{filename}");
Directory.CreateDirectory(path);
File.WriteAllText(filename, "Hello World!");
|
src/core/BrightstarDB.Server.Modules.Tests/ConfigurationSectionHandlerSpec.cs | dgerding/BrightstarDB | 323 | 7040498 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using BrightstarDB.Server.Modules.Configuration;
using BrightstarDB.Server.Modules.Permissions;
using Moq;
using NUnit.Framework;
using Nancy.Security;
namespace... |
src/CodeWithQB.API/Features/Talks/UpsertTalkCommand.cs | manvekar/CodeWithQB | 16 | 7040501 | <reponame>manvekar/CodeWithQB
using CodeWithQB.Core.Interfaces;
using CodeWithQB.Core.Models;
using FluentValidation;
using MediatR;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace CodeWithQB.Api.Features.Talks
{
public class UpsertTalkCommand
{
public class Validator: Ab... |
kill-em-all-01/Assets/Scripts/MapGenerator.cs | samsimsom/UNITY | 1 | 7040502 | <reponame>samsimsom/UNITY<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.Serialization;
using Random = System.Random;
public class MapGenerator : MonoBehaviour
{
[SerializeField] private Map[] ma... |
HiLaarIsch.BusinessLayer/QueryHandlers/Customers/GetCustomerByIdQueryHandler.cs | QuantumHive/HiLaarIsch | 2 | 7040503 | <reponame>QuantumHive/HiLaarIsch<filename>HiLaarIsch.BusinessLayer/QueryHandlers/Customers/GetCustomerByIdQueryHandler.cs
using HiLaarIsch.Contract.DTOs;
using HiLaarIsch.Contract.Queries;
using HiLaarIsch.Domain;
using QuantumHive.Core;
namespace HiLaarIsch.BusinessLayer.QueryHandlers.Customers
{
public class Ge... |
TsuksAirlines/Program.cs | fabioferro54815/Aulas-C- | 0 | 7040504 | <gh_stars>0
using System;
namespace TsuksAirlines
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Bem vindo a TsuksAirlines!");
bool sair = false;
Passageiro[] passageiros = new Passageiro[2];
int passageirosCadastrados = 0... |
NextGenSoftware.OASIS.API.ONODE.BLL/Holons/MissionData.cs | HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK | 43 | 7040505 | using System.Collections.Generic;
using NextGenSoftware.OASIS.API.Core.Holons;
using NextGenSoftware.OASIS.API.ONODE.BLL.Interfaces;
namespace NextGenSoftware.OASIS.API.ONODE.BLL.Holons
{
public class MissionData : Holon, IMissionData
{
public List<Mission> Missions { get; set; } = new List<Mission>()... |
tools/import/destination/Configuration/TonePoolConfiguration.cs | ckayfish/tno | 0 | 7040506 | namespace TNO.Tools.Import.Destination.Configuration;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TNO.Tools.Import.Destination.Entities;
public class TonePoolConfiguration : IEntityTypeConfiguration<TonePool>
{
public virtual void Configure(EntityTypeBuilder<T... |
Xamarin/NuncaCai/Infra.Data/SQLServer/Context/EntitySQLContext.cs | ruan4f/Infnet-MIT-Mobile | 0 | 7040507 | <gh_stars>0
using DomainModel.Entities;
using Infra.Data.SQLServer.EntityConfig;
using Microsoft.EntityFrameworkCore;
namespace Infra.Data.SQLServer.Context
{
public class EntitySQLContext : DbContext
{
public virtual DbSet<Player> Players { get; set; }
public virtual DbSet<Match> Matches { g... |
MarkopProxy/ProxyServer.cs | MarkopDev/MarkopDNS | 0 | 7040508 | using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using MarkopProxy.Enums;
using MarkopProxy.Exceptions;
using MarkopProxy.Models;
namespa... |
src/SpyderClientLibraryTests/Net/TestUdpServer.cs | dsmithson/SpyderClientLibrary | 1 | 7040509 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using System.Text;
using Vista.SystemManager;
namespace Spyder.Client.Net
{
public class TestUdpCommand
{
public string Command { get; set; }
... |
Tests/TestEntropy.cs | thirstyape/Easy-Password-Validator | 4 | 7040510 | using Easy_Password_Validator.Interfaces;
using Easy_Password_Validator.Models;
using Easy_Password_Validator.Properties;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Easy_Password_Validator.Tests
{
/// <summary>
/// Checks to see whether a password meets the minimu... |
RibbonTools/Build/Target.cs | SammyEnigma/WindowsRibbon | 36 | 7040511 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UIRibbonTools
{
public class Target
{
public string CultureName { get; set; }
public string ResourceFilename { get; set; }
public string RibbonFilename { get; set; }
... |
Tenpower.UI/Code/MenuInfo.cs | eeroom/Tenpower.Board | 1 | 7040512 | <reponame>eeroom/Tenpower.Board
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Tenpower.UI
{
public class MenuInfo
{
public MenuInfo()
{
this.Children = new List<MenuInfo>();
}
public int Id { get; set;... |
RedLine/Crutch/CrutchWordList.cs | scottfavre/RedLine | 0 | 7040513 | using System.Collections.Generic;
using System.Globalization;
namespace RedLine.Crutch
{
public class CrutchWordList
{
public CrutchWordList()
{
}
public CrutchWordList(string name)
{
Name = name;
Crutches = new HashSet<string>();
}
... |
StarWRPG/StarWRPG/Models/CharacterMembers/Skills/VigilianceSkill.cs | Fmccline/SW-Character-Sheet-App | 2 | 7040514 | using System;
namespace StarWRPG.Models
{
public class VigilanceSkill : Skill
{
public VigilanceSkill(Characteristic c) : base(c, "Vigilance")
{
SkillUses.Add("In combat situations where the character is unprepared for a fight, use Vigilance to determine initiative.");
SkillUs... |
Akka.Hive/Instructions/InstructionStore.cs | Krockema/Akka.Hive | 6 | 7040515 | using System;
using System.Collections.Generic;
using Akka.Hive.Interfaces;
namespace Akka.Hive.Instructions
{
/// <summary>
/// ... that saves the message that shall be process within the current virtual time
/// </summary>
public class InstructionStore : ICurrentInstructions
{
private re... |
src/SFA.DAS.AssessorService.EpaoImporter/Sftp/IFileTransferClient.cs | codescene-org/das-assessor-service | 0 | 7040516 | using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace SFA.DAS.AssessorService.EpaoImporter.Sftp
{
public interface IFileTransferClient
{
void Send(MemoryStream memoryStream, string fileName);
Task LogUploadDirectory();
Task<List<string>> GetListOfDo... |
Block4/Exercise04/DoubleLinkedListNode.cs | CaptainMich/CSharp_Project | 0 | 7040517 | using System;
namespace Exercise04
{
public class DoubleLinkedListNode<T>
{
private T value;
public T Value
{
get
{
return value;
}
set
{
this.value = value;
}
}
pri... |
OpenKh.Engine/Parsers/Model.cs | Drakal/OpenKh | 0 | 7040518 | using System.Runtime.InteropServices;
namespace OpenKh.Engine.Parsers
{
[StructLayout(LayoutKind.Sequential)]
public struct PositionColoredTextured
{
public float X, Y, Z;
public float U, V;
public int Color;
}
}
|
source/LiteDB/Upgrade/Upgrade.cs | Deer-Spangle/DreadBot | 4 | 7040520 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace LiteDB
{
public partial class LiteEngine
{
/// <summary>
/// Upgrade datafile from v6 to new v7 format used in LiteDB 3
/// </summary>
public static bool Upgrade(str... |
Structures/DisplayDeviceStateFlags.cs | trympet/wpf-window-extensions | 0 | 7040521 | // <copyright file="DisplayDeviceStateFlags.cs" company="Flogard Services">
// The MIT License (MIT)
//
// Copyright (c) 2020 <NAME> and contributors
//
// 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... |
Assets/Daikon Forge/DFGUI/Scripts/dfTabstrip.cs | takemurakimio/missing-part-1 | 1 | 7040522 | /* Copyright 2013 <NAME> */
using UnityEngine;
using System;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Used in conjunction with the <see cref="dfTabContainer"/> class to implement
/// tabbed containers. This control maintains the tabs th... |
Dnn.AdminExperience/Library/Dnn.PersonaBar.Library/Model/PersonaBarExtension.cs | Mariusz11711/DNN | 0 | 7040523 | // 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
namespace Dnn.PersonaBar.Library.Model
{
using System;
using System.Data;
using System.Runtime.Serializa... |
src/Vortice.Direct3D12/RenderPassRenderTargetDescription.cs | Ethereal77/Vortice.Windows | 1 | 7040524 | // Copyright (c) <NAME> and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
namespace Vortice.Direct3D12
{
/// <summary>
/// Describes bindings (fixed for the duration of the render pass) to one or more render target views (RTVs), as well as th... |
FMDL-Studio-v2/Assets/Fmdl Studio/Scripts/Static/ExtensionMethods.cs | BobDoleOwndU/FMDL-Studio-v2 | 35 | 7040525 | using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace FmdlStudio.Scripts.Static
{
public static class ExtensionMethods
{
//BinaryWriter
public static void WriteZeroes(this BinaryWriter writer, int numZeroes)
{
byte[] bytes = new byte[numZeroes];
... |
Assets/UIWidgets/Runtime/ui/renderer/compositeCanvas/flow/backdrop_filter_layer.cs | danyow/unity_flutter | 0 | 7040526 | using Unity.UIWidgets.foundation;
using Unity.UIWidgets.ui;
namespace Unity.UIWidgets.flow {
public class BackdropFilterLayer : ContainerLayer {
ImageFilter _filter;
public ImageFilter filter {
set { this._filter = value; }
}
public override void paint(PaintContext con... |
Code/MISDCode/MISD.Client.Notification/Notify.cs | sebastianzillessen/MISD-OWL | 1 | 7040527 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace MISD.Client.Notification
{
public class Notify
{
private GrowlNotifiactions growlNotifications;... |
BettingApp.Data.Common/Season.cs | bMedarski/BettingWebApp | 0 | 7040528 | namespace BettingApp.Data.Common
{
using System;
using System.Collections.Generic;
public class Season:BaseModel<int>
{
public Season()
{
this.Competitors = new HashSet<Competitor>();
}
public string Name { get; set; }
public virtual ICollection<Competitor> Competitors { get; set; }
public DateTime... |
src/Modules/Laser.Orchard.MultiStepAuthentication/Controllers/NonceLoginApiController.cs | INVA-Spa/Laser.Orchard.Platform | 8 | 7040529 | <filename>src/Modules/Laser.Orchard.MultiStepAuthentication/Controllers/NonceLoginApiController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using Laser.Orchard.StartupConfig.WebApiProtection.Filters;
using Newtonsoft.Json.Linq;
using Laser.Orchard.Star... |
src/Internal/Controls/ESRI.ArcGIS.Mapping.Controls/Commands/Not Public/SignInToAGSOLCommand.cs | Esri/arcgis-viewer-silverlight | 7 | 7040530 | <filename>src/Internal/Controls/ESRI.ArcGIS.Mapping.Controls/Commands/Not Public/SignInToAGSOLCommand.cs
/*
(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.
*/
using System;
using System.Linq;
us... |
Ramda.NET.Tests/ShallowCloner.cs | sagifogel/Ramda.NET | 25 | 7040531 | <filename>Ramda.NET.Tests/ShallowCloner.cs<gh_stars>10-100
using System.Dynamic;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ramda.NET.Tests
{
[TestClass]
public class ShallowClonerTest
{
class Test
{
public int X { get; set; ... |
DotNet/DotNet/UE4/Generated/UMG/VerticalBox.cs | UE4DotNet/Plugin | 2 | 7040533 | <reponame>UE4DotNet/Plugin
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#... |
sdk/dotnet/Azure/Integration.cs | pulumi/pulumi-signalfx | 2 | 7040534 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
Runtime/Composites/RandomSelector.cs | FelipeIshimine/com.Ishimine.BehaviourTreeSystem | 0 | 7040535 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
namespace TheKiwiCoder {
public class RandomSelector : CompositeNode {
protected int Current;
public override string NodeDescription => "Randomly selects one child to execute and returns it r... |
Source/Server/Business/WebDAV/Definition/MetaDataPlusAbsolutePath.cs | InstantBusinessNetwork/IBN | 21 | 7040536 | using System;
using System.Collections.Generic;
using System.Text;
namespace Mediachase.IBN.Business.WebDAV.Definition
{
/// <summary>
/// Дополнительная информация о файле, предназначенная для вставки
/// </summary>
internal class MetaDataPlusAbsolutePath : WebDavAbsolutePath
{
string _... |
Battleship/Battleship/Dtos/AttackPointDto.cs | karm435/BoardExcercise | 0 | 7040537 | <gh_stars>0
namespace Battleship.Dtos
{
public class AttackPointDto
{
public int Row { get; set; }
public int Column { get; set; }
}
} |
Assets/NebusokuDev/Smith/Runtime/Dependency/ObjectPool/Default/AudioSourceDeactivator.cs | SummitRidgeEdu/ShooterWeaponSystemForUnity | 10 | 7040538 | <gh_stars>1-10
using NebusokuDev.Smith.Runtime.Extension;
using UnityEngine;
namespace NebusokuDev.Smith.Runtime.Dependency.ObjectPool.Default
{
public class AudioSourceDeactivator : MonoBehaviour
{
private AudioSource _src;
private void Awake() => _src = GetComponent<AudioSource>();
... |
src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/AFinDate/AFinDate_04RuleTests.cs | SkillsFundingAgency/DC-ILR-1819-ValidationService | 2 | 7040539 | using System;
using System.Collections.Generic;
using System.Linq;
using ESFA.DC.ILR.Tests.Model;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.AFinDate;
using ESFA.DC.ILR.ValidationService.Rules.Query.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Test... |
LibNurirobotBase/Interface/IReciveProcess.cs | COAIMO/NurirobotSupporterSolution | 0 | 7040540 | using System;
using System.Collections.Generic;
using System.Text;
namespace LibNurirobotBase.Interface
{
/// <summary>
/// 시리얼 데이터 프로세스
/// </summary>
public interface IReciveProcess : IDisposable
{
/// <summary>
/// 수신데이터 작업 큐 등록
/// </summary>
/// <param name="arg... |
01_ProgrammingFundamentals/Homeworks/11_Exam Preparation_01/01_Sino The Walker/Program.cs | akkirilov/ProgrammingFundamentalsHomeworks | 0 | 7040541 | <gh_stars>0
using System;
using System.Globalization;
namespace _01_Sino_The_Walker
{
class Program
{
static void Main(string[] args)
{
string timeFormat = @"HH:mm:ss";
DateTime time = DateTime.ParseExact(Console.ReadLine(), timeFormat, CultureInfo.InvariantCulture);
... |
DynamicMVC.ApplicationMetadataLibrary/Strategies/SimpleTypeParsers/SimpleTypeUInt16NullableParser.cs | cornelha/DynamicMVC | 17 | 7040542 | <reponame>cornelha/DynamicMVC
using System;
using DynamicMVC.ApplicationMetadataLibrary.Interfaces;
using DynamicMVC.Shared.Enums;
using DynamicMVC.Shared.Interfaces;
using ReflectionLibrary.Enums;
namespace DynamicMVC.ApplicationMetadataLibrary.Strategies.SimpleTypeParsers
{
/// <summary>
/// Simple Type Pars... |
src/ImportExport/generated/api/Models/Api20161101/UpdateJobParametersProperties.cs | mbentancour/azure-powershell | 3,336 | 7040543 | <gh_stars>1000+
namespace Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.Api20161101
{
using static Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Runtime.Extensions;
/// <summary>Specifies the properties of a UpdateJob.</summary>
public partial class UpdateJobParametersProperties :
... |
src/csharp/Intel/Generator/Enums/VectorLength.cs | clayne/iced | 1,018 | 7040544 | // SPDX-License-Identifier: MIT
// Copyright (C) 2018-present iced project and contributors
namespace Generator.Enums {
[Enum("VectorLength")]
enum VectorLength : byte {
L128 = 0,
L256 = 1,
L512 = 2,
Unknown = 3,
}
}
|
MyGenshin/Client/Assets/Scripts/Game/Entities/Character.cs | mkitto/MyGenshinDemo | 1 | 7040545 | <filename>MyGenshin/Client/Assets/Scripts/Game/Entities/Character.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Managers;
using SkillBridge.Message;
using UnityEngine;
namespace Entities
{
public class Character : Entity
{
public NCharacterI... |
src/SkiaRenderServerCore/Render/ElementContainerBase.cs | opq-osc/SkiaRenderServer | 2 | 7040546 | <filename>src/SkiaRenderServerCore/Render/ElementContainerBase.cs
using SkiaRenderServerCore.Struct;
using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SkiaRenderServerCore.Render
{
public class ElementContainerBase : Elem... |
sdk/dotnet/Inputs/CseMatchRuleSeverityMappingGetArgs.cs | pulumi/pulumi-sumologic | 1 | 7040547 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
src/Dotc.MQExplorerPlus/Views/DumpCreationSettingsView.xaml.cs | bgiot/mqexplorerplus | 6 | 7040548 | #region copyright
//
// Copyright (c) DOT Consulting scrl. All rights reserved.
// Licensed under the provided EULA. See EULA file in the solution root for full license information.
//
#endregion
using Dotc.MQExplorerPlus.Core.Views;
using System.Windows.Controls;
namespace Dotc.MQExplorerPlus.Views
{
/// <... |
SWP391/Areas/Identity/Pages/Account/Register.cshtml.cs | dtd91/online_learning_SWP391 | 0 | 7040549 | <reponame>dtd91/online_learning_SWP391<filename>SWP391/Areas/Identity/Pages/Account/Register.cshtml.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNet... |
Assets/ProceduralWorlds/Editor/GraphEditor/Nodes/Graph/NodeWorldGraphOutputEditor.cs | alelievr/Procedural-Worlds-Editor | 249 | 7040551 | <reponame>alelievr/Procedural-Worlds-Editor
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using ProceduralWorlds.Core;
using ProceduralWorlds.Node;
namespace ProceduralWorlds.Editor
{
[CustomEditor(typeof(NodeWorldGraphOutput))]
public class NodeWorldGraphOutputEd... |
AuthoringTools/EmotionalAppraisalWF/AddOrEditGoalForm.Designer.cs | raisthewolf/FAtiMA-Toolkit-OCEAN-Personality | 0 | 7040552 | namespace EmotionalAppraisalWF
{
partial class AddOrEditGoalForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
Code/Runtime/System/Span.cs | oleghcp/UnityUtility | 0 | 7040553 | <gh_stars>0
////////////////////////////////////////////////////////////
// Analogue of real System.Span`1 from .net core library. //
////////////////////////////////////////////////////////////
#if UNITY_2018_3_OR_NEWER && !UNITY_2021_2_OR_NEWER
using System.ComponentModel;
using System.Runtime.CompilerServices;
usin... |
Xamarin/MvvmSeed/MvvmSeed/MvvmSeed.Domain/Model/Migrations/LocalStorageContextModelSnapshot.cs | makingsensetraining/mobile-pocs | 0 | 7040554 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace MvvmSeed.Domain.Model.Migrations
{
[DbContext(typeof(LocalStorageContext))]
partial class LocalStorageContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.