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 |
|---|---|---|---|---|
DelveClientSDKTests/IntegrationTestsCommons.cs | RelationalAI-oss/DelveCSharpClientSDK | 0 | 7063694 | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Com.RelationalAI
{
using AnyValue = Object;
public class IntegrationTestsCommons
{
public static string DictionaryToString<K,V>(IDictionary < K, V > dictionary) {
string dictionaryString ... |
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Core/AlibabaCloud/SDK/ROS/CDK/Core/FnSub.cs | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 15 | 7063695 | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Core
{
/// <summary>The intrinsic function ``Fn::Sub`` substitutes variables in an input string with values that you specify.</summary>
/// <remarks>
/// In your templates, you can use this fu... |
src/Juniper.Root/Units/FileSize/Mibibytes.cs | capnmidnight/Juniper | 9 | 7063696 | <filename>src/Juniper.Root/Units/FileSize/Mibibytes.cs
namespace Juniper.Units
{
/// <summary>
/// Conversions from mibibytes, 2^20 bytes.
/// </summary>
public static class Mibibytes
{
/// <summary>
/// The number of mibibytes per bit
/// </summary>
public const floa... |
rpn interpreter/Program.cs | msherinn/math-interpreter | 0 | 7063697 | using System;
using System.Collections;
using System.Collections.Generic;
namespace ShuntingYard
{
//create stack
public class AlStack
{
public readonly ArrayList stack = new();
public void Push(string element)
{
stack.Insert(0, element);
}
public stri... |
src/OP10.NewContentAtTopHandler/NewContentAtTopEventHandler.cs | OPTEN/OP10.NewContentAtTopHandler | 0 | 7063698 | <reponame>OPTEN/OP10.NewContentAtTopHandler<filename>src/OP10.NewContentAtTopHandler/NewContentAtTopEventHandler.cs<gh_stars>0
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Events;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
namespa... |
aspnet-core/src/PrototipoSistemaFGV.Core/PrototipoSistemaFGVCoreModule.cs | DevsBueller/Proj-Angular-Core | 0 | 7063699 | <gh_stars>0
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Timing;
using Abp.Zero;
using Abp.Zero.Configuration;
using PrototipoSistemaFGV.Authorization.Roles;
using PrototipoSistemaFGV.Authorization.Users;
using PrototipoSistemaFGV.Configuration;
using PrototipoSistemaFGV.Localization;
using PrototipoS... |
Assets/laserNameInput.cs | lin60102/VR_game-2088-Horror | 0 | 7063700 | using System.Collections;
using System.Collections.Generic;
using Valve.VR;
using Valve.VR.Extras;
using Valve.VR.InteractionSystem;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class laserNameInput : MonoBehaviour
{
public static GameObject currentObject;
int currentID;
... |
VolunteeringProject/Assets/FantomPlugin/FantomLib/Scripts/System/XDebug.cs | Devin0xFFFFFF/comp4020project | 0 | 7063701 | <reponame>Devin0xFFFFFF/comp4020project<gh_stars>0
using System;
using System.Collections;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
namespace FantomLib
{
/// <summary>
/// Debugging log for runtime system (singleton)
/// </summary>
public class XDebug : SingletonBehaviour<XDebug>
... |
Program.cs | AlesyaDm/Homework6 | 0 | 7063702 | using System;
namespace Homework6
{
class Program
{
static void Main(string[] args)
{
Question question1 = new Question(1);
question1.QuestionText = "Дважды два";
question1.Answers = new Answer[4];
question1.Answers[0] = new WrongAnswer("1. 1");
... |
src/backend/Csrs.Api/Repositories/CourtLocationRepository.cs | ryder-cayden/jag-csrs-portal-public | 0 | 7063703 | <gh_stars>0
using Csrs.Api.Models.Dynamics;
using Simple.OData.Client;
namespace Csrs.Api.Repositories
{
public class CourtLocationRepository : Repository<SSG_IJSSBCCourtlocation>, ICourtLocationRepository
{
public CourtLocationRepository(IODataClient client, ILogger<CourtLocationRepository> logger) :... |
Neurotoxin.Godspeed/Neurotoxin.Godspeed.Shell/Database/QueryBuilder.cs | mercenaryntx/godspeed | 6 | 7063704 | using System;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Neurotoxin.Godspeed.Core.Extensions;
using Neurotoxin.Godspeed.Shell.Database.Attributes;
using ServiceStack.DataAnnotations;
namespace Neurotoxin.Godspeed.Shell.Database
{
public class QueryBuilder<T>
{
private rea... |
Assets/Paperweights.cs | Fartlicker777/Paperweights | 0 | 7063705 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using KModkit;
using Rnd = UnityEngine.Random;
public class Paperweights : MonoBehaviour {
public KMBombInfo Bomb;
public KMAudio Audio;
public KMSelectable[]... |
Strehan.GenericHandlers/HandlerById.cs | wstrehan/Strehan.GenericHandlers | 0 | 7063706 | <filename>Strehan.GenericHandlers/HandlerById.cs<gh_stars>0
/*
Copyright (C) 2018 <NAME>
*/
using System;
using System.Web.Script.Serialization;
using System.Collections.Generic;
using System.Web;
using System.IO;
using System.Text;
using Strehan.DataAccess;
namespace Strehan.GenericHandlers
{
/// <summary>
... |
examples/Web/KafkaClientHandle.cs | cjgalione/confluent-kafka-dotnet | 2,324 | 7063707 | // Copyright 2020 Confluent 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 w... |
CosmosEngine/Application/Runtime/Base/Application/Application.cs | DonnYep/CosmosEngine | 25 | 7063708 | using System;
using System.Diagnostics;
using Cosmos;
namespace CosmosEngine
{
public class Application
{
/// <summary>
/// 获取应用消耗;
/// </summary>
/// <returns></returns>
public static string GetAppProcessUsage()
{
using (var myProcess = Process.GetC... |
sources/RI.DomainServices.Common/Node/Repositories/IUnitOfWork.cs | RotenInformatik/DomainServicesDotNet | 1 | 7063709 | <reponame>RotenInformatik/DomainServicesDotNet
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using RI.DomainServices.Node.Objects;
using RI.DomainServices.Node.Transactions;
namespace RI.DomainServices.Node.Repositories
{
/// <summary>
//... |
NetComms.Tcp.Test/LoopBackTest.cs | Malcolmnixon/NetComms | 0 | 7063710 | using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NetComms.Tcp.Test
{
[TestClass]
public class LoopBackTest
{
[TestMethod]
public void TestClientNotification()
{
//... |
_bin/Win32Api/Enums/WM.cs | sarto-research/d-term | 11 | 7063711 | <filename>_bin/Win32Api/Enums/WM.cs
namespace App.Consoles.Service.Win32Api
{
internal enum WM
{
NULL = 0x0000,
CREATE = 0x0001,
DESTROY = 0x0002,
MOVE = 0x0003,
SIZE = 0x0005,
ACTIVATE = 0x0006,
SETFOCUS = 0x0007,
KILLFOCUS = 0x0008,
ENABLE = 0x000A,
SETREDRAW = 0x000B,
SETTEXT = 0x000C,
GET... |
VimCoreTest/TextSelectionUtilTest.cs | philipmat/VsVim | 0 | 7063712 | using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Moq;
using NUnit.Framework;
using Vim;
using Vim.Extensions;
using Vim.UnitTest;
namespace VimCore.UnitTest
{
[TestFixture]
public class TextSelectionUtilTest
{
private Mock<ITextSelection> _selection;
... |
FormsCurvedBottomNavigationView/FormsCurvedBottomNavigationView/BottomNavTabPageRenderer.apple.cs | xamarindevelopervietnam/FormsCurvedBottomNavigationView | 0 | 7063713 | using CoreGraphics;
using FormsCurvedBottomNavigation;
using System;
using System.Collections.Generic;
using System.Text;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(CurvedBottomTabbedPage), typeof(BottomNavTabPageRenderer))]
namespace FormsCurvedBottomNavigati... |
ImageViewer/Graphics/SpatialTransformMemento.cs | econmed/ImageServer20 | 1 | 7063714 | #region License
// Copyright (c) 2009, ClearCanvas 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 retain the above copyright not... |
test/IbanNet.DependencyInjection.Autofac.Tests/IbanNetOptionsBuilderTests.cs | French-Coders-Organization/IbanNet | 74 | 7063715 | using Autofac;
using IbanNet.Validation.Rules;
using TestHelpers;
using TestHelpers.FakeRules;
using TestHelpers.FluentAssertions;
namespace IbanNet.DependencyInjection.Autofac
{
public class IbanNetOptionsBuilderTests
{
private readonly AutofacIbanNetOptionsBuilder _builder;
private readonly ... |
ReCapProject/Entities/DTOs/UserProfileUpdateDto.cs | talhakoylu/ReCapProject | 25 | 7063716 | <reponame>talhakoylu/ReCapProject
using System;
using System.Collections.Generic;
using System.Text;
using Core.Entities;
using Core.Entities.Concrete;
namespace Entities.DTOs
{
public class UserProfileUpdateDto : IDto
{
public User User { get; set; }
public string Password { get; set; }
}... |
samples/Sample.KxMenu.Bindings/ViewController.cs | moljac/KxMenu | 0 | 7063717 | using System;
using System.Collections.Generic;
#if ! __CLASSIC__
using Foundation;
using UIKit;
using CoreGraphics;
#else
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.CoreGraphics;
using CGRect=System.Drawing.RectangleF;
using nfloat=System.Single;
#endif
using KxMenu;
namespace Sample.KxMen... |
RLabs.Cielo.SDK.Test/Factory/PaymentCreator.cs | danruziska/Cielo-eCommerce-SDK | 0 | 7063718 | <filename>RLabs.Cielo.SDK.Test/Factory/PaymentCreator.cs
using RLabs.Cielo.SDK.Enum;
using RLabs.Cielo.SDK.Model.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PaymentClass = RLabs.Cielo.SDK.Model.Entity.Payment;
namespace RLabs.Cielo.... |
FileTools/FileTools/Compressor.cs | ChrisAkridge/Misc | 0 | 7063719 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace FileTools
{
public sealed class StringCompressor
{
// Compression algorithm is based on the Toy... |
test/unit/src/Shared/Jerrycurl.Test.Common/DatabaseHelper.cs | rwredding/jerrycurl | 44 | 7063720 | using Jerrycurl.Data.Commands;
using Jerrycurl.Data.Filters;
using Jerrycurl.Data.Metadata;
using Jerrycurl.Data.Queries;
using Jerrycurl.Relations;
using Jerrycurl.Relations.Metadata;
using Jerrycurl.Test.Profiling;
using Jerrycurl.Vendors.Sqlite.Metadata;
using Microsoft.Data.Sqlite;
using System;
using System.Colle... |
MonoGame.Framework/PSSuite/Audio/Sound.cs | Aranda/MonoGame | 1 | 7063721 | using System;
using PssSound = Sce.PlayStation.Core.Audio.Sound;
using Sce.PlayStation.Core.Audio;
namespace Microsoft.Xna.Framework.Audio
{
/// <summary>
/// Pause,Resume,Duration,CurrentPosition are unsupported on PSS
/// </summary>
internal class Sound : IDisposable
{
private PssSound _sound;
... |
PwnGenLite/frmmain.cs | DreamVB/PwsGen-Lite | 0 | 7063722 | using System;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DreamVB.RndPassword;
using System.IO;
using System.Diagnostics;
namespace PwnGenLite
{
public partial class frmmain : Form
{
public frmmain()
{
InitializeCompo... |
MessageSerializerUnitTests/TestTypeSerializerBcd.cs | jacknino/MessageSerializer | 0 | 7063723 | <filename>MessageSerializerUnitTests/TestTypeSerializerBcd.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using MessageSerializer;
using NUnit.Framework;
namespace MessageSerializerUnitTests
{
[TestFixture]
public class TestTypeSe... |
src/Shared/Infrastructure/Persistence/EntityFramework/Extension/ConfigurationExtension.cs | RmrGnzlzLpz/CSharp-DDD-Skeleton | 0 | 7063724 | using System;
using System.Globalization;
using System.Linq;
namespace CodelyTv.Shared.Infrastructure.Persistence.EntityFramework.Extension
{
public static class ConfigurationExtension
{
private static readonly Func<char, string> AddUnderscoreBeforeCapitalLetter =
x => char.IsUpper(x) ? "_"... |
Color TD/Content/UIElement.cs | EMattfolk/Color-TD | 0 | 7063725 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Color_TD
{
class UIElement
{
private Bitmap image;
private TowerType tower;
private bool isClickable;
private string text;
... |
Aware/Util/Enums.cs | asetil/ArzTalep | 0 | 7063726 | namespace Aware.Util.Enum
{
public enum StatusType
{
None = -1,
Passive = 0,
Active = 1,
Deleted = 2,
WaitingActivation = 3
}
public enum ManagerCacheMode
{
NoCache = 0,
UseCache = 1,
UseResponsiveCache = 2 //After Save + Delete ops c... |
b2xtranslator/Xls/XlsFileFormat/ChartSequences/OfficeGraphBiffRecordSequence.cs | kafkaesqu3/Macrome | 484 | 7063727 | <reponame>kafkaesqu3/Macrome
using b2xtranslator.StructuredStorage.Reader;
namespace b2xtranslator.Spreadsheet.XlsFileFormat
{
public class BiffRecordSequence
{
IStreamReader _reader;
public IStreamReader Reader
{
get { return this._reader; }
set { this._reader ... |
Authentication.Facebook/FacebookConfig.cs | evencart/plugins | 3 | 7063728 | <gh_stars>1-10
namespace Authentication.Facebook
{
public static class FacebookConfig
{
public const string FacebookLoginRouteName = "Facebook.LoginRoute";
public const string FacebookRedirectUrl = "Facebook.RedirectUrl";
public const string FacebookSettingsRouteName = "FacebookSettin... |
Assets/Script/Main Game/BuildingDetectionSystem.cs | StenAskerBergman/Moonlight | 0 | 7063729 | using UnityEngine;
public class BuildingDetectionSystem : MonoBehaviour
{
public float m_MaxDistance;
public bool m_HitDetect;
Collider m_Collider;
RaycastHit m_Hit;
void Start()
{
//Choose the distance the Box can reach to
m_MaxDistance = 20.0f;
m_Collider = GetC... |
Objects_SimpleClasses-Exercise/06.Messages/Messages.cs | Peter-Georgiev/Programming.Fundamentals | 0 | 7063730 | using System;
using System.Collections.Generic;
using System.Linq;
class User
{
public string Username { get; set; }
public List<Message> Messages { get; set; }
public User(string username) //Конструкрот
{ //this - за яснота
this.Username = username;
this.Messages = new List<Me... |
ecs-20140526/csharp/core/Models/DescribeDemandsRequest.cs | alibabacloud-sdk-swift/alibabacloud-sdk | 0 | 7063731 | <gh_stars>0
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Ecs20140526.Models
{
public class DescribeDemandsRequest : TeaModel {
[NameInMap("RegionId")]
[Validation(Required=true)]
... |
Assets/Behavior Designer/Editor/Object Drawers/StackedConditionalDrawer.cs | rin6321910/Github-GameOff-2021 | 2 | 7063732 | using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using BehaviorDesigner.Runtime.Tasks;
using System;
using System.Reflection;
namespace BehaviorDesigner.Editor.ObjectDrawers
{
[CustomObjectDrawer(typeof(StackedConditional))]
public class StackedConditionalDrawer : ObjectDrawer
{
pr... |
src/DynamicServiceHost.Host.Tests/TestTypes/Implementations/TestOptimizationPack.cs | falamarzijahromi/WcfDynamicServiceHost | 0 | 7063733 | using System;
using System.Reflection;
using System.Reflection.Emit;
using DynamicServiceHost.Matcher;
namespace DynamicServiceHost.Host.Tests.TestTypes.Implementations
{
public class TestOptimizationPack : IOptimizationPackage
{
public TestOptimizationPack()
{
moduleBuilder = Crea... |
Tests/Senko.Core.Tests.Unit/Locks/SemaphoreQueueTests.cs | niallVR/Senko | 0 | 7063734 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using NiallVR.Senko.Core.Locks;
using Xunit;
namespace Senko.Core.Tests.Unit.Locks;
public class SemaphoreQueueTests {
private readonly SemaphoreQueue _systemUnderTest = new(1);
[Fact(Timeout = 3000)]... |
Content/Views/_theme.cshtml | nantcom/NancyBlack | 12 | 7063735 | @inherits NantCom.NancyBlack.NancyBlackRazorViewBase
@{
Layout = "_base.cshtml";
}
@section Head
{
@RenderSection("Head", false)
}
@section Title
{
@RenderSection("Title", false)
}
<div class="container">
<div class="header">
<ul class="nav nav-pills pull-right">
<li><a href="/... |
ManageCourseAPI/WebSocket/MessagesService.cs | hdh-se/classroom-api | 0 | 7063736 | <reponame>hdh-se/classroom-api<filename>ManageCourseAPI/WebSocket/MessagesService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using WebSocketSharp;
using WebSocketSharp.Server;
namespace ManageCourseAPI.WebS... |
PScan/Processing.cs | Elepover/PScan | 7 | 7063737 | <reponame>Elepover/PScan
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Net.NetworkInformation;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Threading;
using static PScan.Types;
namespace... |
Chess.Domain/Pieces/Queen.cs | RaedJarrar/Chess | 2 | 7063738 | <reponame>RaedJarrar/Chess
// <copyright file="Queen.cs" company="RJ">
// Copyright (c) RJ. All rights reserved.
// </copyright>
namespace Chess.Domain
{
/// <summary>
/// Defines a Queen.
/// </summary>
public sealed class Queen : Piece
{
/// <summary>
/// Initializes a new instan... |
WLib.ArcGis/DataCheck/Compare/Item/CompareItem.cs | Windr07/WLib | 21 | 7063739 | <reponame>Windr07/WLib
/*----------------------------------------------------------------
// auth: Windragon
// date: 2020
// desc: None
// mdfy: None
//----------------------------------------------------------------*/
using System;
namespace WLib.ArcGis.DataCheck.Compare
{
/// <summary>
/// 表示一个对比项信息
... |
IV. Introduction to ADS/Implementing ArrayList/Program.cs | FullscreenSauna/IT-Career | 0 | 7063740 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Implementing_ArrayList
{
class Program
{
static void Main(string[] args)
{
MyArrayList<int> test = new MyArrayList<int>();
test.Add... |
CilJs/3.JsTranslation/JSAst/JSExpression.cs | markusjohnsson/Braille | 6 | 7063741 | using System;
using System.Collections.Generic;
using System.IO;
namespace CilJs.JSAst
{
class Formatting
{
private int indentationLevel;
public void IncreaseIndentation() { indentationLevel++; UpdateIndentation(); }
public void DecreaseIndentation() { indentationLevel--; Upda... |
code/swb_base/ui/Crosshair.cs | ImWill0w0/simple-weapon-base | 0 | 7063742 |
using Sandbox;
using Sandbox.UI;
namespace SWB_Base
{
public class Crosshair : Panel
{
int fireCounter;
public Crosshair()
{
StyleSheet.Load( "/swb_base/ui/Crosshair.scss" );
for ( int i = 0; i < 5; i++ )
{
var p = Add.Panel( "ele... |
Examples/RTDP/RTDP/Segmentation/HotSpot.cs | dotnuttx/Alter-Native | 119 | 7063743 | <reponame>dotnuttx/Alter-Native<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Drawing;
using USAL;
namespace RTDP
{
public class HSPixel
{
int x; // column
int y; // row
float t; ... |
QSF/QSF/Examples/SegmentedControl/FirstLookExample/MenuItem.cs | crisper91/xamarin_telerik | 96 | 7063744 | <reponame>crisper91/xamarin_telerik
namespace QSF.Examples.SegmentedControl.FirstLookExample
{
public class MenuItem
{
public string Category { get; private set; }
public string Name { get; private set; }
public double Price { get; private set; }
public MenuItem(string category... |
PddOpenSdk/PddOpenSdk/Models/Request/Fds/GetFdsOrder.cs | niltor/open-pdd-net-sdk | 134 | 7063745 | namespace PddOpenSdk.Models.Request.Fds;
public partial class GetFdsOrder
{
/// <summary>
/// 入参信息
/// </summary>
[JsonPropertyName("param_fds_order_get_request")]
public ParamFdsOrderGetRequestModel ParamFdsOrderGetRequest { get; set; }
public partial class ParamFdsOrderGetRequestModel
{
... |
LBH.AdultSocialCare.Api/V1/Controllers/Common/StatusController.cs | LBHackney-IT/lbh-adult-social-care-api | 3 | 7063746 | using LBH.AdultSocialCare.Api.V1.UseCase.Common.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LBH.AdultSocialCare.Data.Entities.Common;
namespa... |
Engine/Plugins/Seurat/Source/Seurat/Seurat.Build.cs | yahyadan/seurat-unreal-plugin | 47 | 7063747 | <reponame>yahyadan/seurat-unreal-plugin
/* Copyright 2017 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 a... |
src/FrameworkContainers/Data/SqlResponse.cs | Matthew-Dove/FrameworkContainers | 0 | 7063748 | using ContainerExpressions.Containers;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace FrameworkContainers.Data
{
public sealed class SqlResponse
{
internal SqlResponse() { }
public Response<T> ExecuteReader<T>(Func<IDataReader, T> reader,... |
MCSharp/Commands/Block/CmdCircle.cs | MCClassicServerArchive/MCSharp | 1 | 7063749 | using System;
using System.Collections.Generic;
using MCSharp.World;
namespace MCSharp
{
public class CmdCircle : Command
{
// Constructor
public CmdCircle(CommandGroup g, GroupEnum group, string name) : base(g, group, name) { blnConsoleSupported = false; /* By default no console support*/ }
... |
Qsi.PostgreSql/Internal/PG10/Types/FromExpr.cs | ScriptBox99/chequer-qsi | 36 | 7063750 | <reponame>ScriptBox99/chequer-qsi<filename>Qsi.PostgreSql/Internal/PG10/Types/FromExpr.cs
/* Generated by QSI
Date: 2020-08-12
Span: 1468:1 - 1473:11
File: src/postgres/include/nodes/primnodes.h
*/
using Qsi.PostgreSql.Internal.Serialization;
namespace Qsi.PostgreSql.Internal.PG10.Types
{
[PgNode("FromExpr")... |
Entia/Control/Extensions/NodeExtensions.cs | outerminds/Entia | 27 | 7063751 | <reponame>outerminds/Entia<filename>Entia/Control/Extensions/NodeExtensions.cs
using Entia.Core;
using Entia.Modules.Control;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Entia.Nodes
{
public static class NodeExtensions
{
static readonly Lazy<Visitor> _resolve = new Laz... |
KeyboardSmasher/GUI/Controls/SettingsControl.Designer.cs | MKRTeam/KeyboardSmasher | 0 | 7063752 | namespace KeyboardSmasher.GUI.Controls
{
partial class SettingsControl
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
... |
PhotoLife/PhotoLife.Authentication.Tests/HttpContextAuthenticationProvider/GetCurrentUserId_Should.cs | Branimir123/MVC-CourseProject | 0 | 7063753 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using PhotoLife.Providers.Contracts;
namespace PhotoLife.Authentication.Tests
{
[TestFixture]
public class GetCurre... |
Refactoring/Tips/ReplaceTypeCodeWithClass.cs | Xeinaemm/Refactoring | 2 | 7063754 | <filename>Refactoring/Tips/ReplaceTypeCodeWithClass.cs
namespace Refactoring.Tips
{
public class ReplaceTypeCodeWithClass
{
private class PersonBefore
{
public static int O = 0;
public static int A = 1;
public static int B = 2;
public static int AB = 3;
public PersonBefore(int bloodGroup) => Bloo... |
src/EdFi.Roster.Data/Migrations/ChangeQueryDb/20210608160149_CreateResourceTablesForChangeQueryDatabase.cs | Ed-Fi-Alliance-OSS/Roster-Starter-Kit-for-Vendors | 0 | 7063755 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace EdFi.Roster.Data.Migrations.ChangeQueryDb
{
public partial class CreateResourceTablesForChangeQueryDatabase : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateT... |
src/Services/Catalog/Catalog.Infrastructure/Repositories/CategoryOptionValueRepository.cs | ilkerogutcu/microservices-ecommerce | 1 | 7063756 | <filename>src/Services/Catalog/Catalog.Infrastructure/Repositories/CategoryOptionValueRepository.cs
using System.Linq;
using System.Threading.Tasks;
using Catalog.Application.Features.Queries.Categories.GetCategoryOptionValuesByIdQuery;
using Catalog.Application.Interfaces.Repositories;
using Catalog.Domain.Entities;
... |
3-Business/3-Modules/lm.Comol.Modules.CallForPapers/Domain/Base/dto/new/dtoBaseFile.cs | EdutechSRL/Adevico | 1 | 7063757 | <filename>3-Business/3-Modules/lm.Comol.Modules.CallForPapers/Domain/Base/dto/new/dtoBaseFile.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.DomainModel;
namespace lm.Comol.Modules.CallForPapers.Domain
{
[Serializable]
public class dtoBaseFile : d... |
InstantProjector/Grids/BlockComponents.cs | austinvaness/InstantProjector | 1 | 7063758 | using Sandbox.Definitions;
using Sandbox.Game.Entities;
using System.Collections.Generic;
using VRage.Game;
using VRage.Game.ModAPI;
namespace avaness.GridSpawner.Grids
{
public class BlockComponents
{
private readonly MyCubeBlockDefinition def;
private readonly float integrityPercent, buildPe... |
tests/UnityTest-2017.3.0f3/Assets/RunTestsComponent.cs | donll8999/SDKs | 1 | 7063759 | using HiveMP.Api;
using HiveMP.Lobby.Api;
using HiveMP.TemporarySession.Api;
using HiveMP.ClientConnect.Api;
using System;
using System.Threading.Tasks;
using UnityEngine;
public class RunTestsComponent : MonoBehaviour
{
private bool _shouldExit = false;
public void Start()
{
try
{
... |
harjoitusTyoRistinolla/harjoitusTyoRistinolla/MenuIkkuna.Designer.cs | SirJouni/Ristinollapeli | 0 | 7063760 | <reponame>SirJouni/Ristinollapeli<gh_stars>0
namespace harjoitusTyoRistinolla
{
partial class MenuIkkuna
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean ... |
2018/2nd/src/AllSourceFilesFromUnity/GenGameFlow.cs | rschavali02/computer-game-simulation-programming | 0 | 7063761 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class GenGameFlow : MonoBehaviour {
public TextMeshProUGUI textToActiv;
public CanvasGroup text;
public Animator animator;
public bool isOpen;
// Use this for initialization
void Start () {
textToActiv.text="Pre... |
src/asm.data/src/sources/xed/models/Operand.cs | 0xCM/z0 | 0 | 7063762 | //-----------------------------------------------------------------------------
// Copyright : Intel Corporation, 2020
// License : Apache
// Source : xed-operand-storage.h
//-----------------------------------------------------------------------------
namespace Z0
{
using System.Runtime.InteropServices;... |
SmartHomeApi.Core/Services/ItemsPluginsLocator.cs | hdimon/CITest | 0 | 7063764 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Common.Utils;
using SmartHomeApi.Core.Interfaces;
using SmartHomeApi.Core.... |
Polly.Contrib.AzureFunctions/CircuitBreaker/DurableCircuitBreakerExternalApi.cs | oising/Polly.Contrib.AzureFunctions.CircuitBreaker | 37 | 7063765 | using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
namespace Polly.Contrib.AzureFunctions.CircuitBreaker
{
publi... |
Samples and SDK/Server/FhirOnAzureServer/Spark.Engine/Extensions/QuantityExtensions.cs | HowardEdidin/HL7-FHIR-ON-AZURE | 4 | 7063766 | using Fhir.Metrics;
using FM = Hl7.Fhir.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FhirOnAzure.Search;
using FhirOnAzure.Engine.Model;
namespace FhirOnAzure.Engine.Extensions
{
public static class QuantityExtensions
{
... |
NemSharp/Request/Responses/Transaction/Transaction.cs | stijnbernards/NemSharp | 0 | 7063767 | <gh_stars>0
using System;
using RestSharp.Deserializers;
namespace NemSharp.Request.Responses.Transaction
{
public class Transaction
{
[DeserializeAs(Name = "timestamp")]
public DateTime timestamp { get; set; }
[DeserializeAs(Name = "amount")]
public int Amount { get; set; }
... |
GameScripts/PaulineScript.cs | iury-sky/Donkey-Kong | 1 | 7063768 | using UnityEngine;
using System.Collections;
public class PaulineScript : MonoBehaviour {
public GameObject player;
Animator anim;
public AudioSource win;
public bool DKhaul = false;
// Use this for initialization
void Start () {
anim = GetComponent<Animator>();
}
// Update is called once per frame
void... |
src/Tizen.Account.SyncManager/Tizen.Account.SyncManager/Enumerations.cs | yoowonyoung/TizenFX | 149 | 7063769 | <filename>src/Tizen.Account.SyncManager/Tizen.Account.SyncManager/Enumerations.cs<gh_stars>100-1000
/*
* Copyright (c) 2016 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 ma... |
AlgoSDK/AlgoRuntimeInformation.cs | c272/algo-lang | 7 | 7063770 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algo
{
public static class AlgoRuntimeInformation
{
//The currently loaded script file.
public static string FileLoaded = "";
//Whether the current runtime is ... |
src/main/Anodyne-Node/Node.cs | Kostassoid/Anodyne | 2 | 7063771 | <gh_stars>1-10
// Copyright 2011-2013 Anodyne.
//
// 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 requi... |
legacy/v1.0/src/Framework/Unit Of Work/IUnitOfWork.cs | macsux/NEventLite | 126 | 7063772 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NEventLite.Domain;
namespace NEventLite.Unit_Of_Work
{
public interface IUnitOfWork
{
Task<T> GetAsync<T>(Guid id, int? expectedVersion = null) where T:AggregateRoot;
void... |
C# Advanced/07. FuncPrograming/Func Programing - Exer/10. PredicateParty!/PredicateParty.cs | krasiymihajlov/Soft-Uni-practices | 0 | 7063773 | namespace _10.PredicateParty_
{
using System;
using System.Collections.Generic;
using System.Linq;
public class PredicateParty
{
public static void Main()
{
List<string> people = Console.ReadLine().Split().ToList();
string line = Console.ReadLine();
... |
experiments/todo_eo/todo/Program.cs | ralfw/event-orientation | 0 | 7063774 | using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using eo.pipeline;
using eventstore;
using todo.messages.commands.createlist;
using todo.messages.commands.createtodo;
using todo.messages.queries.lists;
using todo.messages.queries.tasks;
using todo.messa... |
WindowsThemeListener/Helpers/OS.cs | Willy-Kimura/WindowsThemeListener | 3 | 7063775 | <filename>WindowsThemeListener/Helpers/OS.cs
#region Copyright
/*
* Developer : <NAME>
* Library : Windows Theme Listener
* License : MIT
*
*/
#endregion
using Microsoft.Win32;
using System.Diagnostics;
namespace WK.Libraries.WTL.Helpers
{
/// <summary>
/// A static class that provides ... |
TRL.Connect.Smartcom.Test/Mocks/StServerClassMock.cs | wouldyougo/TRx | 7 | 7063776 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartCOM3Lib;
using TRL.Common.Data;
using TRL.Common.Models;
namespace TRL.Connect.Smartcom.Test.Mocks
{
public delegate void MockEvent();
public class StServerClassMock:StServer
{
private ... |
AzureFunctions/AzureFunctions/DTO/JobStatusDescription.cs | Fr4nc3/csharp_azure_functions | 0 | 7063777 | using AzureFunctions.Models;
namespace AzureFunctions.DTO
{
public class JobStatusDescription
{
/// <summary>
/// Converts an jobStatus number inside an encoded jobStatus description, to the standard jobStatus response
/// </summary>
/// <param name="encodedStatusDes... |
Expressway.Contracts/Repository/IUserLoginRepository.cs | gambheera/expressway | 0 | 7063778 | <filename>Expressway.Contracts/Repository/IUserLoginRepository.cs
using Expressway.Contracts.Infrastructure;
using Expressway.Model.Domain;
using System;
using System.Collections.Generic;
using System.Text;
namespace Expressway.Contracts.Repository
{
public interface IUserLoginRepository : IGenericRepository<User... |
Sakei/AfterLogin/Index.aspx.designer.cs | uchicc1228/forgraduate | 0 | 7063780 | //------------------------------------------------------------------------------
// <自動產生>
// 這段程式碼是由工具產生的。
//
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
// 程式碼,則會遺失變更。
// </自動產生>
//------------------------------------------------------------------------------
namespace Sakei.AfterLogin
{
public partial class I... |
MonitoringPlatform/MonitoringPlatform/App.xaml.cs | mechanicalobject/sandbox | 0 | 7063781 | using System.Windows;
using AutoMapper;
using MonitoringPlatform.Models;
using MonitoringPlatform.ViewModels.ObservableObjects;
namespace MonitoringPlatform
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void On... |
Jolt.NzxtCam/Math/MathF.cs | papademos/joltcam | 0 | 7063783 | <reponame>papademos/joltcam
using System.Numerics;
using static Jolt.NzxtCam.MathF;
namespace Jolt.NzxtCam;
public record class ZeroItem {
public static bool operator ==(in ZeroItem item, in float x) => Abs(x) < Epsilon;
public static bool operator !=(in ZeroItem item, in float x) => !(item == x);
public ... |
LuaProfiler/Tools/MonoHooker/Class/CSharpMethodHooker.cs | liaoguipeng13/LuaProfiler-For-Unity | 3 | 7063784 | <reponame>liaoguipeng13/LuaProfiler-For-Unity
/*
Desc: 一个可以运行时 Hook Mono 方法的工具,让你可以无需修改 UnityEditor.dll 等文件就可以重写其函数功能
Author: <NAME>
Github: https://github.com/easy66/MonoHooker
*/
using System;
using System.Diagnostics;
using System.Reflection;
namespace MonoHooker
{
/// <summary>
/// C# Hook 类,用来 Hook ... |
Src/SAEA.Common/RandomHelper.cs | dsfop/SAEA | 0 | 7063785 | <reponame>dsfop/SAEA
using System;
/****************************************************************************
*项目名称:SAEA.Common
*CLR 版本:4.0.30319.42000
*机器名称:WENLI-PC
*命名空间:SAEA.Common
*类 名 称:RandomHelper
*版 本 号: v5.0.0.1
*创建人: yswenli
*电子邮箱:<EMAIL>
*创建时间:2019/1/16 9:43:28
*描述:
*====================================... |
src/BlazorMailW3.Server/Controllers/InboxController.cs | horseyhorsey/BlazorW3Mail | 0 | 7063786 | using System;
using System.Collections.Generic;
using System.Linq;
using BlazorMailW3.Shared;
using Microsoft.AspNetCore.Mvc;
namespace BlazorMailW3.Server.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class InboxController : ControllerBase
{
// GET: api/Inbox
[HttpG... |
LogicMonitor.Api/Settings/Integration.cs | tdicks/LogicMonitor.Api | 0 | 7063787 | <reponame>tdicks/LogicMonitor.Api
using LogicMonitor.Api.Converters;
using Newtonsoft.Json;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace LogicMonitor.Api.Settings
{
/// <summary>
/// An integration
/// </summary>
[DataContract]
[JsonConverter(typeof(IntegrationsConverter))]
[Debugg... |
ProjectRestaurant.Common/GlobalConstants.cs | VasilUzunov/ProjectRestaurant | 0 | 7063788 | namespace ProjectRestaurant.Common
{
public static class GlobalConstants
{
public const string SystemName = "ProjectRestaurant";
public const string RestaurantName = "Pause Restaurant";
public const string AdministratorRoleName = "Administrator";
public const string MyEmail =... |
Ryujinx.Graphics.Gpu/Shader/GpuAccessorState.cs | RedPana/Ryujinx | 1 | 7063789 | using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.Gpu.Engine.Threed;
namespace Ryujinx.Graphics.Gpu.Shader
{
/// <summary>
/// State used by the <see cref="GpuAccessor"/>.
/// </summary>
struct GpuAccessorState
{
/// <summary>
/// GPU virtual address of the texture pool.
//... |
PizzaBox.Domain/Models/FutureUse/StoreLocation.cs | alexnya/Project-0 | 1 | 7063790 | using System.Collections.Generic;
using PizzaBox.Data.Entities;
namespace PizzaBox.Domain.Models.FutureUse {
public class StoreLocation {
private readonly PizzaBoxDBContext _db = new PizzaBoxDBContext();
public List<ClientOrder> Orders { get; set; }
public StoreLocation() {
Orders = new List<Client... |
HelpdeskSystem/Helpdesk.Common/Responses/Students/GetStudentResponse.cs | radulfr96/helpdesksystem | 3 | 7063791 | using Helpdesk.Common.DTOs;
using System;
using System.Collections.Generic;
using System.Text;
namespace Helpdesk.Common.Responses.Students
{
/// <summary>
/// Used to return the result of searching for the student
/// </summary>
public class GetStudentResponse : BaseResponse
{
public Nick... |
vCheck.Lib/Responses/PackageDetails.cs | phil-harmoniq/vCheck | 0 | 7063792 | using Newtonsoft.Json;
namespace vCheck.Lib.Responses
{
public class PackageDetails
{
[JsonProperty("@id")]
public string ApiID { get; internal set; }
[JsonProperty("id")]
public string PackageID { get; internal set; }
[JsonProperty("authors")]
public string Au... |
TabRESTMigrate/ServerData/SiteWorkbook.cs | araf-systalent/TabMigrate | 111 | 7063793 | <filename>TabRESTMigrate/ServerData/SiteWorkbook.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Xml;
/// <summary>
/// Information about a Workbook in a Server's site
/// </summary>
class SiteWorkbook : SiteDocumentBase, IEditDataConnectionsSet
... |
SimpleExpressionParser2/Expression/Scanner.ISO8601.cs | highfield/SimpleExpressionParser2 | 0 | 7063794 | using System;
using System.Collections.Generic;
using System.Text;
namespace Cet.Core.Expression
{
partial class Scanner
{
private static XToken ScanISO8601(
Reader reader,
char head
)
{
reader.MoveNext();
if (reader.TryPeek(out char... |
src/unittests/gapps/nicknametest.cs | michael-jia-sage/libgoogle | 0 | 7063795 | using System;
using System.Text;
using System.Xml;
using System.IO;
using NUnit.Framework;
using Google.GData.Apps;
using Google.GData.Extensions.Apps;
namespace Google.GData.Apps.UnitTests
{
[TestFixture]
[Category("GoogleApps")]
public class NicknameTest
{
private NicknameElement nickname;
... |
Mozu.Api.ToolKit/Readers/EventReader.cs | sam-ss/mozu-dotnet-toolkit | 0 | 7063796 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Mozu.Api.Contracts.Event;
using Mozu.Api.Resources.Event;
namespace Mozu.Api.ToolKit.Readers
{
public class EventReader : BaseReader
{
private EventCollection _results;
protected override async Task<bool> GetDa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.