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 |
|---|---|---|---|---|
ib-sample/InstantBuyLib/Cart.cs | android-pay/instantbuy-sample-csharp | 0 | 7034245 | /*
* Copyright (c) 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
PomodoroTimer/PomodoroTimer/Services/MockServices/MockDataService.cs | tarasbiletsky24/pomodoro | 0 | 7034246 | <reponame>tarasbiletsky24/pomodoro
using System;
using System.Linq;
using System.Collections.Generic;
using PomodoroTimer.Enums;
using PomodoroTimer.Models;
using PomodoroTimer.Services;
using PomodoroTimer.ViewModels.ObjectViewModel;
namespace PomodoroTimer
{
internal class MockDataService
{
private ... |
client/MAVN.Job.TokensStatistics.Client/TokensStatisticsClient.cs | mavn-alliance/MAVN.Job.TokensStatistics | 0 | 7034247 | using Lykke.HttpClientGenerator;
namespace MAVN.Job.TokensStatistics.Client
{
/// <summary>
/// TokensStatistics API aggregating interface.
/// </summary>
public class TokensStatisticsClient : ITokensStatisticsClient
{
// Note: Add similar Api properties for each new service controller
... |
src/Tizen.TV.UIControls.Forms/Renderer/MediaViewRenderer.cs | yourina/Tizen.TV.UIControls | 1 | 7034248 | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
ValveResourceFormat/Resource/Blocks/ResourceExtRefList.cs | pvp-by/ValveResourceFormat | 872 | 7034249 | using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using ValveResourceFormat.Serialization;
namespace ValveResourceFormat.Blocks
{
/// <summary>
/// "RERL" block. ResourceExtRefList_t.
/// </summary>
public class ResourceExtRefList : Block... |
ArchivialLibrary/Folders/ScanFrequencies.cs | keithbabinec/Archivial | 2 | 7034250 | namespace ArchivialLibrary.Folders
{
/// <summary>
/// Describes an options class for how often scans should occur.
/// </summary>
public class ScanFrequencies
{
/// <summary>
/// The low priority scan timeframe.
/// </summary>
public int LowPriorityScanFrequencyInHo... |
Assets/Scripts/Services/Connections/BezierCurveService.cs | wikitools/wikigraph | 1 | 7034252 | <filename>Assets/Scripts/Services/Connections/BezierCurveService.cs
using System;
using System.Linq;
using UnityEngine;
namespace Services.Connection {
public static class BezierCurveService {
private static readonly int B_SPLINE_DEGREE = 4;
private static readonly float BEND_PRECISION_MULTIPLIER = 3, STRAIGHT... |
android/generated/android/appwidget/AppWidgetHostView.cs | gordonjohnpatrick/XobotOS | 263 | 7034253 | using Sharpen;
namespace android.appwidget
{
[Sharpen.Stub]
public class AppWidgetHostView : android.widget.FrameLayout
{
internal const string TAG = "AppWidgetHostView";
internal const bool LOGD = false;
internal const bool CROSSFADE = false;
internal const int VIEW_MODE_NOINIT = 0;
internal const in... |
Platforms/Shared/Orbital.Input.XInput/Instance_Config.cs | reignstudios/Orbital-Framework | 35 | 7034254 | namespace Orbital.Input.XInput
{
enum XINPUT_DEVSUBTYPE : byte
{
UNKNOWN = 0,
GAMEPAD,
WHEEL,
ARCADE_STICK,
FLIGHT_STICK,
DANCE_PAD,
GUITAR,
GUITAR_ALTERNATE,
GUITAR_BASS,
DRUM_KIT,
ARCADE_PAD
}
public sealed partial class Instance : InstanceBase
{
public override GamepadHardwareConfigura... |
kunicardus.Android/Adapters/CatalogListAdapter.cs | shavlegkakulia/kunikardusrenew | 0 | 7034255 | //using MvvmCross.Binding.Droid.Views;
using Android.Runtime;
using Android.Content;
using Android.Views;
using Android.Widget;
using System.Collections.Generic;
using MvvmCross.Binding.Droid.Views;
using MvvmCross.Binding.Droid.BindingContext;
using Kunicardus.Core.Models.DB;
using kunicardus.Droid;
namespace Kunica... |
src/Cpnucleo.RazorPages/Pages/ImpedimentoTarefa/Listar.cshtml.cs | jonathanperis/cpnucleo-pages | 3 | 7034256 | namespace Cpnucleo.RazorPages.Pages.ImpedimentoTarefa;
[Authorize]
public class ListarModel : PageBase
{
private readonly ICpnucleoApiService _cpnucleoApiService;
public ListarModel(ICpnucleoApiService cpnucleoApiService)
{
_cpnucleoApiService = cpnucleoApiService;
}
[BindProperty]
p... |
src/libraries/Faze.Abstractions/Faze.Abstractions/Core/Pipelines/IReversePipelineBuilder.cs | b-faze/Faze | 0 | 7034257 | using System;
namespace Faze.Abstractions.Core
{
/// <summary>
/// Used to build up pipeline steps in reverse order
/// </summary>
public interface IReversePipelineBuilder
{
IReversePipelineBuilder<T, T> Require<T>();
IReversePipelineBuilder<TNext> Require<TNext>(Action<TNext> fn);... |
WPF Game/Source/Logic/GameObject.cs | Asuress/3SemProject | 0 | 7034258 | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
using WPF_Game.Source.Components;
using WPF_Game.Source.Main;
using WPF_Game.Source.Physics;
using Transform... |
src/MongoDB.Driver/Linq/Processors/Transformers/VBNothingConversionRemovalTransformer.cs | kosmakoff/mongo-csharp-driver | 289 | 7034259 | <reponame>kosmakoff/mongo-csharp-driver
/* Copyright 2015 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
src/Modules/Meetings/Domain/MeetingGroups/Policies/MeetingGroupExpirationDatePolicy.cs | GamilYassin/modular-monolith-with-ddd | 0 | 7034260 | <reponame>GamilYassin/modular-monolith-with-ddd
namespace CompanyName.MyMeetings.Modules.Meetings.Domain.MeetingGroups.Policies
{
public static class MeetingGroupExpirationDatePolicy
{
public static List<Guid> GetMeetingGroupsCoveredByMemberSubscription(
List<MeetingGroupMemberData> meeting... |
src/ImageProcessor.Web.Episerver.UI.Blocks/Models/Blocks/MetaBlock.cs | ErikHen/ImageProcessor.Web.Episerver | 18 | 7034261 | using System.ComponentModel.DataAnnotations;
using EPiServer;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using ImageProcessor.Web.Episerver.UI.Blocks.Business;
namespace ImageProcessor.Web.Episerver.UI.Blocks.Models.Blocks
{
[ContentType(DisplayName = "Meta",
GUID = "e8270b25-2d7e-... |
test/NetTopologySuite.IO.GeoJSON.Test/Issues/NetTopologySuite.IO.GeoJSON/GitHubIssue94.cs | NetTopologySuite/GeoJSON | 0 | 7034262 | using System.IO;
using NetTopologySuite.Features;
using NetTopologySuite.Geometries;
using Newtonsoft.Json;
using NUnit.Framework;
namespace NetTopologySuite.IO.GeoJSON.Test.Issues.NetTopologySuite.IO.GeoJSON
{
[GeoJsonIssueNumber(94)]
public sealed class GitHubIssue94
{
private static void DoTes... |
Rs.PLY/Rs.DataBase/IDatabaseConfiguration.cs | xhp681/PLY | 0 | 7034263 | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System;
using System.Data.Common;
namespace Rs.DataBase
{
public interface IDatabaseConfiguration<TBuilder, TExtension> : IDatabaseConfiguration
where TBuilder : RelationalDbContextOptionsBuilder<TBu... |
WallpaperEVO/WallpaperEVO/ImageMenu.Designer.cs | JonathanCPP/WallpaperEVO | 1 | 7034264 | <gh_stars>1-10
namespace WallpaperEVO
{
partial class ImageMenu
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
NetControl4BioMed/Pages/Identity/LoginWithTwoFactorAuthentication.cshtml | angelcnx/NetControl4BioMed | 0 | 7034265 | @page
@model LoginWithTwoFactorAuthenticationModel
@{
ViewData["Title"] = "Log in with two-factor authentication";
}
<div class="flex-grow-1 d-flex flex-column justify-content-center">
<div class="row">
<div class="offset-lg-3 col-lg-6">
<div class="card mb-3">
<div class="... |
Courses/Programming/Data-Structures-and-Algorithms/AI-competition/TexasHoldem.Logic/GameMechanics/TwoPlayersHandLogic.cs | todorm85/TelerikAcademy | 0 | 7034266 | <gh_stars>0
namespace TexasHoldem.Logic.GameMechanics
{
using System.Collections.Generic;
using System.Linq;
using TexasHoldem.Logic.Cards;
using TexasHoldem.Logic.Helpers;
using TexasHoldem.Logic.Players;
internal class TwoPlayersHandLogic
{
private readonly int handNumber;
... |
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_TypeIs.cs | zlxy/Genesis-3D | 0 | 7034267 | // 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, modify, merge, publish,
// distribute, sublicense, and/or sell... |
ChainEat/Assets/Scripts/Pickup.cs | farazkey6/ChainEat | 1 | 7034268 | <reponame>farazkey6/ChainEat<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pickup : MonoBehaviour
{
public float throwForce;
private Vector2 objectPos;
private float distance;
public bool canHold = true;
public GameObject item;
publi... |
sdk/project/hmi_tool/SearchForm.Designer.cs | doyaGu/C0501Q_HWJL01 | 1 | 7034269 | namespace GUIDesigner
{
partial class SearchForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
test/Shared/UnitTests/CommandLine/TestHelpers/TestCommandEnvironment.cs | mariloutb/EntityFramework-Classic | 96 | 7034270 | <reponame>mariloutb/EntityFramework-Classic
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace CmdLine.Tests
{
extern alias migrate;
using System;
using System.Collections.Generic;
public class TestCommandEnvir... |
src/SDKs/Batch/DataPlane/Azure.Batch/GeneratedProtocol/Models/ApplicationSummary.cs | azure-keyvault/azure-sdk-for-net | 0 | 7034271 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerate... |
apiClientDotNet/Models/AdminStreamFilter.cs | Nexus452/symphony-api-client-dotnet | 3 | 7034272 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace apiClientDotNet.Models
{
public class AdminStreamFilter
{
[JsonProperty("streamTypes")]
public List<String> streamTypes { get; set; }
[JsonProperty("scope")]
publ... |
src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs | koush/xsp | 0 | 7034273 | <reponame>koush/xsp
//
// ModMonoWorkerRequest.cs
//
// Authors:
// <NAME>
// <NAME>
//
// Copyright (c) 2002 <NAME>.
// (c) 2002,2003 Ximian, Inc.
// All rights reserved.
// (C) Copyright 2004-2008 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any pers... |
src/PoF/PoF.StagingStore/InMemory/InMemoryStagingStore.cs | dpmiddleware/capm | 0 | 7034274 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PoF.StagingStore.InMemory
{
internal class InMemoryStagingStore : IStagingStore
{
private Dictionary<string, IComponentStagingStore> _componentStagingStores = new Dictionary<string, IComponentStagingStore>();
... |
JelloScrum/JelloScrum.Model.Tests/Model/TaskTijdRegistratieTest.cs | auxilium/JelloScrum | 1 | 7034275 | // Copyright 2009 Auxilium B.V. - http://www.auxilium.nl/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... |
src/RabbitMQCoreClient/Models/QueueBase.cs | MONQDL/RabbitMQCoreClient | 7 | 7034276 | using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using RabbitMQCoreClient.Exceptions;
using System;
using System.Collections.Generic;
namespace RabbitMQCoreClient.Configuration.DependencyInjection.Options
{
/// <summary>
/// Options to be applied to the message queue.
/// </summary>
public abstrac... |
Controls/Classes/LotteryAndDataItems.cs | returnanapple/Controls | 1 | 7034277 | public enum LotteryAndDataItems
{
重庆时时彩 = 101,
菲乐时时彩 = 102,
江西时时彩 = 103,
新疆时时彩 = 104,
_11运夺金 = 105,
广东11选5 = 106,
北京PK拾 = 107,
福彩3D = 108,
体彩P3 = 109,
会员管理 = 201,
资金管理 = 202,
投注明细 = 203,
数据报表 = 204,
个人中心 = 205,
积分兑换 = 206,
在线客服 = 207
} |
PactNet.Tests/Core/MockProviderHostConfigTests.cs | milleniumbug/pact-net-repo | 0 | 7034279 | using PactNet.Core;
using PactNet.Extensions;
using PactNet.Models;
using Xunit;
namespace PactNet.Tests.Core
{
public class MockProviderHostConfigTests
{
private IPactCoreHostConfig GetSubject(int port = 2322, bool enableSsl = false,
string consumerName = "My Test Consumer", string provid... |
Basic/Runtime/ILValue.cs | markshevchenko/learningbasic | 5 | 7034280 | <filename>Basic/Runtime/ILValue.cs
namespace Basic.Runtime
{
/// <summary>
/// Declares a l-value expression.
/// </summary>
public interface ILValue : IExpression
{
}
}
|
AuroraDownloadPictures/MainForm.cs | hupo376787/AuroraDownloadPictures | 0 | 7034281 | using System;
using System.Collections.Generic;
using Microsoft.Win32;
using System.Text;
using System.IO;
using System.Net;
using System.Linq;
using System.Media;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Text.RegularExpressions;
namespace AuroraDownloadPictu... |
Masuda.Net/HelpMessage/GuildRoles.cs | ssccinng/Masuda.Net | 15 | 7034282 | using Masuda.Net.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Masuda.Net.HelpMessage
{
public class GuildRoles
{
/// <summary>
/// 频道Id
/// </summary>
... |
ConsoleApp1/Feature1.cs | gauravsarwal/GitTest1 | 0 | 7034283 | using System;
namespace ConsoleApp1
{
class Feature1
{
public int Add(int x, int y)
{
return x + y;
}
}
}
|
Packed/Deconstruction.cs | GaryHuan9/CodeHelpers | 1 | 7034284 | // ReSharper disable ParameterHidesMember
namespace CodeHelpers.Packed
{
partial struct Float2
{
public void Deconstruct(out float X, out float Y)
{
X = this.X;
Y = this.Y;
}
}
partial struct Float3
{
public void Deconstruct(out float X, out float Y, out float Z)
{
X = this.X... |
src/JsonApiDotNetCore/Diagnostics/CodeTimingSessionManager.cs | sgryphon/JsonApiDotNetCore | 490 | 7034285 | <gh_stars>100-1000
using System;
using System.Linq;
#pragma warning disable AV1008 // Class should not be static
namespace JsonApiDotNetCore.Diagnostics
{
/// <summary>
/// Provides access to the "current" measurement, which removes the need to pass along a <see cref="CascadingCodeTimer" /> instance through t... |
Projects/Chapter12Example03/Chapter12Example03/VectorDelegates.cs | laoling/C-sharp-note-StepByStep | 2 | 7034286 | <reponame>laoling/C-sharp-note-StepByStep
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Chapter12Example03
{
public static class VectorDelegates
{
public static int Compare(Vector x, Vector y)
{
if (x.R > y.R)
{
... |
Assets/Scripts/GameManager.cs | scottt4/TowerDefence | 1 | 7034287 | using UnityEngine;
public class GameManager : MonoBehaviour
{
private static GameManager Instance = null;
private static int EnemiesRemaining;
private static float Score;
private int Level;
private static float Gold;
public bool Loss;
private float ArmorPenetration;
private float GoldM... |
GameDesigner/Blueprint/Property.cs | penghuidong/gdnet | 56 | 7034288 | <gh_stars>10-100
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace GameDesigner
{
/// <summary>
/// 属性信息处理器 -- 方法属性信息处理类,类似方法信息类
/// </summary>
[System.Serializable]
public class Property : Field
{
private PropertyInfo _propertyInfo = null;
... |
src/Hesabot.Services/Models/AccountDto.cs | imaun/hesabot | 0 | 7034289 | <filename>src/Hesabot.Services/Models/AccountDto.cs
using Hesabot.Core.Models;
namespace Hesabot.Services.Models {
public class CreateAccountDto {
public string Title { get; set; }
public string CardNumber { get; set; }
public long InitBalance { get; set; }
public string Descri... |
workspace/SRM 636/SortishUnitTest.cs | Camypaper/TopCoder | 0 | 7034290 | <reponame>Camypaper/TopCoder<filename>workspace/SRM 636/SortishUnitTest.cs
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class UnitTest
{
public List<Action> Tests = new List<Action>(){};
public UnitTest()
{
Tests.Add(Example0)... |
AdmBoots.Application/Menus/IMenuService.cs | xuke353/Adm.Boot | 34 | 7034291 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
using AdmBoots.Application.Menus.Dto;
namespace AdmBoots.Application.Menus {
public interface IMenuService : ITransientDependency {
IEnumerable<GetTreeMenuOutput> GetMenusByRole();
IEnumerable<GetTreeMenuOutput> Ge... |
bai8-9_thuc_hanh_2/bai8-9_thuc_hanh_2/CTruyCapDuLieu.cs | thuanpham2311/thuc-hanh-lap-trinh-huong-doi-tuong | 0 | 7034292 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace thuc_hanh_2
{
class CTruyCapDuLieu
{
private static CTruyCapDuLieu m_data = null;
private List<CHangHoa> m_dshh;
private List<CHoaDon> m_dshd;
... |
Test/VimCoreTest/ClipboardRegisterValueBackingTest.cs | TKumadaki/VsVim | 1,704 | 7034293 | using System;
using Moq;
using Xunit;
namespace Vim.UnitTest
{
public sealed class ClipboardRegisterValueBackingTest
{
private readonly Mock<IClipboardDevice> _clipboardDevice;
private readonly ClipboardRegisterValueBacking _valueBackingRaw;
private readonly IRegisterValueBac... |
Unity2019ILRuntime/Assets/Examples/Architecture@hotfix/2.BindableProperty/BindablePropertyExample.cs | JiYangJi/QFramework | 1 | 7034294 |
using UniRx;
namespace QFramework.Example
{
public partial class BindablePropertyExample
{
/// <summary>
/// 声明一个 Count 属性
/// </summary>
Property<int> mCount = new Property<int>(0);
void OnStart()
{
// Code Here
// Count 与 Text 绑定
// 当 Count 的值有变更时,Text 自动更新
mCount.BindWithInitialVal... |
Assets/Scripts/GameManagement/Key.cs | Fatihprlg/GGJ2022-kuleizmir | 0 | 7034295 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Key : MonoBehaviour
{
public GameObject plug;
public GameObject key;
public Keys keyType;
bool isGoing = false;
public float speed = 8;
public bool plugged = false;
private void OnTriggerStay(Collid... |
FSMS.Web/Areas/DemoManage/Views/Report/Peity.cshtml | GeekPowerFelixSun/FSMS | 2 | 7034296 | @{
Layout = "~/Views/Shared/_FormGray.cshtml";
}
@inject Microsoft.AspNetCore.Hosting.IHostingEnvironment HostingEnvironment
@section header{
@BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/report/peity/jquery.peity.min.js"))
}
<div class="wrapper wrapper-content">
<div class... |
Test/IdFiscaleValidator.cs | pumamood/FatturaElettronica.NET | 0 | 7034297 | <gh_stars>0
using FatturaElettronica.Common;
using FatturaElettronica.Tabelle;
using FatturaElettronica.Validators;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class IdFiscaleValidator
: BaseClass<IdFiscaleIVA, IdFiscaleIVAValidator>
{
[TestMe... |
CarRacing/Repositories/RacerRepository.cs | stsertov/OOP-Exam-15-08-2021 | 0 | 7034298 | <reponame>stsertov/OOP-Exam-15-08-2021
using CarRacing.Models.Racers.Contracts;
using CarRacing.Repositories.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CarRacing.Repositories
{
public class RacerRepository : IRepository<IRacer>
{
private readonly List<IRace... |
Managers/ModuleManager/SharpPsExecManager.cs | itzdan/RedPeanut | 1 | 7034299 | //
// Author: B4rtik (@b4rtik)
// Project: RedPeanut (https://github.com/b4rtik/RedPeanut)
// License: BSD 3-Clause
//
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using static RedPeanut.Models;
using static RedPeanut.Utility;
namespace RedPeanut
{
pu... |
src/NewRelic.Core/DateTimeExtensions.cs | hsinghkalsi/newrelic-dotnet-agent | 0 | 7034300 | <reponame>hsinghkalsi/newrelic-dotnet-agent
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
using System;
namespace NewRelic.Core
{
public enum TimeUnit
{
Ticks,
Milliseconds,
Seconds,
Minutes,
Hours,
Days,... |
src/Core/Misc/BoundedCounter.cs | ferBonnin/axe-windows | 75 | 7034301 | <reponame>ferBonnin/axe-windows<gh_stars>10-100
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Axe.Windows.Core.Resources;
using System;
namespace Axe.Windows.Core.Misc
{
/// <summary>
/// Cla... |
UnitTests/StandardErrorsTests.cs | soxtoby/EasyAssertions | 2 | 7034302 | using NSubstitute;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
using static System.Environment;
namespace EasyAssertions.UnitTests
{
[TestFixture]
public ... |
test/Venflow.Benchmarks/Benchmarks/InstantiationBenchmark.cs | T0shik/Venflow | 164 | 7034303 | using System.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Venflow.Benchmarks.Models.Configurations;
namespace Venflow.Benchmarks.Benchmarks
{
[MemoryDiagnoser]
[SimpleJob(RuntimeMoniker.Net60)]
public class InstantiationBenchmark : BenchmarkBase
{
[Globa... |
Assets/App/Scripts/Map/MiniMapControl.cs | Toshizabeth/Ling | 0 | 7034304 | <reponame>Toshizabeth/Ling<filename>Assets/App/Scripts/Map/MiniMapControl.cs
//
// MiniMapControl.cs
// ProductName Ling
//
// Created by <NAME> on 2020.05.02
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.Tilemap... |
Chess.View/Window/PieceWindow.xaml.cs | typedbyte/Chess.NET | 44 | 7034305 | <reponame>typedbyte/Chess.NET<gh_stars>10-100
//-----------------------------------------------------------------------
// <copyright file="PieceWindow.xaml.cs">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// <author><NAME></author>
//--------------------------------------------------------------... |
Shelter/NGUI/UI/UICenterOnChild.cs | ITALIA195/Shelter | 3 | 7034306 | <reponame>ITALIA195/Shelter
using NGUI.Internal;
using UnityEngine;
[AddComponentMenu("NGUI/Interaction/Center On Child")]
// ReSharper disable once CheckNamespace
public class UICenterOnChild : MonoBehaviour
{
private GameObject mCenteredObject;
private UIDraggablePanel mDrag;
public SpringPanel.OnFinishe... |
src/MicroElements.Swashbuckle.FluentValidation/FluentValidationOperationFilter.cs | yuft/MicroElements.Swashbuckle.FluentValidation | 0 | 7034307 | <filename>src/MicroElements.Swashbuckle.FluentValidation/FluentValidationOperationFilter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation;
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.Swag... |
Courses/Software Technologies/Databases/Exam/uploaded solution/Problem 3 - Sample Data/PetStore.ConsoleClient/Startup.cs | todorm85/TelerikAcademy | 0 | 7034308 | namespace PetStore.ConsoleClient
{
using System;
using PetStore.Data;
using PetStore.Importer;
public class Startup
{
private const int CountriesSeedCount = 20;
private const int SpeciesSeedCount = 100;
private const int PetsSeedCount = 5000;
private const int Categ... |
Lawo.EmberPlusSharpTest/Model/ElementAttributeTest.cs | Roog/ember-plus-sharp | 15 | 7034309 | <filename>Lawo.EmberPlusSharpTest/Model/ElementAttributeTest.cs
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// <copyright>Copyright 2012-2017 Lawo AG (http://www.lawo.com).</copyright>
// Distributed under the Boost Software License, Version ... |
Assets/EnemyHitPoints.cs | EmilVHermansen/GameDev-Assignment4 | 2 | 7034310 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyHitPoints : MonoBehaviour
{
public int hp;
CurrencyController cc;
// Start is called before the first frame update
void Start()
{
cc = GameObject.Find("GameController").GetComponent<CurrencyCo... |
VBSharpOutliner/CSharp/Outliners/ISharpOutliner.cs | Nicologies/VbSharpOutliner | 1 | 7034311 | <gh_stars>1-10
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
namespace VBSharpOutliner.CSharp.Outliners
{
interface ISharpOutliner
{
List<TagSpan<IOutliningRegionTag>> GetOutlineSpan(SyntaxNode node, ITextSn... |
iDtechFinalProj/Assets/Scenes/Scripts/Player_movement.cs | sudo-behappy/iDtechFinalProj | 0 | 7034312 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player_movement : MonoBehaviour
{
//movement variables
float forward = 0;
float rotation = 0;
float vRotation = 0;
//speed
public float linearSpeed = 15f;
public float angularSpeed =... |
src/Eto.WinForms/Forms/Controls/StepperHandler.cs | ManuelHu/Eto | 3,222 | 7034313 | <reponame>ManuelHu/Eto
using Eto.Forms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using swf = System.Windows.Forms;
using System.Drawing;
using System.Reflection;
namespace Eto.WinForms.Forms.Controls
{
public class StepperHandler : WindowsCon... |
ITest/ITest.DTO/UserTestResultDto.cs | The-Singing-Melons/ITestSystem | 0 | 7034314 | namespace ITest.DTO
{
public class UserTestResultDto
{
public string UserId { get; set; }
public string TestId { get; set; }
public string TestName { get; set; }
public string UserName { get; set; }
public string CategoryName { get; set; }
public int RequestedTim... |
MaSchoeller.Dublin/MaSchoeller.Dublin.Core/Communications/Models/DeleteResult.cs | maSchoeller/dhbw-vorlesung-csharp | 3 | 7034316 | <filename>MaSchoeller.Dublin/MaSchoeller.Dublin.Core/Communications/Models/DeleteResult.cs<gh_stars>1-10
using MaSchoeller.Dublin.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace MaSchoeller.D... |
Arebis.Data/Model/ModelRelation.cs | codetuner/Arebis.Common | 10 | 7034317 | <filename>Arebis.Data/Model/ModelRelation.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Arebis.Data.Model
{
[Serializable]
public class ModelRelation : DatabaseOwnedElement
{
public ModelRelation()
... |
Assets/PrefsUGUI/Scripts/Guis/Prefs/PrefsGuiColor.cs | a3geek/PrefsUGUI | 10 | 7034318 | <reponame>a3geek/PrefsUGUI<gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
namespace PrefsUGUI.Guis.Prefs
{
[AddComponentMenu("")]
public class PrefsGuiColor : PrefsGuiVectorBase<Color>
{
protected override int ElementCount => 4;
protected override InputField.ContentType ContentType... |
System.ServiceModel/System/ServiceModel/Configuration/FederatedMessageSecurityOverHttpElement.cs | cnork/referencesource | 911 | 7034319 | //------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System.Configuration;
using System.... |
src/ManiaMap/EdgeIndexes.cs | mpewsey/ManiaMap | 2 | 7034320 | using System;
using System.Runtime.Serialization;
namespace MPewsey.ManiaMap
{
/// <summary>
/// A pair of edge node indexes.
/// </summary>
[DataContract]
public struct EdgeIndexes : IEquatable<EdgeIndexes>, IComparable<EdgeIndexes>
{
/// <summary>
/// The from node index.
... |
src/Pulumi.Azure.Constants/Storage/StorageAccountKinds.cs | StefH/Pulumi.Azure.Constants | 4 | 7034321 | <filename>src/Pulumi.Azure.Constants/Storage/StorageAccountKinds.cs
// ReSharper disable once CheckNamespace
namespace Pulumi.Azure.Constants
{
/// <summary>
/// Defines the Kind of account. Valid options are `BlobStorage`, `BlockBlobStorage`, `FileStorage`, `Storage` and `StorageV2`.
/// Changing this for... |
src/ZendeskApi.Client/Models/AuditEvents/CommentRedactionEvent.cs | Ud0o/ZendeskApiClient | 61 | 7034322 | <reponame>Ud0o/ZendeskApiClient
using Newtonsoft.Json;
namespace ZendeskApi.Client.Models.AuditEvents
{
public class CommentRedactionEvent : AuditEvent
{
[JsonProperty("comment_id")]
public long CommentId { get; set; }
}
} |
ASampleApp/ASampleApp/ViewModels/DogListMVVMViewModel.cs | andrewchungxam/ASampleApp | 0 | 7034323 | <reponame>andrewchungxam/ASampleApp<gh_stars>0
//METHOD 1
using System;
using System.Collections.Generic;
using ASampleApp.Models;
using System.Collections.ObjectModel;
namespace ASampleApp
{
public class DogListMVVMViewModel : BaseViewModel
{
ObservableCollection<Dog> _observableCollectionOfDogs;
public DogL... |
src/LuaFramework/ByteBuffer.cs | moto2002/tianqi_src | 5 | 7034324 | <reponame>moto2002/tianqi_src
using LuaInterface;
using System;
using System.IO;
using System.Text;
namespace LuaFramework
{
public class ByteBuffer
{
private MemoryStream stream;
private BinaryWriter writer;
private BinaryReader reader;
public ByteBuffer()
{
this.stream = new MemoryStream();
this... |
DFC.Digital/DFC.Digital.Core/CoreAutofacModule.cs | Muthuramana/dfc-digital | 5 | 7034325 | using Autofac;
using Autofac.Extras.DynamicProxy;
using Castle.DynamicProxy;
using DFC.Digital.Core.Configuration;
using DFC.Digital.Core.Interceptors;
namespace DFC.Digital.Core
{
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public class CoreAutofacModule : Module
{
protected overrid... |
Wox.Plugin.Links/Services/FileService.cs | inormis/Wox.Plugin.Links | 6 | 7034326 | using System;
using System.IO;
namespace Wox.Plugin.Links.Services {
public interface IFileService {
bool FileExists(string filePath);
bool DirectoryExists(string path);
bool WriteAllText(string filePath, string content);
string ReadAllText(string path);
string GetExtens... |
Assets/AppleLocalMultiplayer/Source/Internal/SingletonMonoBehaviour.cs | harrywsh/hackx-holokit | 2 | 7034327 | <filename>Assets/AppleLocalMultiplayer/Source/Internal/SingletonMonoBehaviour.cs
using UnityEngine;
namespace LostPolygon.Apple.LocalMultiplayer.Internal {
/// <summary>
/// A reliable singleton implementation for <seealso cref="MonoBehaviour" />. Makes sure only one instance ever exists.
/// </summa... |
001_UnityProject/SGDJamII_Game/Assets/Scripts/AI/Action.cs | Pokoi/SGDJamII | 2 | 7034328 | /*
* File: Action.cs
* File Created: Tuesday, 22nd September 2020 2:11:31 pm
* ––––––––––––––––––––––––
* Author: <NAME>, 'Pokoi', Villar (<EMAIL>)
* ––––––––––––––––––––––––
* MIT License
*
* Copyright (c) 2020 Pokoidev
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
... |
src/Frapid.Web/Areas/MixERP.Sales/Backup/ViewModels/SalesReceipt.cs | Sandeepchau/MixErp22 | 1 | 7034329 | <filename>src/Frapid.Web/Areas/MixERP.Sales/Backup/ViewModels/SalesReceipt.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace MixERP.Sales.ViewModels
{
public sealed class SalesReceipt
{
public int OfficeId { get; set; }
public int UserId { get; set; }
public long L... |
My Exam/Theatre/DataProcessor/ImportDto/CastImportDto.cs | Plamen-Angelov/Entity-Framework | 0 | 7034330 | using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
using Theatre.Common;
namespace Theatre.DataProcessor.ImportDto
{
[XmlType("Cast")]
public class CastImportDto
{
[Required]
[XmlElement("FullName")]
[StringLength(GlobalConstants.Cast_FullName_MaxLenght, M... |
MetX/MetX.Standard/Pipelines/xlgFile.cs | wrawlsqw/xlg | 2 | 7034331 | <reponame>wrawlsqw/xlg
using System;
using System.IO;
using System.Xml.Serialization;
namespace MetX.Standard.Pipelines
{
/// <summary>
/// Represents a file
/// </summary>
[Serializable, XmlType(Namespace = "", AnonymousType = true)]
public class XlgFile
{
[XmlAttribute]
public... |
src/Merchello.Core/Models/Rdbms/ProductVariantDto.cs | dampee/Merchello | 0 | 7034332 | <filename>src/Merchello.Core/Models/Rdbms/ProductVariantDto.cs
using System;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace Merchello.Core.Models.Rdbms
{
[TableName("merchProductVariant")]
[PrimaryKey("pk", autoIncrement = false)]
[ExplicitColumns]
public... |
Aoc2020/Day13.cs | kickertw/aoc2020 | 1 | 7034333 | <reponame>kickertw/aoc2020
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Aoc2020
{
//--- Day 13: Shuttle Search ---
public static class Day13
{
public static long Part1(IEnumerable<string> rawInputs)
{
var inputs = rawInp... |
LaptopsSystem.Data/ILaptopsSystemData.cs | Valersd/LaptopsSystem | 0 | 7034334 | <filename>LaptopsSystem.Data/ILaptopsSystemData.cs
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using LaptopsSystem.Models;
namespace LaptopsSystem.Data
{
public interface ILaptopsSystemData
{
IRepository<Manufacturer> Manufacturers { get; }
IRepository<Comment> ... |
Assets/SChi_homework/script/Session4Homework.cs | Bartlett-RC3/skilling-module-1-siyuChi | 0 | 7034335 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Session4Homework: MonoBehaviour
{
public GameObject prefab;
public List<GameObject> Cubes = new List<GameObject>();
private int i;
// Use this for initialization
void Start ()
{
StartCo... |
Source/starshipxac.Shell/Interop/Library/LIBRARYSAVEFLAGS.cs | rasmus-z/starshipxac.ShellLibrary | 1 | 7034336 | <reponame>rasmus-z/starshipxac.ShellLibrary
using System;
using System.Diagnostics.CodeAnalysis;
namespace starshipxac.Shell.Interop.Library
{
/// <summary>
/// Specifies the options for handling a name collision when saving a library.
/// </summary>
/// <remarks>
/// http://msdn... |
ILSpy/ViewModels/TabPageModel.cs | Nyerst/ILSpy | 6 | 7034337 | // Copyright (c) 2019 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... |
lib/Whalerator/IntervalParser.cs | abowergroup/whalerator | 13 | 7034338 | <reponame>abowergroup/whalerator
/*
Copyright 2018 Digimarc, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required b... |
ExplorerTree/Model/ExplorerTreeItems/DriveItemModel.cs | Teigler/FoBOFD | 4 | 7034339 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace ExplorerTree.Model.ExplorerTreeItems
{
public class DriveItemModel : IExplorerTreeItemModel
{
public DriveItemModel()
{
... |
TranscripTrack.Logic/CurrencyDataService.cs | superking84/transcriptrack | 0 | 7034340 | <reponame>superking84/transcriptrack<gh_stars>0
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Threading.Tasks;
using TranscripTrack.Data;
namespace TranscripTrack.Logic
{
public class CurrencyDataService : BaseDataService
{
public CurrencyDataService(TrackerDbCont... |
Telerik.Windows.Controls.Extensions/SelectionExtensions_SelectedItems.cs | MediatedCommunications/Extensions | 0 | 7034341 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Telerik.Windows.Controls {
public static partial class SelectionExtensions {
public static readonly Dependen... |
src/MudBlazor/Services/ReseizeObserver/ResizeObserverFactory.cs | thevirtuoso1973/MudBlazor | 1,649 | 7034342 | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.JSInterop;
namespace MudBlazor.Services
{
public class ResizeObserverFactory : IResizeObserverFactory
{
private readonly IServiceProvider _provider;
public ResizeObserverFactory(IServiceProvider provider)
{
... |
Software/Musicat/RhythmCat/RhythmCat/Utilities.cs | Mora-Hannover/FARGonautica | 3 | 7034343 | <filename>Software/Musicat/RhythmCat/RhythmCat/Utilities.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace RhythmCat
{
public static class Utilities
{
public static string newline = System.Environment.NewLine;
public static Random rand = null;
... |
Sources/VRage.Render/Textures/MyTextureExtensions.cs | Wrennsun/SpaceEngineers | 3 | 7034344 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace VRageRender.Textures
{
public static class MyTextureExtensions
{
[Conditional("DEBUG")]
internal static void CheckTextureClass(this MyTexture texture, MyTextureClassEnum as... |
AopProxy.NET/AOP/Config/AopProxyConfig.cs | xzoth/AopProxy.Net | 1 | 7034345 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace AopProxy.AOP.Config
{
[Serializable]
[XmlType("AopProxy")]
[XmlRoot("AopProxy")]
public class AopProxyConfig : ConfigBase<AopProxyConfig>
{
... |
ZedGraph/zedgraph_source_5.0.1_customized/source/ZedGraph/EllipseObj.cs | bio-rad-lsg-open-source/ZedGraph-5.0.1 | 0 | 7034346 | //============================================================================
//ZedGraph Class Library - A Flexible Line Graph/Bar Graph Library in C#
//Copyright © 2004 <NAME>
//
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License as... |
src/MaterialDesignInPrism.Full/MaterialDesignInPrism.ColorPicker/HotKeyModel.cs | HenJigg/WeTool | 51 | 7034347 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MaterialDesignInPrism.ColorPicker
{
public class HotKeyModel
{
public EType SelectType { get; set; }
public EKey SelectKey { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.