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 |
|---|---|---|---|---|
Common/VariableBool.cs | SinsofSloth/RF5-global-metadata | 1 | 7057339 | [Serializable]
public class VariableBool : Variable<bool> // TypeDefIndex: 10650
{
// Methods
// RVA: 0x1FC53F0 Offset: 0x1FC54F1 VA: 0x1FC53F0
public void .ctor(bool value) { }
// RVA: 0x1FC5460 Offset: 0x1FC5561 VA: 0x1FC5460 Slot: 4
public override bool GetBool() { }
}
|
UsersInformerModule/TelegramChannelInformer.cs | evilnw/TtWT | 0 | 7057340 | using System.Timers;
using System.Collections.Generic;
using System.Net.Http;
namespace TtWT
{
// Если в очереди есть турниры, которые сейчас начнутся и надо уведомить, то каждые n секунд будет вызываться метод informUserProcess().
// При каждом вызове мы получаем турнир из очереди о старте которого должны со... |
Unidad2/Unidad2/Form1.cs | JoseLuisPucChan/PracticasMoreno | 0 | 7057341 | <filename>Unidad2/Unidad2/Form1.cs
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;
namespace Unidad2
{
public partial class Form1 : Form
{
... |
backend/API/Extensions/IdentityServiceExtensions.cs | tam-ng0905/pdm-assignment | 0 | 7057342 | <gh_stars>0
using System.Text;
using API.Services;
using Domain;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Identity;
using Microsoft.IdentityModel.Tokens;
using Persistence;
//This is the extension used to set up and create JWT token
namespace API.Extensions;
public static class ... |
Editor/Misc/CSharpExtension.cs | Mikilo/NG-Unity-Versioner | 20 | 7057343 | <gh_stars>10-100
using System;
using System.IO;
namespace NGUnityVersioner
{
public static class CSharpExtension
{
public static void WriteInt24(this BinaryWriter writer, int value)
{
writer.Write((Byte)(value & 0xFF));
writer.Write((Byte)((value >> 8) & 0xFF));
writer.Write((Byte)((value >> 16) & 0xFF... |
Assets/Scripts/Pause.cs | Xwilarg/Metropolitain | 0 | 7057344 | using UnityEngine;
public class Pause : MonoBehaviour
{
public void TogglePause()
{
Time.timeScale = Time.timeScale == 1 ? 0 : 1;
}
}
|
src/FluiTec.AppFx.IdentityServer.LiteDb/Repositories/LiteDbIdentityResourceRepository.cs | FluiTec/FluiTec.AppFx.IdentityServer | 0 | 7057345 | using System.Collections.Generic;
using System.Linq;
using FluiTec.AppFx.Data;
using FluiTec.AppFx.Data.LiteDb;
using FluiTec.AppFx.IdentityServer.Compound;
using FluiTec.AppFx.IdentityServer.Entities;
using FluiTec.AppFx.IdentityServer.Repositories;
namespace FluiTec.AppFx.IdentityServer.LiteDb.Repositories
{
//... |
SQLiteOnWin8.1Preview/SQLiteOnWin8.1Preview/MainPage.xaml.cs | bartlannoeye-com/2013-08-SQLiteOnWindows8.1 | 0 | 7057346 | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using SQLiteWinRT;
namespace SQLiteOnWin8._1Preview
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summar... |
DevGeekWeek2016Demos/TPL/TDFKinectGreenScreen/Model/TDFDatablocks/GestureRecognizer.cs | alonf/DevGeekWeek2016 | 0 | 7057347 | using System;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Microsoft.Kinect;
using Microsoft.Samples.Kinect.SwipeGestureRecognizer;
namespace TDFKinectGreenScreen.Model.TDFDatablocks
{
internal class GestureRecognizer : IPropagatorBlock<SkeletonFrame, BackgroundImageCommand>
{
... |
src/WhoToFollowApp/WhoToFollowControl.Designer.cs | matarillo/WhoToFollow.WinForms | 0 | 7057348 | namespace WhoToFollowApp
{
partial class WhoToFollowControl
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <p... |
AnagramsAndPrimeNumbers.Performance/Program.cs | joycestick/AnagramsAndPrimeNumbers | 1 | 7057349 | using AnagramsAndPrimeNumbers;
using AnagramsAndPrimeNumbers.Performance;
using BenchmarkDotNet.Running;
using System;
BenchmarkRunner.Run<AreAnagrams>();
//for (var i = 0; i < 1000; i++)
//{
// AnagramComparisons.GetAnagramNumberOptimizedNoArrayNoMaxCountUsingSwitchLetterDistribution(
// "pneumonoultramicroscopics... |
e20210511_ShootGame/Elsa20200001/Elsa20200001/Tests/GameCommons/DDRandomTest.cs | soleil-taruto/Elsa2 | 0 | 7057350 | <reponame>soleil-taruto/Elsa2<filename>e20210511_ShootGame/Elsa20200001/Elsa20200001/Tests/GameCommons/DDRandomTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Charlotte.GameCommons;
namespace Charlotte.Tests.GameCommons
{
public class DDRandomTest
... |
LinqFasterer/Contains.cs | Zaczero/LinqFaster | 17 | 7057351 | using System;
using System.Collections.Generic;
namespace LinqFasterer
{
public static partial class EnumerableF
{
/// <summary>
/// Determines whether a sequence contains a specified element by using a specified equality comparer.
/// </summary>
/// <param name="source">An <se... |
GlukServerService/database/Database.cs | meraon/glucoseRepository | 0 | 7057352 | using MySql.Data.MySqlClient;
using NLog;
using System;
using System.Collections.Generic;
using System.IO;
using GlukLibrary;
using GlukLibrary.DbQuery;
namespace GlukServerService
{
public class Database : DataSource
{
private static readonly Logger LOG = NLog.LogManager.GetCurrentClassLogger();
... |
GraphQL/Platforms/PlatformType.cs | binarythistle/cliapi | 2 | 7057353 | <reponame>binarythistle/cliapi
using System.Linq;
using Cliapi.Data;
using Cliapi.Models;
using HotChocolate;
using HotChocolate.Types;
namespace Cliapi.GraphQL.Platforms
{
public class PlatformType : ObjectType<Platform>
{
protected override void Configure(IObjectTypeDescriptor<Platform> descriptor)
... |
DFC.App.Banners.Data.UnitTests/ValidationTests/ContentItemModelValidationTests.cs | SkillsFundingAgency/dfc-app-banners | 0 | 7057355 | <reponame>SkillsFundingAgency/dfc-app-banners
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using DFC.App.Banners.Data.Models.ContentModels;
using Xunit;
namespace DFC.App.Banners.Data.UnitTests.ValidationTests
{
[Trait(... |
src/KafkaFlow.Abstractions/Consumers/XXXConsumeResult.cs | smuki/kafka-flow | 0 | 7057356 | using System;
using System.Collections.Generic;
using System.Text;
namespace KafkaFlow.Consumers
{
/// <summary>
/// Represents a message consumed from a Kafka cluster.
/// </summary>
public class XXXConsumeResult<TKey, TValue>
{
/// <summary>
/// The topic associated with ... |
PlatformService/Data/CosmosDB/CosmosDBContainerFactory.cs | sbormolini/Astraeus | 0 | 7057357 | <gh_stars>0
using Microsoft.Azure.Cosmos;
namespace PlatformService.Data.CosmosDB;
public class CosmosDBContainerFactory : ICosmosDBContainerFactory
{
/// <summary>
/// Azure Cosmos DB Client
/// </summary>
private readonly CosmosClient _cosmosClient;
private readonly string _databaseName;
... |
Assets/ApertureButton.cs | JiokKae/Portal-imitation | 0 | 7057358 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public delegate void DelegateFunc();
public class ApertureButton : MonoBehaviour
{
public BoxCollider boxCollider;
public GameObject BottonTop;
public float destHeight = 0.2315f;
public Te... |
Bridge/System/Attributes/DataContractAttribute.cs | Danielku15/Bridge | 1 | 7057359 | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.Runtime.Serialization
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.En... |
src/lib/iTin.Utilities/iTin.Utilities.Xlsx/iTin.Utilities.Xlsx.Writer/OfficeOpen/Shared/OfficeOpenXmlHelper.cs | iAJTin/iXlsxWriter | 1 | 7057360 | <reponame>iAJTin/iXlsxWriter
namespace OfficeOpenXml
{
/// <summary>
/// Static class than contains helper methods.
/// </summary>
internal static class OfficeOpenXmlHelper
{
/// <summary>
/// The percentage precision is measured in 1000th of a percent (1/1000%)
/// </summa... |
0_frameworks/Framework.Core/Common/Contracts/ICurrentUserInfo.cs | RezaPouya/ModularMonolithApp | 1 | 7057362 | <gh_stars>1-10
using Framework.Core.Markers;
namespace Framework.Core.Common.Contracts
{
public interface ICurrentUserInfo : IScopedDependency
{
public string GetUserId();
public string GetUserIp();
public string GetUserDevice();
}
} |
MsgPack/Serialization/Metadata/_IEnumreator.cs | tdev/msgpackInspector | 677 | 7057363 | <gh_stars>100-1000
#region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2017 FUJIWARA, Yusuke
//
// 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
//
// ... |
MileageTracker.Test/Unit/Helpers/FakeDbSet.cs | nvdvlies/MileageTracker.AspNetWebApi | 0 | 7057364 | <reponame>nvdvlies/MileageTracker.AspNetWebApi<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
namespace MileageTracker.Test.Unit.Helpers {
public class F... |
RaNetCore/RaNetCore.Web/StartupConfig/ThirdParties/ThirdPartiesSetUp.cs | ValentinnDimitroff/react-admin.net-core-boilerplate | 1 | 7057365 | using Microsoft.Extensions.DependencyInjection;
namespace RaNetCore.Web.StartupConfig.ThirdParties
{
public static class ThirdPartiesSetUp
{
public static IServiceCollection SetUpThirdParties(this IServiceCollection services)
{
services.AddAutoMapper(cfg => { cfg.AllowNullCollectio... |
src/Core/Anno.Rpc.Client/ConnectionPoolConfiguration.cs | microserviceframe/Anno.Core | 306 | 7057366 | using System;
using System.Collections.Generic;
using System.Text;
namespace Anno.Rpc.Client
{
/// <summary>
/// 连接池 调优配置
/// </summary>
public class ConnectionPoolConfiguration
{
/// <summary>
/// 最大活动数量 默认500
/// </summary>
public int MaxActive { get; set; } = 500... |
src/Serilog.Sinks.HttpLogstashEcsSink/ElasticCommonSchema/LogModel.cs | ehsan-maleki/serilig-logstash-ecs-sink | 0 | 7057367 | <reponame>ehsan-maleki/serilig-logstash-ecs-sink<gh_stars>0
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Serilog.ElasticCommonSchema
{
[DataContract]
public class LogModel
{
/// <summary>
/// Original log level of the log event.
/// Some examples ar... |
Texxtoor/Solution/Texxtoor.Portal/Areas/AuthorPortal/Views/Resource/Termset/_List.cshtml | joergkrause/texxtoor | 0 | 7057368 | <filename>Texxtoor/Solution/Texxtoor.Portal/Areas/AuthorPortal/Views/Resource/Termset/_List.cshtml<gh_stars>0
@using Texxtoor.BaseLibrary.Core.Utilities.Pagination
@model IPagedList<Texxtoor.DataModels.Models.Author.TermSet>
@if ((bool)ViewBag.IsGlobal) {
@Html.Partial("_Pagination", PaginationViewModel<Texxtoor.Dat... |
Assets/Scripts/TestObject.cs | subalterngames/json_wrapper | 0 | 7057369 | <filename>Assets/Scripts/TestObject.cs<gh_stars>0
namespace SubalternGames.Json
{
public class TestObject
{
public string name;
public int hp;
public TestObject(string name, int hp)
{
this.name = name;
this.hp = hp;
}
}
} |
Editor/BuildSettingsPresetEditor.cs | Telroshan/Unity-build-settings-presets | 12 | 7057370 | <filename>Editor/BuildSettingsPresetEditor.cs<gh_stars>10-100
using UnityEditor;
using UnityEngine;
namespace TelroshanTools.BuildSettingsPresets.Editor
{
[CustomEditor(typeof(BuildSettingsPreset))]
public class BuildSettingsPresetEditor : UnityEditor.Editor
{
public override void OnInspectorGUI()... |
csharp-advanced/12.ClassesExercise/E08.CarSalesman/CarUtils.cs | vassdeniss/software-university-courses | 7 | 7057371 | using System;
using System.Collections.Generic;
using System.Text;
namespace DefiningClasses
{
public static class CarUtils
{
private static List<Car> cars = new List<Car>();
public static void AddCar(Car car)
{
cars.Add(car);
}
public static void PrintCar... |
Carbon.Email/SendGridClient.cs | acaxlabs/Carbon | 0 | 7057372 | <reponame>acaxlabs/Carbon<filename>Carbon.Email/SendGridClient.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
namespace Carbon.Email
{
public class SendGridClie... |
Assets/Scripts/Framework/AFun.cs | minuowa/SLuaFramework | 0 | 7057373 | using System.Collections;
using System;
using System.Text;
using System.Collections.Generic;
using System.Diagnostics;
public class AFun
{
internal class Watcher
{
public string tag;
public DateTime time;
public override string ToString()
{
TimeSpan t = DateTime.Now... |
Text Processing - Exercise/05. Multiply Big Number/Program.cs | drapperr/C-Fundamentals | 1 | 7057374 | using System;
namespace _05._Multiply_Big_Number
{
class Program
{
static void Main(string[] args)
{
string bigNumber = Console.ReadLine();
int number = int.Parse(Console.ReadLine());
string reversedResult = string.Empty;
int residue = 0;
... |
test-managment/Data/Migrations/20200615215244_changedTestHistoriesToTestRequests.cs | James-Havinga99/Covid_Test_Managment | 1 | 7057375 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace test_managment.Data.Migrations
{
public partial class changedTestHistoriesToTestRequests : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
... |
src/app/Yaml.cs | zhumingwu/SCRM | 1 | 7057376 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
using DotLiquid;... |
EnTier/Reflection/DynamicList.cs | Acidmanic/EnTier | 0 | 7057377 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Reflection;
namespace EnTier.Reflection
{
public class DynamicList
{
public DynamicList(Type type )
{
var listGenericType = typeof (List<>);
Type = listGenericType.MakeGenericType(type);
... |
TemplatePack/ProjectTemplates/Extensibility/AspNetScaffolding/Basic/CustomScaffolder/CustomCodeGenerator.cs | marquish/side-waffle | 433 | 7057378 | using CustomScaffolder.UI;
using Microsoft.AspNet.Scaffolding;
using System.Collections.Generic;
namespace CustomScaffolder
{
public class CustomCodeGenerator : CodeGenerator
{
CustomViewModel _viewModel;
/// <summary>
/// Constructor for the custom code generator
/// </summar... |
Chap03_Stub/LogAn.UnitTests/LogAnalyzerTests.cs | artem-galas/ArtOfUnitTesting | 1 | 7057379 | <filename>Chap03_Stub/LogAn.UnitTests/LogAnalyzerTests.cs
using NUnit.Framework;
using Chap03.LogAn;
namespace Chap03.Tests
{
public class LogAnalyzerTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void IsValidFileName_NameSupportedExtension_ReturnsTrue()... |
nuget/nuget.test/TestValidation.cs | gehtsoft-usa/Gehtsoft.MSBuildTasks.Public | 0 | 7057380 | <reponame>gehtsoft-usa/Gehtsoft.MSBuildTasks.Public
using System;
using System.IO;
using System.Xml.Schema;
using FluentAssertions;
using NUnit.Framework;
namespace Gehtsoft.Build.Nuget.Test
{
[TestFixture]
public class TestValidation
{
[Test]
public void LoadSchema()
... |
FutebolAPP.Azure/Controllers/ClassificacaoController.cs | nsimao/futebolApp | 0 | 7057381 | using FutebolAPP.Azure.Models;
using Microsoft.Azure.Mobile.Server.Config;
using Newtonsoft.Json;
using System.Web.Http;
namespace FutebolAPP.Azure.Controllers
{
[MobileAppController]
public class ClassificacaoController : ApiController
{
// GET api/classificacao
public IHttpActionResult G... |
src/TArduino 1.8.13/TArduino.cs | fikret0/TArduino | 0 | 7057382 | <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 System.Media;
using System.Diagnostics;
using System.IO;
using System.Threading;
using ... |
TournamentBracket/Controllers/RoundController.cs | QuinntyneBrown/tournament-bracket | 0 | 7057383 | <reponame>QuinntyneBrown/tournament-bracket
using TournamentBracket.Dtos;
using TournamentBracket.Services;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Description;
namespace TournamentBracket.Controllers
{
[Authorize]
[RoutePrefix("api/round")]
public class RoundControll... |
CommonMathLibrary/GridPointCurves/MonotonicPreservingCubicSplines/BoundaryConditions/HaganWestBoundaryConditions.cs | dodoni/dodoni.net | 5 | 7057384 | <filename>CommonMathLibrary/GridPointCurves/MonotonicPreservingCubicSplines/BoundaryConditions/HaganWestBoundaryConditions.cs
/* MIT License
Copyright (c) 2011-2019 <NAME> (http://www.dodoni-project.net)
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softwar... |
UW.ClassroomPresenter/Model/Network/PublicModel.cs | Nishant163/CP3 | 16 | 7057385 | // $Id: PublicModel.cs 1043 2006-07-19 22:48:12Z julenka $
using System;
namespace UW.ClassroomPresenter.Model.Network {
[Serializable]
public class PublicModel : RoleModel {
public PublicModel(Guid id) : base(id) {
}
}
}
|
SmilePhone/Validations/TextFieldsViewModel.cs | Bac3Phi/SmilePhone | 1 | 7057386 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace SmilePhone.Validations
{
public class TextFieldsViewModel : INotifyPropertyChanged
{
private String[] _bindingValidate;
public TextFieldsViewModel()
{
}
public Str... |
PizzaBoxSolution/PizzaBoxClient/obj/Debug/netcoreapp2.2/Razor/Views/Home/ViewRestaurantData_Inventory.g.cshtml.cs | 1905-may06-dotnet/Coombs_Daniel_Project1 | 0 | 7057387 | <reponame>1905-may06-dotnet/Coombs_Daniel_Project1
#pragma checksum "C:\Revature\Project1\Coombs_Daniel_Project1\PizzaBoxSolution\PizzaBoxClient\Views\Home\ViewRestaurantData_Inventory.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "57c64c213e8d20415592eac1acf4d5dfd98ba62f"
// <auto-generated/>
#pragma warning disabl... |
aliyun-net-sdk-dybaseapi/Dybaseapi/MNS/MNSClient.cs | awei1688/aliyun-openapi-net-sdk | 572 | 7057388 | /*
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*/
using System;
using Aliyun.Acs.Dybaseapi.MNS.Internal;
using Aliyun.Acs.Dybaseapi.MNS.Model;
using Aliyun.Acs.Dybaseapi.MNS.Model.Internal.MarshallTransformations;
using Aliyun.Acs.Dybaseapi.MNS.Runtime;
using Aliyun.Acs.Dybaseapi.MNS.Runtime.Int... |
src/MarketingBox.AffiliateApi/Models/OfferAffiliates/OfferAffiliateModel.cs | MyJetMarketingBox/MarketingBox.AffiliateApi | 0 | 7057389 | <filename>src/MarketingBox.AffiliateApi/Models/OfferAffiliates/OfferAffiliateModel.cs
namespace MarketingBox.AffiliateApi.Models.OfferAffiliates
{
public class OfferAffiliateModel
{
public long Id { get; set; }
public long AffiliateId { get; set; }
public long OfferId { get; set; }
}... |
test/EfCore.Extensions.Tests/RepositoryCollectionExtensionsTests.cs | nyjin/EfCore.Extenions | 0 | 7057390 | using EfCore.Extensions.Data;
using EfCore.Extensions.Models;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Xunit;
namespace EfCore.Extensions.Tests
{
public class RepositoryCol... |
Tests/TreeWalk/EmptyTreeIteratorTest.cs | stephensong/GitSharp | 1 | 7057391 | <reponame>stephensong/GitSharp<gh_stars>1-10
/*
* Copyright (C) 2008, Google 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 re... |
CSharp/EOSCSharpSample_9/EOSCSharpSample/EOSCSharpSample/ViewModels/MainViewModel.cs | LaudateCorpus1/EOS-Getting-Started | 19 | 7057392 | <gh_stars>10-100
// Copyright Epic Games, Inc. All Rights Reserved.
using EOSCSharpSample.Commands;
using EOSCSharpSample.Helpers;
namespace EOSCSharpSample.ViewModels
{
public class MainViewModel : BindableBase
{
private string _statusBarText;
public string StatusBarText
{
... |
ghost_simulator/Assets/Scripts/PlayerSystem/DisablePhysicOnGroundHit.cs | forsakemenot/ghost_simulator | 0 | 7057393 | using System;
using UnityEngine;
namespace PlayerSystem
{
public class DisablePhysicOnGroundHit: MonoBehaviour
{
private Rigidbody _rigidbody;
private void OnEnable()
{
_rigidbody = GetComponent<Rigidbody>();
}
private void FixedUpdate()
{
... |
Layley.OAuth/Utilities/OAuthHttpClient.cs | lukecusolito/Layley.OAuth | 0 | 7057394 | using System.Net.Http;
namespace Layley.OAuth.Utilities
{
public class OAuthHttpClient : HttpClient
{
public OAuthHttpClient(Consumer consumer) : base(new OAuthMessageHandler(consumer)) { }
}
}
|
AoC/y2018/Day11.cs | crazyp123/AdventOfCode | 0 | 7057395 | <reponame>crazyp123/AdventOfCode<filename>AoC/y2018/Day11.cs
using System;
using System.Threading.Tasks;
namespace AoC.y2018
{
public class Day11
{
protected internal int[,] Grid;
protected internal int gridWidth;
protected internal int gridHeight;
private int serial = 8868;
... |
CSharp-Part-1/01.Introduction-to-Programming/12. Dev Environments/12.ListIDE.cs | zachdimitrov/Homework | 0 | 7057396 | <reponame>zachdimitrov/Homework<filename>CSharp-Part-1/01.Introduction-to-Programming/12. Dev Environments/12.ListIDE.cs<gh_stars>0
using System;
class ListIDE
{
static void Main()
{
string line = System.IO.File.ReadAllText(@"C:\Users\Zahari\Dropbox\Project\Homework\CSharp-Part-1\01.Introduction-to-Pr... |
Services/Products/Products.services/Services/Concrete/CategoryManager.cs | burakhalefoglu/ASP.Net5.0_MicroserviceArchitecture.E-commerce | 0 | 7057397 | using AutoMapper;
using MongoDB.Driver;
using Products.services.Models;
using Products.services.Models.DTOs;
using Products.services.Services.Abstract;
using Products.services.Settings;
using Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Products.se... |
DALHelperNet/GlobalEnums.cs | jdaugherty-bdl/DALHelperNet | 2 | 7057398 | <reponame>jdaugherty-bdl/DALHelperNet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DALHelperNet
{
public enum TriggerTypes
{
BeforeInsert,
AfterInsert,
BeforeUpdate,
AfterUpdate,
BeforeDele... |
Assets/FCAudioTools/Demo/LoopMusic/AnimationClipEventReceive.cs | zzhhdaaa/Koro | 0 | 7057399 | <filename>Assets/FCAudioTools/Demo/LoopMusic/AnimationClipEventReceive.cs
#if (UNITY_5_3 || UNITY_5_4 || UNITY_5_5)
#define ENABLE_MANUALTIME
#endif
// animator playable draft documents in 5.6
// https://forum.unity3d.com/threads/animationclipplayable.451854/
using UnityEngine;
using System;
using System.Collection... |
Boolli/Exceptions/InvalidLexemException.cs | FrancescoBonizzi/Boolli | 5 | 7057400 | using System;
namespace Boolli.Exceptions
{
internal class InvalidLexemException : Exception
{
public char Symbol { get; }
public string InputString { get; }
public int Position { get; }
internal InvalidLexemException(char symbol, string inputString, int position)
... |
CSharpPartTwo/UsingClassesAndObjects/4.CalcSurfaceTriangle/CalcSurfaceTriangle.cs | madbadPi/TelerikAcademy | 0 | 7057401 | <reponame>madbadPi/TelerikAcademy
using System;
class CalcSurfaceTriangle
{
private static double GetAreaWithTwoSidesAndAngle(int a, int b, int c)
{
return (a * b * Math.Sin(c * Math.PI / 180)) / 2;
}
private static double GetAreaWithThreeSides(int a, int b, int c)
{
int semiP... |
System/Globalization/EraInfo.cs | SinsofSloth/RF5-global-metadata | 1 | 7057402 | [Serializable]
internal class EraInfo // TypeDefIndex: 717
{
// Fields
internal int era; // 0x10
internal long ticks; // 0x18
internal int yearOffset; // 0x20
internal int minEraYear; // 0x24
internal int maxEraYear; // 0x28
[OptionalFieldAttribute] // RVA: 0xB4EA0 Offset: 0xB4FA1 VA: 0xB4EA0
internal string er... |
GraphQL.Models/Entities/Tenant.cs | dylanberry/GraphQL_POC | 0 | 7057403 | <gh_stars>0
using System;
namespace GraphQL.Models.Entities
{
public class Tenant : UpdatedByEntity
{
public string Name { get; set; }
public DateTime? ExpiryDate { get; set; }
}
}
|
LisergyServer/GameData/Specs/UnitSpec.cs | Ziden/Lisergy | 3 | 7057404 | <gh_stars>1-10
using Game.Entity;
using System;
namespace GameData.Specs
{
[Serializable]
public class UnitSpec
{
public string Name;
public ushort UnitSpecID;
public byte LOS;
public ArtSpec Art;
public ArtSpec FaceArt;
public UnitStats Stats;
}
}
|
Assets/Plugins/Com.TheFallenGames/OSA/Scripts/Core/OSA.cs | niu-shuang/DemoProj | 0 | 7057405 | //#define DEBUG_EVENT_SYSTEM
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using frame8.Logic.Misc.Other;
using frame8.Logic.Misc.Other.Extensions;
using frame8.Logic.Misc.Visual.UI;
using Com.TheFallenGames.OSA.Core.SubComponents;
namespace C... |
src/Silverback.Integration/Messaging/HealthChecks/OutboundQueueHealthCheckService.cs | gitjosephbeer/silverback | 139 | 7057406 | <filename>src/Silverback.Integration/Messaging/HealthChecks/OutboundQueueHealthCheckService.cs
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using System.Threading.Tasks;
using Silverback.Messaging.Outbound.TransactionalOutbox.Repositories;
names... |
RockPaperScissors.Domain/Game.cs | Gary-Moore/Rock-Paper-Scissors | 0 | 7057407 | <filename>RockPaperScissors.Domain/Game.cs
using RockPaperScissors.Domain.Players;
using System;
namespace RockPaperScissors.Domain
{
public class Game
{
private IPlayer _player1;
private IPlayer _player2;
public Game(IPlayer player1, IPlayer player2)
{
_player1 = ... |
src/Mediator.Net/Contracts/IRequestHandler.cs | rogerex/Mediator.Net | 1 | 7057408 | <gh_stars>1-10
using System.Threading;
using System.Threading.Tasks;
using Mediator.Net.Context;
namespace Mediator.Net.Contracts
{
public interface IRequestHandler<TRequest,TResponse>
where TRequest : class, IRequest
where TResponse : class , IResponse
{
Task<TResponse> Handle(Receive... |
Assets/Plugins/Ubernet/Scripts/Core/LowLevel/CustomTypeSerializer.cs | SkaillZ/ubernet | 11 | 7057409 | using System;
using System.IO;
namespace Skaillz.Ubernet
{
public abstract class CustomTypeSerializer<T>: ICustomTypeSerializer
{
public abstract void Serialize(T value, Stream stream);
public abstract T Deserialize(Stream stream);
public Type Type => typeof(T);
public void Se... |
examples/unity/Assets/Main.cs | raghuhit/webrtc-1 | 99 | 7057410 | <filename>examples/unity/Assets/Main.cs
/*
* Copyright 2019 pixiv Inc. All Rights Reserved.
*
* Use of this source code is governed by a license that can be
* found in the LICENSE.pixiv file in the root of the source tree.
*/
using Pixiv.Sora;
using Pixiv.Webrtc;
using System;
using System.Threading;
using Uni... |
FluentTc/Domain/Investigation.cs | MortenRickiRasmussen/FluentTc | 46 | 7057411 | namespace FluentTc.Domain
{
public class Investigation
{
public User Assignee { get; set; }
public Assignment Assignment { get; set; }
public TestOccurrenceWrapper TargetWrap { get; set; }
public ResolutionWrapper Resolution { get; set; }
public string State { get; se... |
CRM_Project_D/src/CRM.WebApi/Controllers/AccountController.cs | narekye/CRM_Project_D | 11 | 7057412 | <reponame>narekye/CRM_Project_D
using System;
using System.Data.Entity;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web.Http;
using CRM.Entities;
using CRM.WebApi.InfrastructureModel;
using CRM.WebApi.InfrastructureOAuth.CRM.UserMa... |
EJOGOS/Interface/IEquipe.cs | jacksontenorio8/ejogos | 0 | 7057413 | <filename>EJOGOS/Interface/IEquipe.cs
using EJOGOS.Models;
using System.Collections.Generic;
namespace EJOGOS.Interface
{
public interface IEquipe
{
//CONTRATO.
//Representa os métodos que são obrigatorios em uma classe.
void Criar(Equipe novaequipe);
List<Equipe> LerEquipes();... |
EMap.MapServer.Services/Controllers/ApiControllers/WmtsController.cs | chiraylu/IMap.MapServer | 2 | 7057414 | using EMap.MapServer.Services.Models;
using EMap.OgcStandards.Ows1_1;
using EMap.OgcStandards.Services;
using EMap.OgcStandards.Services.Gdals;
using EMap.OgcStandards.Wmts1;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Diagnostics;... |
src/EA.Weee.Web.Tests.Unit/Areas/AatfReturn/Mapping/ToViewModel/ReturnAndSchemeDataToReceivedPcsViewModelMapTests.cs | uk-gov-mirror/defra.prsd-weee | 2 | 7057415 | namespace EA.Weee.Web.Tests.Unit.Areas.AatfReturn.Mapping.ToViewModel
{
using EA.Weee.Core.AatfReturn;
using EA.Weee.Core.Scheme;
using EA.Weee.Web.Areas.AatfReturn.Mappings.ToViewModel;
using EA.Weee.Web.ViewModels.Returns.Mappings.ToViewModel;
using FakeItEasy;
using FluentAssertions;
usi... |
src/MongoData/Repository/IRepositoryAsync.cs | vinhch/MongoData | 10 | 7057416 | <filename>src/MongoData/Repository/IRepositoryAsync.cs
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace MongoData.Repository
{
public interface IRepositoryAsync<T, TKey> : IRepository<T, TKey>
where T : IE... |
server/PathonDB.DatabaseClient/Tests/Middlewares/Insert/HasValidColumnsTests.cs | PiotrBlachnio/PathonDB | 0 | 7057417 | using PathonDB.DatabaseClient.Exceptions.General;
using PathonDB.DatabaseClient.Middlewares.Insert;
using Xunit;
namespace PathonDB.DatabaseClient.Tests.Middlewares.Insert {
public class HasValidColumnsTests {
[Theory]
[InlineData("INSERT INTO users (email, phoneNumber) VALUES (\"<EMAIL>\", 703503)... |
Multidimensional.Arrays.Lab/3. Primary Diagonal/Program.cs | CvetelinaNikolova/C-Sharp.Advanced.2022 | 0 | 7057419 | using System;
using System.Linq;
namespace _3._Primary_Diagonal
{
class Program
{
static void Main(string[] args)
{
int size = int.Parse(Console.ReadLine());
int[,] matrix = new int[size, size];
int sum = 0;
for (int i = 0; i < size; i++)
... |
HelloJkwCore/Tests/Diary/DiaryFileNameTest.cs | jkwchunjae/HelloJkwCore | 0 | 7057420 | <reponame>jkwchunjae/HelloJkwCore<filename>HelloJkwCore/Tests/Diary/DiaryFileNameTest.cs
using Common;
using ProjectDiary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Tests.Diary
{
public class DiaryFileNameTest
{
... |
src/Assets/Scripts/BreadBasket.cs | harjup/LudumDare32 | 0 | 7057422 | <reponame>harjup/LudumDare32
using UnityEngine;
using System.Collections;
public class BreadBasket : MonoBehaviourBase
{
private SpriteRenderer _spriteRenderer;
public void Awake()
{
_spriteRenderer = GetComponent<SpriteRenderer>();
}
public void Show()
{
_spriteRenderer.ena... |
src/Test/SecretKeeperTest.cs | MCord/TomlConfig | 4 | 7057423 | namespace Test
{
using System;
using System.Text;
using NFluent;
using NFluent.ApiChecks;
using TomlConfiguration;
using Xunit;
public class SecretKeeperTest
{
[Fact]
public void ShouldDoSecretRoundTrip()
{
var sc = new SecretKeeper(Security.GenerateK... |
GG-Webbshop/Pages/DenyCookiePage.cshtml | bayev/GG-WebbShop | 0 | 7057424 | <filename>GG-Webbshop/Pages/DenyCookiePage.cshtml
@page
@model GG_Webbshop.Pages.DenyCookiePageModel
@{
}
<h2>Viktig information</h2>
<p>För att använda vår hemsida måste du godkänna användandet av cookies. Du kommer fortfarande kunna använda sidan även om du inte klicka godkänn men genom att göra det godkänner du vi... |
13.Strings/TestExtractDates/TestExtracktDates.cs | gmmateev/telerik-academy | 0 | 7057425 | <gh_stars>0
using _19.ExtractDates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace TestExtractDates
{
/// <summary>
///This is a test class for TestExtractDates and is intended
///to contain all TestExtractDates Unit Tests
///</summary>
[TestClass()]
publ... |
Assets/GAF/Scripts/Core/Editor/GAFBakedAnimatorEditor.cs | yantian001/2DShooting | 0 | 7057426 | <filename>Assets/GAF/Scripts/Core/Editor/GAFBakedAnimatorEditor.cs
/*
* File: GAFBakedAnimatorEditor.cs
* Version: 2.0
* Last changed: 2015/2/2 14:44
* Author: Niktin.Nikolay
* Copyright: © GAFMedia
* Project: GAF Unity plugin
*/
using UnityEditor;
using UnityEngine;
using GAF.Core;
using GAF.Assets;... |
ProductApplication/Views/Products/Index.cshtml | emir01/SimpleProductMVC | 0 | 7057427 | @model PA.Core.Infrastructure.ResultObjects.DataResult<List<PA.Core.DataModel.Entities.Product>>
@using PA.Web.Helpers
<h2>Products</h2>
<div class="row">
<div class="col-xs-12">
<div class="well">
<a class="btn btn-primary" href="@Url.Action("Create")">Create New Product</a>
</div>
... |
Src/Newtonsoft.Json.Tests/Linq/AnnotationsTests.cs | mikola/Newtonsoft.Json | 8,838 | 7057428 | using System;
using System.Collections.Generic;
#if NET20
using Newtonsoft.Json.Utilities.LinqBridge;
#else
using System.Linq;
#endif
using System.Text;
using Newtonsoft.Json.Linq;
#if DNXCORE50
using Xunit;
using TestAttribute = Xunit.FactAttribute;
using Assert = Newtonsoft.Json.Tests.XUnitAssert;
#else
using NUnit.... |
src/Lib6502/Assembler.cs | terrydenham/NesEmuDotNet | 0 | 7057429 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
namespace Lib6502
{
public enum AddressMode
{
... |
TakeMyTime.WPF/Resources/EntryOverview.Designer.cs | BinderDyn/TakeMyTime.NETCore | 2 | 7057430 | <reponame>BinderDyn/TakeMyTime.NETCore
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verl... |
NetCore/CookedRabbit.Core.Demo/Examples/06_RabbitService_CompressionExamples.cs | area55git/CookedRabbit | 0 | 7057431 | using CookedRabbit.Core.Demo.Helpers;
using CookedRabbit.Core.Library.Models;
using CookedRabbit.Core.Library.Services;
using Newtonsoft.Json;
using System;
using System.Text;
using System.Threading.Tasks;
using static CookedRabbit.Core.Library.Utilities.Enums;
using static CookedRabbit.Core.Library.Utilities.RandomDa... |
DirectN/DirectN/Generated/D3D12DDI_RENDER_PASS_FUNCS_0053.cs | Steph55/DirectN | 124 | 7057432 | // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(14184,9)
using System;
using System.Runtime.InteropServices;
using PFND3D12DDI_BEGIN_RENDER_PASS_0053 = System.IntPtr;
using PFND3D12DDI_END_RENDER_PASS_0053 = System.IntPtr;
namespace DirectN
{
[StructLayout(LayoutKind.Sequent... |
src/Skybrud.Umbraco.Redirects/Models/RedirectsSearchResult.cs | conjurer-rich/Skybrud.Umbraco.Redirects | 33 | 7057433 | using Newtonsoft.Json;
namespace Skybrud.Umbraco.Redirects.Models {
/// <summary>
/// Class representing a collection of redirects.
/// </summary>
public class RedirectsSearchResult {
#region Properties
/// <summary>
/// Gets pagination information about the collection.
... |
RabbitMqHttpApiClient/Models/VirtualHostModel/VirtualHost.cs | kuanysh-nabiyev/RabbitMqHttpApiClient | 9 | 7057434 | using Newtonsoft.Json;
using RabbitMqHttpApiClient.Models.Common;
namespace RabbitMqHttpApiClient.Models.VirtualHostModel
{
public class VirtualHost
{
[JsonProperty("messages")]
public int Messages { get; set; }
[JsonProperty("messages_details")]
public RateDetails MessagesDet... |
src/Kmd.Logic.DocumentGeneration.Client/Models/AzureBlobTemplateModel.cs | deviprasad-kmd/kmd-logic-document-generation-client | 0 | 7057435 | <reponame>deviprasad-kmd/kmd-logic-document-generation-client<gh_stars>0
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Kmd.Logic.DocumentGeneration.Client.Models
{
... |
Advanced_Exam/AdvancedExam_25October2020/02.Garden/Program.cs | anidz/Software-University---C-Advanced---January-2022-Solutions | 6 | 7057436 | <filename>Advanced_Exam/AdvancedExam_25October2020/02.Garden/Program.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace Garden
{
public class StartUp
{
public static void Main(string[] args)
{
var inputSize = Console
.ReadL... |
test/Liquid.Messaging.ServiceBus.Tests/ServiceBusProducerTest.cs | Control-Alt-Sistemas/Liquid-Application-Framework | 6 | 7057437 | using Liquid.Messaging.Exceptions;
using Liquid.Messaging.Interfaces;
using Liquid.Messaging.ServiceBus.Tests.Mock;
using Microsoft.Azure.ServiceBus;
using Microsoft.Azure.ServiceBus.Core;
using NSubstitute;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace Liquid.Me... |
UserService.Core/UserService.Core_Tests/Moqups/MoqupAccessObjectManager.cs | BergenIt/user-service | 3 | 7057438 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UserService.Core.DataInterfaces;
namespace UserService.Core_Tests.Moqups
{
public class MoqupAccessObjectManager : IAccessObjectManager
{
... |
Source/JdSdk/request/delivery/EtmsWaybillSendRequest.cs | starpeng/JdSdk2 | 11 | 7057439 | using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using JdSdk.Request;
using JdSdk.Response.Delivery;
namespace JdSdk.Request.Delivery
{
public class EtmsWaybillSendRequest : JdRequestBase<EtmsWaybillSendResponse>
{
publi... |
test/Usemam.IdentityServer4.KeyRack.UnitTests/KeyServiceTests.cs | usemam/Usemam.IdentityServer4.KeyRack | 1 | 7057440 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
using Usemam.IdentityServer4.KeyRack.Model;
namespace Usemam.IdentityServer4.KeyRack.UnitTests
{
public class KeyServiceTests : KeyServiceU... |
LucyLib/Lucy.Extensibility/IParser.cs | yurivital/lucy | 2 | 7057441 | <reponame>yurivital/lucy
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil
// Les modifications apportées à ce fichier seront perdues si le code est régénéré.
// </auto-generated>
//-----------------------------------------... |
OsuLiveStatusPanel/Mods/ModsPictureGenerator.cs | Fairy-Phy/OsuLiveStatusPanel | 16 | 7057442 | <reponame>Fairy-Phy/OsuLiveStatusPanel<filename>OsuLiveStatusPanel/Mods/ModsPictureGenerator.cs
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
namespace OsuLiveStatusPanel.Mods
{
public class ModsPictureGenerator
{
private static Dictionary<string, string> ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.