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 |
|---|---|---|---|---|
tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/OpenTracingTests.cs | theletterf/signalfx-dotnet-tracing | 0 | 7067052 | // Modified by Splunk Inc.
using System.Linq;
using Datadog.Trace.TestHelpers;
using FluentAssertions;
using FluentAssertions.Execution;
using Xunit;
using Xunit.Abstractions;
namespace Datadog.Trace.ClrProfiler.IntegrationTests
{
public class OpenTracingTests : TestHelper
{
public OpenTracingTests(IT... |
src/Krimson/Core/HeadersExtensions.cs | RagingKore/Krimson | 3 | 7067053 | <reponame>RagingKore/Krimson
using System.Text;
using Confluent.Kafka;
namespace Krimson;
public delegate string? DecodeHeaderValue(ReadOnlySpan<byte> data);
public delegate ReadOnlySpan<byte> EncodeHeaderValue(string? value);
[PublicAPI]
public static class HeadersExtensions {
public static Headers Encode(this... |
net45/Payment.aspx.cs | Soubhagya03/Emandate | 0 | 7067054 | <filename>net45/Payment.aspx.cs
using Razorpay.Api;
using System;
using System.Collections.Generic;
namespace RazorpaySampleApp
{
public partial class Payment : System.Web.UI.Page
{
public string orderId;
public string custId;
protected void Page_Load(object sender, EventArgs e)
... |
CoFlows.Server/Controllers/FlowController.cs | energetics-australia/CoFlows-CE | 23 | 7067055 | /*
* The MIT License (MIT)
* Copyright (c) <NAME> All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, cop... |
Dapper.GraphQL.Test/QueryBuilders/QuerybuilderHelper.cs | narbit/Dapper.GraphQL | 0 | 7067056 | using System.Collections.Generic;
using GraphQL.Language.AST;
using System.Linq;
using GraphQL;
namespace Dapper.GraphQL.Test.QueryBuilders
{
public static class QueryBuilderHelper
{
public static Dictionary<string, Field> CollectFields(SelectionSet selectionSet)
{
return CollectF... |
workers/unity/Assets/Gamelogic/Player/Behaviors/CameraRigEnabler.cs | ananda13/swarm | 4 | 7067057 | using Improbable.Player;
using Improbable.Unity.Visualizer;
using UnityEngine;
public class CameraRigEnabler : MonoBehaviour {
public GameObject CameraRig; //Set this explicitly in the editor
// Update is called once per frame
void OnEnable () {
if (CameraRig != null)
CameraRig.SetActi... |
Semester3/RE/Project/BillPath/Models/CurrencySynmbolAndIsoCodeFormatter.cs | Andrei15193/Laboratories-Software-Engineering-Master | 0 | 7067058 | namespace BillPath.Models
{
public class CurrencySynmbolAndIsoCodeFormatter
: ICurrencyFormatter
{
public string Format(Currency currency)
{
if (currency == default(Currency))
return string.Empty;
else
return $"{currency.Symbol}({c... |
DailyDocuments/MainWindow.xaml.cs | Timthreetwelve/DailyDocuments | 0 | 7067059 | // Copyright (c) <NAME>. All Rights Reserved. Licensed under the MIT License.
#region Using directives
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Media;
using System.Reflection;
using... |
src/Horth.Shared.Infrastructure/Helpers/PolicyHelper.cs | dhorth/HorthEmailService | 0 | 7067060 | <gh_stars>0
using Polly;
using System;
using Serilog;
namespace Horth.Service.Email.Shared
{
public class PolicyHelper
{
/// <summary>
///
/// </summary>
/// <param name="action"></param>
/// <param name="retryCount"></param>
/// <param name="delayInSeconds"></... |
zwg-china.backstage.control/UserGroupsPage_EditWindow.xaml.cs | returnanapple/zwg-china-iworld | 1 | 7067061 | <reponame>returnanapple/zwg-china-iworld
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.W... |
src/Our.Umbraco.ShadowContentPicker/PropertyEditors/ShadowContentPickerPropertyEditor.cs | leekelleher/umbraco-shadow-content-picker | 2 | 7067062 | <gh_stars>1-10
using System.Collections.Generic;
using ClientDependency.Core;
using Umbraco.Core.PropertyEditors;
using Umbraco.Web.PropertyEditors;
namespace Our.Umbraco.ShadowContentPicker.PropertyEditors
{
[PropertyEditor(PropertyEditorAlias, PropertyEditorName, PropertyEditorValueTypes.Json, PropertyEditorVie... |
DragAndDropBackup/Settings.cs | xathz/Drag-and-Drop-Backup | 0 | 7067063 | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Newtonsoft.Json;
namespace DragAndDropBackup {
public class Settings {
/// <summary>
/// Settings file location.
/// Automatically set, will be the same name as the executable, .settings will be the file e... |
StyleCopCmd.Core.Test/data/StyleCopTestProject/StyleCopTestProject/SubNamespace/ClassTwo.cs | enckse/StyleCopCmd | 1 | 7067064 | //-----------------------------------------------------------------------
// <copyright
// file="ClassTwo.cs"
// company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// <authors>
// <author><NAME></author>
// </authors>
//-------------------------------------------------------... |
LeetCode/Infra/LengthOfLISSln.cs | YouenZeng/LeetCode | 1 | 7067065 | <filename>LeetCode/Infra/LengthOfLISSln.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LeetCode.Infra
{
class LengthOfLISSln : ISolution
{
public int LengthOfLIS(int[] nums)
{
Dictionary<int, int> dict = new Dictionary<int, int>()... |
XenditApiClient/XenditHttpConnection.cs | moduit-engineering/xendit-dotnet | 5 | 7067066 | <gh_stars>1-10
using Newtonsoft.Json;
using RestSharp;
using RestSharp.Authenticators;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xendit.ApiClient.Abstracts;
namespace Xendit.ApiClient
{
public class XenditHttpConnection : IXenditHttpConnection
{
priv... |
src/services/patients/Patients.DTO/CreatePatientInfo.cs | candoumbe/Medeasy | 4 | 7067067 | namespace Patients.DTO
{
using NodaTime;
using Patients.Ids;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// Data to create a new <see cref="PatientInfo"/> resource.
/// </summary>
public class CreatePatientInfo
{
/// <summary>
/// Patient's identifier... |
MegaChess/Assets/Script/Chess/Tile/TileController.cs | samsara138/MegaChess | 1 | 7067068 | using Core;
using Pieces;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Tile
{
public class TileController : Controller<TileModel,TileView>
{
public Vector2 gridPosition;
public PieceController childPiece;
public void Configure(V... |
Personal2Project/Personal2Project/Data/PhotoStorage.cs | hughmikem22/.Net-c-and-Javascript | 1 | 7067069 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Personal2Project.Data
{
public class PhotoStorage
{
[Key]
public int ImgID { get; set; }
public string ImageName { get; se... |
GFT-ClubHouse- Management/Models/ClubHouse.cs | ViniciusHSAraujo/GFT-ClubHouse-Management | 1 | 7067070 | <filename>GFT-ClubHouse- Management/Models/ClubHouse.cs<gh_stars>1-10
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using GFT_ClubHouse__Management.Libs.Language;
namespace GFT_ClubHouse__Management.Models {
public class ClubHouse {
public int Id { get; s... |
Fildo.Android/SpecificPlatform/PersistData.cs | yknx4/Fildo | 0 | 7067071 | using System;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Widget;
using Fildo.Droid;
using Environment = Android.OS.Environment;
using Uri = Android.Net.Uri;
using Fildo.Core.IPlatform;
using System.Collections.Generic;
using Android.Util;
using System.Linq;
using Java.IO;
namespace Fild... |
Assets/Max_Scripts/AlwaysFaceCamera.cs | Vindie/Team-Project---Horror-Game | 0 | 7067072 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AlwaysFaceCamera : MonoBehaviour {
public Transform CameraTransform;
// Use this for initialization
void Start () {
if(!CameraTransform)
{
GetCameraTransform();
}
}
// Update is called... |
src/Sasw.ExcelTools.Infra.ExcelDataReader.DependencyInjection/RegistrationExtensions.cs | sunnyatticsoftware/sasw-excel-tools | 0 | 7067073 | <gh_stars>0
namespace Sasw.ExcelTools.Infra.ExcelDataReader.DependencyInjection
{
using Converters;
using ExcelTools.Converters;
using Microsoft.Extensions.DependencyInjection;
public static class RegistrationExtensions
{
public static IServiceCollection AddExcelTools(this IServiceCollecti... |
Projects/P0 Restaurant/RestaurantBL/IAccountLogic.cs | 220328-uta-sh-net-ext/Kevin-Pilatzke | 0 | 7067074 | <gh_stars>0
using RestaurantModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantBL
{
public interface IAccountLogic
{
List<Restaurant> SearchRName(string restaurantName);
List<Restaurant> SearchRCity(st... |
FluentExtension/Behavior/TypedActivityBuilder{T}.cs | s-ueno/botbuilder-dotnet | 0 | 7067075 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
namespace FluentExtension
{
public class TypedActivityBuilder<T> : ActivityBuilder
{
public TypedActivityBuilder(TypeBindBot bot)
: base(bot)
{
... |
Edc.Infrastructure.DataAccess/GeneratedEntities/Mtc.TaskType.cs | gerinka/EnhancedDocumentCreator | 1 | 7067076 | //------------------------------------------------------------------------------
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Devart Entity Developer tool using Entity Framework DbContext template.
// Code is generated on... |
Editor/Build.cs | technicat/unityscripts | 1 | 7067077 | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace Fugu.Editor {
public class Build : EditorWindow {
[MenuItem (FuguGamesMenu.Menu+"Builds")]
static void Init() {
EditorWindow.GetWindow(typeof(Build));
}
public void OnGUI() {
LayoutTarget(BuildTarget.iOS);
Layo... |
src/Server/Infrastructure/Persistence/IdTypes/OracleIdTypesRepository.cs | afgalvan/Tilia | 4 | 7067078 | <filename>src/Server/Infrastructure/Persistence/IdTypes/OracleIdTypesRepository.cs
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Domain.People;
using Domain.People.Repositories;
using Microsoft.EntityFrameworkCore;
using SharedLib.Persistence;
namespace Infrastructure.P... |
TypeSeq/Sequencers/IntSequencer.cs | creyke/TypeSeq | 0 | 7067079 | namespace TypeSeq.Sequencers
{
public class IntSequencer : Sequencer<int>, ISequencer<int>
{
protected override int GenerateNext()
{
return ++State;
}
}
}
|
DFC.App.JobProfile/Views/Profile/_CurrentOpportunitiesSegment.cshtml | uk-gov-mirror/SkillsFundingAgency.dfc-app-jobprofiles | 2 | 7067080 | <reponame>uk-gov-mirror/SkillsFundingAgency.dfc-app-jobprofiles
@model HtmlString
@{
var accordionSectionViewModel = new AccordionSectionViewModel
{
SequenceNo = 5,
Title = "Current opportunities",
Summary = "Find apprenticeships, courses and jobs available near you.",
Content ... |
Assets/Httx/Runtime/Requests/Types/Texture.cs | selfsx/httx | 23 | 7067081 | <reponame>selfsx/httx
// Copyright (C) 2020 <NAME> (https://whitesharx.com) - All Rights Reserved.
// Unauthorized copying of this file, via any medium is strictly prohibited.
// Proprietary and confidential.
//
using System.Collections.Generic;
using Httx.Requests.Extensions;
namespace Httx.Requests.Types {
public... |
DescribeCar/DescribeCar/Model/OOP Objects/MotorVehicle.cs | kleincharles312/car-maintenance-records | 0 | 7067082 | <reponame>kleincharles312/car-maintenance-records<filename>DescribeCar/DescribeCar/Model/OOP Objects/MotorVehicle.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DescribeCar.Model
{
public abstract class MotorVehicle
{
// another type of mo... |
Baza2/frmKsiazka.Designer.cs | angelm1974/Baza2 | 0 | 7067083 | namespace Baza2
{
partial class frmKsiazka
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... |
src/Clearly.Crud/DataSources/StaticListDataSource.cs | JFouts/clearly | 1 | 7067084 | <gh_stars>1-10
// Copyright (c) <NAME> All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Clearly.Crud.Services;
public class StaticListDataSource : DataSource<KeyValuePair<string, string>>
{
private readonly IEnumerable<KeyValuePair<string, ... |
Dependencies/AgateLib/Agate031/Source/Tests/CoreTests/Timers/frmTimers.cs | dtsudo/DT-Danmaku-2 | 1 | 7067085 | // The contents of this file are public domain.
// You may use them as you wish.
//
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AgateLib;
using AgateLib.Utility;
namespace Tests... |
Server/Dtos/BidResponseDto.cs | QuinntyneBrown/wedding-bidders | 1 | 7067086 | using WeddingBidders.Server.Models;
namespace WeddingBidders.Server.Dtos
{
public class BidResponseDto
{
public BidResponseDto() { }
public BidResponseDto(Bid bid)
{
this.Id = bid.Id;
this.ProfileType = ProfileType.Caterer;
this.Description = bid.De... |
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Entities/ProductDescriptionBase.generated.cs | niemyjski/nettiers | 66 | 7067087 |
/*
File generated by NetTiers templates [www.nettiers.com]
Important: Do not modify this file. Edit the file ProductDescription.cs instead.
*/
#region using directives
using System;
using System.ComponentModel;
using System.Collections;
using System.Xml.Serialization;
using System.Runtime.Serialization;... |
Assets/Scripts/Behaviors/Card.cs | Quickkrueger/DGM-260R-002_Spring-2022 | 0 | 7067088 | <reponame>Quickkrueger/DGM-260R-002_Spring-2022
using System.Collections;
using KillerIguana.CardManager;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class Card : MonoBehaviour
{
BaseCard cardData;
Vector3 pointerOffset;
Rigidbody _rb;
private Image _img;
private RectT... |
BellumGens.Api.Core/Models/TeamApplication.cs | BellumGens/bellum-gens-api-core | 0 | 7067089 | using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace BellumGens.Api.Core.Models
{
public class TeamApplication : Application
{
public string ApplicantId { get; set; }
public Guid TeamId { get; set; }
[NotMapped]
public string UserNam... |
src/AspNetCore/src/ReHackt.AspNetCore.EntityFrameworkCore/DbContextExtensions.cs | LionelVallet/ReHackt.Framework | 0 | 7067090 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0.
using System.Net;
using System.Text.RegularExpressions;
using Microsoft.Data.SqlClient;
using ReHackt.ValueObjects;
namespace Microsoft.EntityFrameworkCore
{
public static class DbContextExtensions
{
publ... |
Assets/Scripts/TankShooting.cs | amilanpathirana/TankWars | 1 | 7067091 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TankShooting : MonoBehaviour
{
public float m_StartDelay = 0.4f;
private WaitForSeconds WaitABit;
public int m_TankNumber = 1;
public Rigidbody2D m_Shell;
public Transform m_FireTr... |
src/Rest/IPrivateApi.cs | blocksentinel/carbon-dotnet-sdk | 2 | 7067092 | using System.Threading;
using System.Threading.Tasks;
using CarbonSDK.Rest.Requests;
using Refit;
namespace CarbonSDK.Rest
{
public interface IPrivateApi
{
[Post("/txs")]
Task CreateOrder(CreateOrderRequest request, CancellationToken cancellationToken = default);
}
}
|
JohnLemon _ ronak agarwal/Assets/Scripts/coinrotation.cs | ronaka20/john-lemon-ronak | 0 | 7067093 | <filename>JohnLemon _ ronak agarwal/Assets/Scripts/coinrotation.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class coinrotation : MonoBehaviour
{
public int coinrotatespeed;
void FixedUpdate()
{
transform.Rotate(0,coinrotatespeed,0,Space.World);
}
... |
MSFSTouchPortalPlugin-Generator/Model/DocBase.cs | mpaperno/MSFSTouchPortalPlugin | 6 | 7067094 | <reponame>mpaperno/MSFSTouchPortalPlugin
using System.Collections.Generic;
namespace MSFSTouchPortalPlugin_Generator.Model {
public class DocBase {
public string Title { get; set; }
public string Overview { get; set; }
public string Version { get; set; }
public string DocsUrl { get; set; }
publi... |
src/DayPhotos.API/DayPhotos.API/Common/Constants.cs | zdz72113/photooftheday | 0 | 7067095 | <reponame>zdz72113/photooftheday<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DayPhoto.API.Common
{
public class Constants
{
public class PhotoUrls
{
public const string BingUrl = "https://www.bing.com";
... |
src/CQRS.Models/PagedList.cs | it-band/cqrs-core | 0 | 7067096 | <reponame>it-band/cqrs-core
using System.Collections.Generic;
namespace CQRS.Models
{
public class PagedList<T>
{
public IList<T> Items { get; set; }
public int? Count { get; set; }
public PagedList()
{
Items = new List<T>();
}
public PagedList(ILi... |
TaiheSystem.CBE.Api.Model/Entity/Abi_SysStandard.cs | AboutZld/Taihe.CBE.API | 3 | 7067097 | using System;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace TaiheSystem.CBE.Api.Model
{
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动... |
test/CopyWithHash.Test/TestCopyWIthHash.cs | elmt1/copy-with-hash | 0 | 7067098 | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
namespace CopyWithHash.Test
{
[TestClass]
public class TestCopyWithHash
{
[TestMethod]
public void TestGetHash()
{
var fromStrea... |
src/OpenTelemetry.AutoInstrumentation/Configuration/StringConfigurationSource.cs | rajkumar-rangaraj/opentelemetry-dotnet-instrumentation | 0 | 7067099 | <reponame>rajkumar-rangaraj/opentelemetry-dotnet-instrumentation
// <copyright file="StringConfigurationSource.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice... |
Source/Engine/CoreInterfaces/Platform/IFrameTimer.cs | chicken-with-lips/duck | 0 | 7067100 | <gh_stars>0
namespace Duck.Platform;
public interface IFrameTimer
{
public float Elapsed { get; }
public float Delta { get; }
public double DoubleDelta { get; }
public void Start();
public void Update();
}
|
contract/MAVN.Service.PrivateBlockchainFacade.Contract/Operations/TokensTransferContext.cs | HannaAndreevna/MAVN.Service.PrivateBlockchainFacade | 0 | 7067101 | using MAVN.Numerics;
namespace MAVN.Service.PrivateBlockchainFacade.Contract.Operations
{
/// <summary>
/// Tokens transfer operation context
/// </summary>
public class TokensTransferContext
{
/// <summary>
/// The sender wallet address
/// </summary>
public string ... |
google-services/Location/Geofencing/Geofencing/GeofenceErrorMessages.cs | darcythomas/monodroid-samples | 1,862 | 7067102 | using System;
using Android.Content;
using Android.Gms.Common.Apis;
using Android.Gms.Location;
namespace Geofencing
{
public static class GeofenceErrorMessages
{
public static String GetErrorString(Context context, Exception ex)
{
if (ex is ApiException)
{
... |
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoft.Drawing/XImageValue.cs | hdefucom/HDF | 1 | 7067103 | <reponame>hdefucom/HDF
using DCSoft.Common;
using DCSoft.Drawing.Design;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Drawing.Imaging;
using System.IO;
using System.Net;
using System.Reflection;
using System.Runtime.InteropS... |
VisualStudioExtension/Parser/BinaryOperation.cs | mangh/UnitsOfMeasurement | 11 | 7067104 | /*******************************************************************************
Units of Measurement for C# applications
Copyright (C) <NAME>
This program is provided to you under the terms of the license
as published at https://github.com/mangh/unitsofmeasurement
********************************... |
EmitExperiment/Tests/ContainerTest.cs | impworks/emit-benchmark | 1 | 7067105 | <filename>EmitExperiment/Tests/ContainerTest.cs
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using EmitExperiment.Containers;
namespace EmitExperiment.Tests
{
/// <summary>
/// Fixture set for comparing container implementation.
/// </summary>
... |
System.ServiceModel.Discovery/System/ServiceModel/Discovery/Configuration/ConfigurationDiscoveryEndpointProvider.cs | cnork/referencesource | 911 | 7067106 | //----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.ServiceModel.Discovery.Configuration
{
using System.Configuration;
using System.Runtime;
using... |
TranslationJetBrains/TranslationJetBrains/Frm_Main.Designer.cs | yjulm/TranslationJetBrains | 2 | 7067107 | <filename>TranslationJetBrains/TranslationJetBrains/Frm_Main.Designer.cs<gh_stars>1-10
namespace TranslationJetBrains
{
partial class Frm_Main
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>... |
Valley.Net.Protocols.MeterBus/EN13757_3/EmptyPacket.cs | ebsevon/Valley.Net.Protocols.MeterBus | 29 | 7067108 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Valley.Net.Protocols.MeterBus.EN13757_3
{
public sealed class EmptyPacket : Packet
{
}
}
|
Assets/Scripts/GravityControl.cs | IAFEnvoy/Threebody_Simulator | 0 | 7067109 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GravityControl : MonoBehaviour
{
// Update is called once per frame
void Update()
{
if(!Calculate.run) return;
GameObject.Find("Gravity").GetComponent<Transform>().position
= (GameObjec... |
src/Hqub.Lastfm/Cache/IRequestCache.cs | drasticactions/Last.fm | 9 | 7067110 | <gh_stars>1-10
namespace Hqub.Lastfm.Cache
{
using System.IO;
using System.Threading.Tasks;
/// <summary>
/// Request cache interface.
/// </summary>
public interface IRequestCache
{
/// <summary>
/// Add a request and its response to the cache.
/// </summary>
... |
Scripts/Modules/Devkit/CleanComponent/Editor/CanvasRendererCleaner/Editor/CanvasRendererCleaner.cs | oTAMAKOo/UnityFramework | 20 | 7067112 | <gh_stars>10-100
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using Unity.Linq;
using System.Linq;
using Extensions;
using Modules.Devkit.Prefs;
namespace Modules.Devkit.CleanComponent
{
public abstract class CanvasRendererCleaner
{
//----- params -----
public static class Pre... |
test/T4Toolbox.Tests/ClrTemplateTest.cs | blyzer/T4Toolbox | 270 | 7067113 | <filename>test/T4Toolbox.Tests/ClrTemplateTest.cs
// <copyright file="ClrTemplateTest.cs" company="<NAME>">
// Copyright © <NAME>. All Rights Reserved.
// </copyright>
namespace T4Toolbox.Tests
{
using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microso... |
Engine/Helpers/GenericBuilder.cs | cschsch/GameOfLife | 2 | 7067114 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Engine.Helpers
{
public abstract class GenericBuilder<TObject> : IGenericBuilder<TObject>
{
protected readonly TObject ObjectToBuild;
protected IReadOnlyDictiona... |
Arugula.Collections.Tests/NativeArray2DTests.cs | LordArugula/NativeCollections | 2 | 7067115 | using System;
using NUnit.Framework;
using UnityEngine;
namespace Arugula.Collections.Tests
{
internal class NativeArray2DTests
{
const int length = 1 << 6;
const int width = 1 << 6;
[Test]
public void Length()
{
var array = new NativeArray2D<int>(length, w... |
Achordeon.Lib/MusicTheory/ChordShapes.cs | tiamatix/achordeon | 4 | 7067116 | <reponame>tiamatix/achordeon
/*! Achordeon - MIT License
Copyright (c) 2017 tiamatix / <NAME>
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... |
CS/NutaDev.CsLib/Internal/Tools/NutaDev.CsLib.Internal.ConsoleTools/Tools/Licensor.cs | tariel36/SnippetsRepository | 1 | 7067117 | // The MIT License (MIT)
//
// Copyright (c) 2022 tariel36
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... |
03.Object-Oriented-Programming/Homeworks/OOP-Homework4/Problem03AnimalHierarchy/Animal.cs | atanas-georgiev/TelerikAcademy | 0 | 7067118 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem03AnimalHierarchy
{
abstract class Animal : ISound
{
public enum SexType { Male, Female }
public string Name { get; set; }
public int Age { g... |
src/CodyMazeBot/Game/SetLanguageProcessor.cs | CodeMOOC/CodyMazeBot-Revamp | 0 | 7067119 | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace CodyMazeBot.Game {
[StateHandler(BotState.SetLanguage)]
public class SetLangua... |
Source Server/SqlDataProvider/SqlDataProvider/Data/eItemAddType.cs | itspaiva/DDTank4.1 | 4 | 7067120 | <reponame>itspaiva/DDTank4.1
// Decompiled with JetBrains decompiler
// Type: SqlDataProvider.Data.eItemAddType
// Assembly: SqlDataProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6C792E1-372D-46D0-B366-36ACC93C90BB
// Assembly location: C:\Users\<NAME>\Desktop\Decompiler\Road\SqlDataProvider... |
Misc/D_API.Configurer.Lib/NotifyPropertyChanged.cs | DiegoG1019/D_API | 1 | 7067122 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace D_API.Configurer.Lib
{
public abstract class NotifyPropertyChanged : INotifyPropertyChanged
{
public event P... |
SpacepuppyBase/Collections/TrackablObjectCachePool.cs | lordofduct/spacepuppy-unity-framework | 372 | 7067123 | <filename>SpacepuppyBase/Collections/TrackablObjectCachePool.cs
using System;
using System.Collections.Generic;
namespace com.spacepuppy.Collections
{
public class TrackablObjectCachePool<T> : ICachePool<T> where T : class
{
#region Fields
private Stack<T> _inactive = new Stack<T>(... |
Terrarium/Properties/Resources.Designer.cs | Leon11t/Terrarium | 0 | 7067125 | <filename>Terrarium/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------
// <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
// ... |
p3d+/Assets/GameOfLife/ConwaysGameOfLife.cs | dkaloger/Pplus | 3 | 7067126 | <reponame>dkaloger/Pplus
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ConwaysGameOfLife : MonoBehaviour
{
public RenderTexture Tex1_3D;
int noise1Gen;
public int tex1Res;
public ComputeShader noiseCompute;
void Start()
{
//Create 3D Render Texture 1
... |
15. Test Automapper - Exercise/MyApp/Core/Commands/SetManagerCommand.cs | VeselinBPavlov/database-advanced-entity-framework-core | 1 | 7067127 | namespace MyApp.Core.Commands
{
using AutoMapper;
using Contracts;
using MyApp.Core.ViewModels;
using MyApp.Data;
using System;
public class SetManagerCommand : ICommand
{
private readonly MyAppContext context;
private readonly Mapper mapper;
public SetManagerComma... |
tools/Chiro.CiviSync/Chiro.CiviSync.Services.Test/PersonenBewarenTest.cs | Chirojeugd-Vlaanderen/gap | 0 | 7067128 | <reponame>Chirojeugd-Vlaanderen/gap<filename>tools/Chiro.CiviSync/Chiro.CiviSync.Services.Test/PersonenBewarenTest.cs
/*
Copyright 2015,2016 Chirojeugd-Vlaanderen vzw
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may ob... |
Promises/Internal/MergeInternal.cs | LegendsOfLearning/ProtoPromise | 0 | 7067129 | <gh_stars>0
#if PROTO_PROMISE_DEBUG_ENABLE || (!PROTO_PROMISE_DEBUG_DISABLE && DEBUG)
#define PROMISE_DEBUG
#else
#undef PROMISE_DEBUG
#endif
#if !PROTO_PROMISE_CANCEL_DISABLE
#define PROMISE_CANCEL
#else
#undef PROMISE_CANCEL
#endif
#if !PROTO_PROMISE_PROGRESS_DISABLE
#define PROMISE_PROGRESS
#else
#undef PROMISE_PRO... |
Core/Goldfish/App.cs | ravindranathw/Goldfish | 1 | 7067130 | /*
* Copyright (c) 2014 <NAME>
*
* See the file LICENSE for copying permission.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Web;
using AutoMapper;
namespace Goldfish
{
/// <summary>
///... |
test/FastTests/Blittable/UnmanagedStreamTests.cs | ryanheath/ravendb | 1 | 7067131 | <reponame>ryanheath/ravendb
using System;
using System.Collections.Generic;
using Raven.Server.Json;
using Raven.Server.ServerWide;
using Raven.Server.ServerWide.Context;
using Sparrow;
using Sparrow.Json;
using Xunit;
namespace FastTests.Blittable
{
public unsafe class UnmanagedStreamTests : NoDisposa... |
Assets/VersionUpdateBundle/VersionUpdateManager/Simulate/CacheAssetAsyncTask.cs | hubluesky/VersionUpdateBundle | 9 | 7067132 | using UnityEngine;
namespace VersionUpdate {
public class CacheAssetAsyncTask : AssetAsyncTask {
private Object asset;
public CacheAssetAsyncTask(Object asset) {
this.asset = asset;
}
public override float progress { get { return 1.0f; } }
public override T Ge... |
Pioneer.Net/Packet/PacketHandler.cs | PioneerMod/Pioneer | 0 | 7067133 | <gh_stars>0
using System.Reflection;
namespace Pioneer.Net.Packet;
[AttributeUsage(AttributeTargets.Method)]
public class PacketHandler : Attribute
{
/// <summary>
/// Marks a method as packet handler which takes cover of the given packet type.
/// If a packet is being received the marked method will be ... |
Amsel.Framework.Streamlabs.OBS.Tests/Utilities/TimeoutUtils.cs | Examed/Amsel.Framework.Streamlabs | 1 | 7067134 | <gh_stars>1-10
using System;
using System.Threading;
namespace Amsel.Framework.Streamlabs.OBS.Tests.Utilities
{
public static class TimeoutUtils
{
#region Methods
public static bool RetryUntilSuccessOrTimeout(Func<bool> task, TimeSpan timeSpan)
{
bool success = false;
... |
src/Microsoft.AspNetCore.OData/Routing/Template/ActionSegmentTemplate.cs | ehtick/AspNetCoreOData | 223 | 7067135 | <reponame>ehtick/AspNetCoreOData<filename>src/Microsoft.AspNetCore.OData/Routing/Template/ActionSegmentTemplate.cs
//-----------------------------------------------------------------------------
// <copyright file="ActionSegmentTemplate.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributo... |
Sanchez.Processing/Models/Configuration/ImageOffset.cs | creinemann/sanchez | 89 | 7067136 | <reponame>creinemann/sanchez<filename>Sanchez.Processing/Models/Configuration/ImageOffset.cs
namespace Sanchez.Processing.Models.Configuration
{
public class ImageOffset
{
/// <summary>
/// Creates a new image offset, providing values to convert pixel coordinates to geostationary scanning a... |
samples/FubuTask/src/Framework.Tests/Security/LoggedOnPrincipleFactoryTester.cs | Anupam-/fubumvc-contrib | 0 | 7067137 | using System.Security.Principal;
using FubuMVC.Framework.Security;
using FubuMVC.Tests;
using NUnit.Framework;
namespace FubuMVC.Framework.Tests.Security
{
[TestFixture]
public class LoggedOnPrincipleFactoryTester
{
[Test]
public void creates_a_new_principal()
{
... |
Runtime/ScriptableGameEvents/Vector2GameEvent.cs | MakoEdits/Unity-Scriptable-Events | 4 | 7067138 | using System;
using UnityEngine;
using UnityEngine.Events;
namespace Mako.ScriptableEvents
{
[CreateAssetMenu(menuName = "GameEvents/Vector2")] [Serializable]
public class Vector2GameEvent : VariableGameEvent<Vector2, Vector2GameEvent, Vector2UnityEvent>{}
[Serializable]
public class Vector2Unity... |
Source/MSHTML/Interfaces/IHTMLChangeSink.cs | igoreksiz/NetOffice | 0 | 7067139 | <gh_stars>0
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi
{
/// <summary>
/// Interface IHTMLChangeSink
/// SupportByVersion MSHTML, 4
/// </summary>
[SupportByVersion("MSHTML", 4)]
[EntityType(EntityType.IsInterface)]
[Ty... |
A to Z Games V2 Project Update/Sciencetific Calc/fairyTailEpisode4.Designer.cs | RedStoneCr33per/AtoZGamesV2 | 0 | 7067140 | <reponame>RedStoneCr33per/AtoZGamesV2
namespace Sciencetific_Calc
{
partial class fairyTailEpisode4
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up an... |
Tarantula/MVP/View/IBookView.cs | mrsharpoblunto/tarantula | 1 | 7067141 | <filename>Tarantula/MVP/View/IBookView.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
using Tarantula.MVP.Events;
namespace Tarantula.MVP.View
{
public interface IBookView: IView
{
event MouseEventHandler StartDrag;
event EventHandle... |
build.cake | igloo15/ChangelogGenerator | 4 | 7067142 | <filename>build.cake
#l "nuget:?package=Cake.igloo15.Scripts.Bundle.CSharp&version=1.1.0"
var target = Argument<string>("target", "Default");
AddSetup((data) => {
data["Markdown-Generator-Filter"] = "./dist/**/publish/Changelog*.dll";
});
Task("Pack")
.IsDependentOn("Standard-All")
.IsDependentOn("CSharp... |
starbase-nexus-api/Models/Constructions/Ship/ViewShip.cs | WildChild85/starbase-nexus-api | 1 | 7067143 | using starbase_nexus_api.Models.Constructions.ShipRoleReference;
using System;
using System.Collections.Generic;
namespace starbase_nexus_api.Models.Constructions.Ship
{
public class ViewShip : UuidViewModel
{
public Guid? CompanyId { get; set; }
public string? CreatorId { get; set;... |
src/LWJ.FSM/Model/States/TransitionalState.cs | liuwenjiexx/LWJ.FSM | 1 | 7067144 | <reponame>liuwenjiexx/LWJ.FSM
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System;
namespace LWJ.FSM.Model
{
public abstract class TransitionalState : EnterableState
{
private List<EnterableState> children = new List<EnterableState>();
private List<Transition>... |
Client-Server/Client-Server/Views/Home/Index.cshtml | dfz23/CollegeStuff | 0 | 7067145 | <reponame>dfz23/CollegeStuff
@{
ViewBag.Title = "Inicio";
}
<div class="jumbotron">
<h1>Proyecto Cliente Servidor</h1>
<p class="lead">Este proyecto utiliza las siguientes tecnologías.</p>
<ul>
<li>
Framework ASP.Net
</li>
<li>
ORM- Entity Framework
... |
Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/CacheBase.cs | QualitySolution/-GMap.NET | 1 | 7067146 | using MSR.CVE.BackMaker.MCDebug;
using System;
using System.Collections.Generic;
using System.Threading;
namespace MSR.CVE.BackMaker.ImagePipeline
{
public abstract class CacheBase : IRobustlyHashable
{
public enum RemoveExpectation
{
Absent,
Present,
Unknown
}
internal string hashName;... |
src/Nuclear.Wpf.Data.uTests/ValueConverters/BooleanConverter_uTests.cs | MikeLimaSierra/Nuclear.Wpf | 1 | 7067147 | <reponame>MikeLimaSierra/Nuclear.Wpf<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
using Nuclear.TestSite;
using Nuclear.Wpf.Data.ValueConverters.Base;
namespace Nuclear.Wpf.Data.ValueConverters {
class BooleanConverter_uTests {
[TestMeth... |
Test/ExampleConfigs/ConfigSoftDeleteDDD.cs | danmusk/EfCore.SoftDeleteServices | 95 | 7067148 | <filename>Test/ExampleConfigs/ConfigSoftDeleteDDD.cs
// Copyright (c) 2020 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using DataLayer.Interfaces;
using DataLayer.SingleEfCode;
using SoftDeleteService... |
MarcelJoachimKloubert.Blog.Net35/Input/DelegateCommandErrorEvent.cs | mkloubert/MJKBlog | 1 | 7067149 | // s. http://blog.marcel-kloubert.de
using System;
using System.IO;
namespace MarcelJoachimKloubert.Blog.Input
{
#region DELEGATE: DelegateCommandErrorEventHandler<TParam>
/// <summary>
/// Ein Handler für ein Ereignis, das einen Fehler in einem
/// <see cref="DelegateCommand{TParam}" /> meldet.
... |
WebApi/Lenic.Framework.Common/Reflections/IMetaX.cs | Lenic/Lenic.Web | 5 | 7067150 | <reponame>Lenic/Lenic.Web
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Threading;
namespace Lenic.Framework.Common.Reflections
{
/// <summary>
/// 泛型快速成员访问接口
/// </summary>
/// <typeparam name="T">从 <see cref="System.Reflect... |
PushSharp.Blackberry/BlackberryPushBrokerExtensions.cs | edavidis/PushSharp | 17 | 7067152 | using PushSharp.Blackberry;
using PushSharp.Core;
namespace PushSharp
{
public static class BISPushBrokerExtensions
{
public static void RegisterBlackberryService(this PushBroker broker, BlackberryPushChannelSettings channelSettings, IPushServiceSettings serviceSettings = null)
{
RegisterBlackberryService (b... |
test/TestAssemblies/FrenziedMarmot.DependencyInjection.Test.AssemblyB/ClassB3.cs | FrenziedMarmot/DependencyInjection | 1 | 7067153 | using System;
namespace FrenziedMarmot.DependencyInjection.Test.AssemblyB
{
[Injectable(Factory = typeof(ClassB3Factory))]
public class ClassB3 { }
public class ClassB3Factory : IInjectableFactory
{
public object Create(IServiceProvider serviceProvider)
{
return new ClassB... |
Softeq.XToolkit.PushNotifications/PushNotificationsUnregisterOptions.cs | Softeq/XToolkit.WhiteLabel | 25 | 7067154 | <filename>Softeq.XToolkit.PushNotifications/PushNotificationsUnregisterOptions.cs<gh_stars>10-100
// Developed by Softeq Development Corporation
// http://www.softeq.com
namespace Softeq.XToolkit.PushNotifications
{
/// <summary>
/// Options of how to Unregister from Push Notifications.
/// </summary>... |
DotNet/DISCommon/Model/SplitShardRequest.cs | huaweicloud/huaweicloud-sdk-net-dis | 1 | 7067155 | namespace Com.Bigdata.Dis.Sdk.DISCommon.Model
{
public class SplitShardRequest
{
public string StreamName { get; set; }
public string ShardToSplit { get; set; }
public string StartingHashKey { get; set; }
public string StreamRowkey { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.