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 |
|---|---|---|---|---|
GymTuto/GymTuto/MainForm.cs | ashanwithana/Gym-Management-System | 0 | 7065377 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GymTuto
{
public partial class MainForm : Form
{
public MainForm... |
src/Web/Controllers/EmployeeController.cs | cykelbud/lrms | 0 | 7065378 | using System;
using System.Threading.Tasks;
using Employee.Core.ApplicationServices;
using Employee.Requests;
using Employee.Response;
using Microsoft.AspNetCore.Mvc;
namespace Web.Controllers
{
[Route("api/[controller]")]
public class EmployeeController : Controller
{
private readonly IEmployeeSe... |
Example/Robot/RobotState.cs | OneManMonkeySquad/SandboxAI | 13 | 7065379 | using SandboxAI;
using SandboxAI.HTN;
using System;
using UnityEngine;
[Serializable]
public class RobotState : IState {
public RobotState(HTNAgent agent, Robot robot) {
this.agent = agent;
this.robot = robot;
}
public HTNAgent agent {
get;
internal set;
}
public ... |
src/BizTalk.Common/Message/StringMessageContent.cs | icraftsoftware/BizTalk.Factory | 4 | 7065380 | #region Copyright & License
// Copyright © 2012 - 2015 <NAME>, <NAME>
//
// 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
//
//... |
Boilerplate.Tests/IntegrationTestBase.cs | lvlkoo/AspNetCoreBoilerPlate | 2 | 7065381 | <reponame>lvlkoo/AspNetCoreBoilerPlate
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Boilerplate.EF;
using Boilerplate.Entities;
using Boilerplate.Models;
using Boilerplate.Models.Auth;
using FluentAssertions;
using Microsof... |
MagnifyMouse/Form1.Designer.cs | f122apg/MagnifyMouse | 0 | 7065382 | <filename>MagnifyMouse/Form1.Designer.cs<gh_stars>0
namespace MagnifyMouse
{
partial class Form1
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param name="disposing">マネージ リソース... |
src/Shared/Trill.Shared.Infrastructure/Messaging/Extensions.cs | mehdihadeli/Trill-modular-monolith | 24 | 7065383 | using Microsoft.Extensions.DependencyInjection;
using Trill.Shared.Abstractions.Commands;
using Trill.Shared.Abstractions.Events;
using Trill.Shared.Abstractions.Messaging;
using Trill.Shared.Infrastructure.Messaging.Brokers;
using Trill.Shared.Infrastructure.Messaging.Dispatchers;
using Trill.Shared.Infrastructure.Mes... |
anime-downloader/Models/AniList/AiringAnime.cs | dukemiller/anime-downloader | 12 | 7065384 | using System.Collections.Generic;
using Newtonsoft.Json;
namespace anime_downloader.Models.AniList
{
public class AiringAnime
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("idMal")]
public int? IdMal { get; set; }
[JsonProperty("title")]
pub... |
Programming Basics/PB - Exam/05/Program.cs | mertmzzx/SoftUni-Exercises | 1 | 7065385 | using System;
namespace _05
{
class Program
{
static void Main(string[] args)
{
int seaTrips = int.Parse(Console.ReadLine());
int mountainTrips = int.Parse(Console.ReadLine());
string type = Console.ReadLine();
double totalPrice = 0.0;
... |
src/Shoppingendly.Services.Products.Core/Domain/Products/Events/CategoryNameChangedDomainEvent.cs | SoftSentre/Shoppingendly.Services.Products | 0 | 7065386 | using Shoppingendly.Services.Products.Core.Domain.Base.DomainEvents;
using Shoppingendly.Services.Products.Core.Domain.Products.ValueObjects;
namespace Shoppingendly.Services.Products.Core.Domain.Products.Events
{
public class CategoryNameChangedDomainEvent : DomainEventBase
{
public CategoryId Catego... |
Assets/Framework/Visual/Holder/Com/Nonaction/UITooltip.cs | loywong/LowoUN-UI | 0 | 7065387 | #pragma warning disable 0649//ignore default value null
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace LowoUN.Module.UI.Com
{
public class UITooltip : UIActionBase {
[SerializeField]
private GameObject obj;
void Awake () {
if (obj == null) {
Debug.LogError ("Don't forget t... |
Backend/Shared/Hale.Lib/Modules/Attributes/HaleModuleAuthorAttribute.cs | arcticbit/Hale.Monitoring | 2 | 7065388 | <filename>Backend/Shared/Hale.Lib/Modules/Attributes/HaleModuleAuthorAttribute.cs
namespace Hale.Lib.Modules.Attributes
{
using System;
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class HaleModuleAuthorAttribute : Attribute
{
public HaleModul... |
Devnot.Mentor.Api/Entities/MentorQuestions.cs | enisn/devnot-mentor-back-end | 1 | 7065389 | using System;
using System.Collections.Generic;
namespace DevnotMentor.Api.Entities
{
public partial class MentorQuestions
{
public MentorQuestions()
{
MenteeAnswers = new HashSet<MenteeAnswers>();
}
public int Id { get; set; }
public int? MentorId { get; s... |
URLShortnerAPI/Features/Queries/GetUrlByOriginalUrl/GetUrlByOriginalUrlQuery.cs | lateef10/URL-Shortner | 0 | 7065390 | <reponame>lateef10/URL-Shortner
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using URLShortnerAPI.Models;
namespace URLShortnerAPI.Features.Queries.GetUrlByOriginalUrl
{
public record GetUrlByOriginalUrlQuery(string originalUrl) : IRequest<IEnumer... |
src/EA.Iws.DataAccess/Mappings/Exports/AuditMapping.cs | DEFRA/prsd-iws | 1 | 7065391 | <reponame>DEFRA/prsd-iws
namespace EA.Iws.DataAccess.Mappings.Exports
{
using Domain.NotificationApplication;
using System.Data.Entity.ModelConfiguration;
internal class AuditMapping : EntityTypeConfiguration<Audit>
{
public AuditMapping()
{
ToTable("Audit", "Notification")... |
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/SampleCodeForDocs/DatabaseDocsSampleCode.cs | ayanMSFT/azure-cosmos-dotnet-v3 | 522 | 7065392 | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.SampleCodeForDocs
{
using System.Threading.Tasks;
internal class DatabaseDocsSampleCode
... |
libs/COLID.Graph/TripleStore/DataModels/Taxonomies/TaxonomyResultDTO.cs | Bayer-Group/COLID-Registration-Service | 4 | 7065393 | using System.Collections.Generic;
using System.Linq;
using COLID.Graph.TripleStore.DataModels.Base;
namespace COLID.Graph.TripleStore.DataModels.Taxonomies
{
public class TaxonomyResultDTO : BaseEntityResultDTO
{
public bool HasParent => Properties.Any(p => p.Key == Graph.Metadata.Constants.SKOS.Broad... |
src/Arma3BE.Server/Abstract/IBEServer.cs | tym32167/arma3beclient | 36 | 7065394 | using Arma3BE.Server.Models;
using System;
using System.Collections.Generic;
namespace Arma3BE.Server.Abstract
{
public interface IBEServer : IDisposable
{
bool Connected { get; }
//bool Disposed { get; }
event EventHandler<BEClientEventArgs<IEnumerable<Player>>> PlayerHandler;
... |
Src/Common/Source/Common.Presentation/Data/ImageConverter.cs | dbremner/nupattern | 0 | 7065395 | <filename>Src/Common/Source/Common.Presentation/Data/ImageConverter.cs
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace NuPattern.Presentation.Data
{
/// <su... |
SyncPro.UI/RelationshipEditor/EditorWindow.xaml.cs | HighEncryption/SyncPro | 37 | 7065396 | namespace SyncPro.UI.RelationshipEditor
{
/// <summary>
/// Interaction logic for EditorWindow.xaml
/// </summary>
public partial class EditorWindow
{
public EditorWindow()
{
this.InitializeComponent();
}
}
}
|
C#Advanced/CSharpAdvancedSampleExam13June2016/02.JediGalaxy/JediGalaxy.cs | vpaleshnikov/SoftUni-C-FundamentalsModule | 0 | 7065397 | <filename>C#Advanced/CSharpAdvancedSampleExam13June2016/02.JediGalaxy/JediGalaxy.cs
using System;
using System.Linq;
namespace _02.JediGalaxy
{
class JediGalaxy
{
static void Main(string[] args)
{
long ivoStarValue = 0;
var matrixDimensions = Console.ReadLine().Split(... |
FEClient/Security/EncryptedData.cs | gsp8181/FairExchange | 1 | 7065398 | <reponame>gsp8181/FairExchange<filename>FEClient/Security/EncryptedData.cs
using Newtonsoft.Json.Linq;
namespace FEClient.Security
{
public class EncryptedData
{
public string Data { get; set; }
public string Key { get; set; }
public override string ToString()
{
re... |
Core/Kachuwa.Web/Layout/LayoutContent.cs | amritdumre10/Kachuwa | 0 | 7065399 | <gh_stars>0
using System.Collections.Generic;
namespace Kachuwa.Web.Layout
{
public class LayoutContent
{ public int PageId { get; set; }
public string Name { get; set; } = "";
public List<LayoutContentResource> Resources { get; set; }=new List<LayoutContentResource>();
public List<R... |
src/Writer/Program.cs | wasphub/akka.net-cluster-samples | 0 | 7065400 | using Akka.Actor;
using Akka.Persistence;
using Akka.Routing;
using Common.Commands;
using Common.Hosting;
using System;
using System.Collections.Generic;
namespace Writer
{
class Program
{
static void Main(string[] args)
{
var service = new Host();
service.Start(new Ge... |
EasyDAL.Exchange/Core/Operator.cs | zhangkaic/EasyDAL.Exchange | 1 | 7065401 | <filename>EasyDAL.Exchange/Core/Operator.cs
using EasyDAL.Exchange.Common;
using EasyDAL.Exchange.Enums;
using EasyDAL.Exchange.ExpressionX;
using EasyDAL.Exchange.Helper;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Task... |
src/Microsoft.AspNetCore.OData/ETagMessageHandler.cs | komdil/WebApi | 907 | 7065402 | <gh_stars>100-1000
//-----------------------------------------------------------------------------
// <copyright file="ETagMessageHandler.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.
// <... |
RecursionTasks/Exercise09.cs | RNDSharp/Recursion | 0 | 7065403 | <gh_stars>0
using System;
namespace RecursionTasks
{
public static class Exercise09
{
// Дано слово, состоящее только из строчных латинских букв.
// Проверьте, является ли это слово палиндромом.
// При решении этой задачи нельзя пользоваться циклами.
public static bool Run(str... |
AppModelv2-WebApp-OpenIDConnect-DotNet/Models/CommentLine.cs | SBYSA/SinglePageOauthBCASPNET-main | 0 | 7065404 | <reponame>SBYSA/SinglePageOauthBCASPNET-main
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AppModelv2_WebApp_OpenIDConnect_DotNet.Models
{
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
public class Co... |
LeanCloud.Play/LeanCloud.Play/Test/LeanCloud.Play.TextUnit.NetFx46/LeaveRoomTest.cs | wujun4code/Play-SDK-dotNET | 0 | 7065405 | using System;
using System.Collections;
using System.Diagnostics;
using System.Linq;
using LeanCloud;
using NUnit.Framework;
namespace TestUnit.NetFx46
{
[TestFixture]
public class LeaveRoomTest : TestBase
{
public LeaveRoomTest() : base()
{
}
[Test]
[Timeout(30000... |
src/messages/converters/BookInfoConverter.cs | L337Rabbit/KrakenSmack | 0 | 7065406 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.Json;
using System.Text.Json.Serialization;
using com.okitoki.kraken.utils;
namespace com.okitoki.kraken.messages.converters
{
public class BookInfoConverter : JsonConverter<BookIn... |
Lexer/Automaton/Impl/TransitionTargets.cs | Lotes/how-to-build-a-lexer | 1 | 7065407 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lexer.Automaton.Impl
{
public class TransitionTargets : ITransitionTargets
{
public class Node : IGrouping<ICharSet, int>
{
privat... |
APPBASE/ModelsVMs/LKP/Select2/Select2VM.cs | arinsuga/posup | 1 | 7065408 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Conventions;
using System... |
Messaging.Common/Obsolete/CSharpCodeEval.cs | JustoSenka/SimpleMessagingService | 0 | 7065409 | <gh_stars>0
using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace MqttServerClient.Common
{
[Obsolete("No C# Interpreter on dot net core")]
public class CSharpCodeEval
{
public readonly string[]... |
src/Wilcommerce.Catalog/Events/Brand/BrandCreatedEvent.cs | wilcommerce/Wilcommerce.Catalog | 1 | 7065410 | using System;
using Wilcommerce.Core.Infrastructure;
namespace Wilcommerce.Catalog.Events.Brand
{
/// <summary>
/// New Brand created
/// </summary>
public class BrandCreatedEvent : DomainEvent
{
/// <summary>
/// Get the brand id
/// </summary>
public Guid BrandId ... |
Train/ContactUs.aspx.cs | tebyaniyan/Train | 0 | 7065411 | using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Da... |
Projects/ClickNClaim.WebPortal/Views/Home/ClauseCompromissoire.cshtml | Open-Justice/ODR | 1 | 7065412 | @using ClickNClaim.WebPortal.Resources
@{
ViewBag.Title = "ClauseCompromissoire";
}
<div class="container margin-top">
<h1 style="text-align:center">@Home.ArbClause</h1>
<p style="text-align:justify">@Home.ArbClauseInfo1 <b>@Home.ArbClauseInfo2</b>@Home.ArbClauseInfo3</p>
<p><b>@Home.ModClauseHeadin... |
Kipon.Excel/WriterImplementation/Factories/SheetsResolver.cs | kip-dk/Kipon.Excel | 0 | 7065414 | using Kipon.Excel.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kipon.Excel.WriterImplementation.Factories
{
/// <summary>
/// From an object instance, resolve the implementation of IEnumable<ISheet> that is relevant
/// ... |
Assets/Scripts/TokenSelectable.cs | BenThrelfall/DungeonTool | 0 | 7065415 | using Mirror;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TokenSelectable : NetworkBehaviour, ISelectable, IRequiresDependancy {
public Bounds ObjectBounds => col.bounds;
[SerializeField]
BoxCollider2D col;
Vector2 officalPos;
[SerializeField]
... |
src/Avalonia.Visuals/Animation/Transitions/VectorTransition.cs | MarcusWichelmann/Avalonia | 3 | 7065416 | <filename>src/Avalonia.Visuals/Animation/Transitions/VectorTransition.cs<gh_stars>1-10
using System;
using System.Reactive.Linq;
namespace Avalonia.Animation
{
/// <summary>
/// Transition class that handles <see cref="AvaloniaProperty"/> with <see cref="Vector"/> type.
/// </summary>
public class Ve... |
DurandalAuth.Domain/Models/Mapping/afm_activity_catsMap.cs | benitazz/AlcmSolutions | 0 | 7065419 | <filename>DurandalAuth.Domain/Models/Mapping/afm_activity_catsMap.cs<gh_stars>0
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace DurandalAuth.Domain.Models.Mapping
{
public class afm_activity_catsMap : EntityTypeConfiguration<afm_activity_cats>
{
... |
Fundamentals with C#/T12 - List/moreExercise/03. Take Skip Rope/Program.cs | rythm-net/SoftUni | 0 | 7065420 | <filename>Fundamentals with C#/T12 - List/moreExercise/03. Take Skip Rope/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _03._Take_Skip_Rope
{
internal class Program
{
static void Main(string[] args)
{
string text = Consol... |
Ripple.JsonRpc/Request/RequestBase.cs | dora-gt/Ripple.JsonRpc | 0 | 7065421 | using System;
using System.Threading.Tasks;
namespace Ripple.JsonRpc.Request
{
public abstract class RequestBase<T> : IRequest
{
public abstract string Method { get; }
public IRequestParameter Parameters { get; protected set; }
public async virtual Task<T> InvokeAsync(IClient client... |
Tests/TestExtensions.cs | omuleanu/oss | 1 | 7065422 | using NUnit.Framework;
using System;
namespace Tests
{
public static class TestExtensions
{
public static string Out(this string str)
{
Console.WriteLine(str);
return str;
}
public static void IsTrue(this bool condition)
{
Assert.IsT... |
Editor/Controls/ToggleControl.cs | VRLabs/SimpleShaderInspectors | 12 | 7065423 | <reponame>VRLabs/SimpleShaderInspectors
using System;
using UnityEditor;
namespace VRLabs.SimpleShaderInspectors.Controls
{
/// <summary>
/// Represents a control with a checkbox for setting a float property to 2 defined values.
/// </summary>
/// <remarks>
/// <para>This control can be used to set... |
Samples/Emoji8/UWP/cs/Emoji8/Emojis.cs | aungthetnaing/Windows-Machine-Learning | 472 | 7065424 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using Windows.UI.Xaml.Media.Imaging;
namespace Emoji8
{
public class Emoji
{
public string Name { get; set; }
//Icon used for static emoji rendering (Main & Results pag... |
src/FluiTec.AppFx.Data.Dynamic/DataMigrationException.cs | FluiTec/FluiTec.AppFx.Data | 0 | 7065425 | <gh_stars>0
using System;
namespace FluiTec.AppFx.Data.Dynamic
{
/// <summary> Exception for signalling data migration errors. </summary>
public class DataMigrationException : Exception
{
/// <summary> Constructor. </summary>
/// <param name="currentVersion"> The current version. </p... |
Assets/MainMenu/Scripts/RotateCog.cs | SiiMeR/LD415Team | 0 | 7065426 | <reponame>SiiMeR/LD415Team
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateCog : MonoBehaviour {
public float direction = 1;
public GameObject[] gears;
public float[] gearSpeeds;
// Use this for initialization
void Start () {
}
// Update is called... |
src/ECommerce.Core/Managers/Users/UserManager.cs | ilievv/e-commerce-module | 0 | 7065427 | using System;
using System.Collections.Generic;
using System.Linq;
using ECommerce.Core.Entities;
using ECommerce.Core.Gateways;
namespace ECommerce.Core.Managers.Users
{
public class UserManager : Manager, IUserManager
{
private readonly IProvider<User> userProvider;
public UserManager(IProv... |
test/Integration/Athena.Data.Tests/Repositories/OfferingRepositoryTests.cs | athena-scheduler/athena | 5 | 7065428 | <reponame>athena-scheduler/athena
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Athena.Core.Exceptions;
using Athena.Core.Models;
using Athena.Core.Models.Identity;
using Athena.Data.Repositories;
using Athena.Data.Repositories.Identity;
using AutoFixt... |
BotFrameworkStateManager/Bot/EchoBot.cs | CogniSimSoft/BotFrameworkStateManager | 2 | 7065429 | <reponame>CogniSimSoft/BotFrameworkStateManager<filename>BotFrameworkStateManager/Bot/EchoBot.cs
namespace BotFrameworkStateManager.Bot
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Bot;
using Microsoft.Bot.Builder;
using ... |
Assets/Scripts/Game/Weapon/Shooting/Projectiles/ProjectileDataBase.cs | EstasAnt/Estsoul | 0 | 7065430 | using Character.Health;
using UnityEngine;
namespace Character.Shooting
{
public class ProjectileDataBase
{
public Vector3 Position;
public Quaternion Rotation;
public float LifeTime;
public float BirthTime;
public Damage Damage;
}
}
|
tools/Chiro.CiviSync/Chiro.CiviSync.Logic/Properties/Settings.Designer.cs | Chirojeugd-Vlaanderen/gap | 0 | 7065431 | //------------------------------------------------------------------------------
// <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
// the code is regenerated.
// </auto-generated>
//--... |
Src/WorkoutWotch.Services.Contracts/State/IStateService.cs | reactiveui-forks/WorkoutWotch | 0 | 7065432 | namespace WorkoutWotch.Services.Contracts.State
{
using System;
using System.Reactive;
public delegate IObservable<Unit> SaveCallback(IStateService stateService);
public interface IStateService
{
IObservable<T> GetAsync<T>(string key);
IObservable<Unit> SetAsync<T>(string key, T ... |
HardSpec/DSKDRV.cs | thyams/wolf | 4 | 7065433 | <reponame>thyams/wolf
using System.Collections.Generic;
using System.Management;
namespace Wolf.HardSpec
{
class DSKDRV
{
public List<string> DRVInfo = new List<string>();
public int intDRVLength = 0;
private string drvName = "";
private string drvSize = "";
public DSK... |
Views/Layout.cshtml | zappan/Orchard.Theme.TheOtherSide | 3 | 7065434 | <reponame>zappan/Orchard.Theme.TheOtherSide
@{
/* Global includes for the theme
***************************************************************/
Script.Require("ShapesBase");
Style.Include("http://fonts.googleapis.com/css?family=Philosopher&subset=latin");
Style.Include("prettify/prettify.css");
... |
apis/Google.Cloud.Iam.Credentials.V1/Google.Cloud.Iam.Credentials.V1.Snippets/IAMCredentialsClientSnippets.g.cs | Rishabh-V/google-cloud-dotnet | 0 | 7065435 | // Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
Program.cs | werberBeni/filesearchCsharp | 0 | 7065436 | using System;
using System.Data.SqlClient;
using System.IO;
namespace projectsearch
{
class Program
{
static void Main(string[] args)
{
SqlConnection cn = new SqlConnection("Data Source=DESKTOP-OQ6F1E1; Initial Catalog=cproject; Integrated Security=True");
... |
GISShare.Controls.WinForm.Demo/WFNew/WFNew_JDKJJH/DemoOfTextBoxForm.Designer.cs | llzzhh/GISShare.Controls.WinForm | 6 | 7065437 | <reponame>llzzhh/GISShare.Controls.WinForm
namespace GISShare.Controls.WinForm.Demo.WFNew.WFNew_JDKJJH
{
partial class DemoOfTextBoxForm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理... |
FiapWebservicesRestfulTechnologies/Services/ICidadeService.cs | diasRibeirao/FiapWebservicesRestfulTechnologies | 0 | 7065438 | using FiapWebservicesRestfulTechnologies.Data.DTO;
using FiapWebservicesRestfulTechnologies.Model;
using System.Collections.Generic;
namespace FiapWebservicesRestfulTechnologies.Services
{
public interface ICidadeService
{
CidadeDTO Create(CidadeDTO cidade);
CidadeDTO FindById(long id);
... |
Scripting.Js.v1/Utils/InMemoryScript/InMemoryScript.cs | 77it/CSharpJavaScriptRunner | 3 | 7065439 | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
namespace Scripting.Js.v1
{
// intructions on Base64 encoding
/*
how to encode:
* convert Js to a Base64 encoded string with https://base64.guru/converter/encode/file
* test conversion ... |
unity/Assets/Scripts/Game/Managers/GameManager_FSM/GameManagerState_Machine.cs | guibec/rpgcraft | 9 | 7065440 | <gh_stars>1-10
using UnityEngine;
using System;
public class GameManagerState_Machine : StateMachine
{
public static readonly Type InitState = typeof(GameManagerState_Init);
public static readonly Type PlayingState = typeof(GameManagerState_Playing);
public static readonly Type BattleState = typeof(GameMa... |
src/Storage/ALiYun/src/EInfrastructure.Core.Aliyun.Storage/Validator/AliYunConfigValidator.cs | Sky-nt/System.Extension.Core | 96 | 7065441 | <filename>src/Storage/ALiYun/src/EInfrastructure.Core.Aliyun.Storage/Validator/AliYunConfigValidator.cs
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using EInfrastructure.Core.Aliyun.Storage.Config;
using EInfrastructur... |
v8viewer/core/FWOpenableDocument.cs | EvilBeaver/v8reader | 15 | 7065442 | <filename>v8viewer/core/FWOpenableDocument.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using V8Reader.Editors;
namespace V8Reader.Core
{
// Базовый класс для макетов, открываемых с помощью "Работы с файлами" (File Workshop)
// Основное назначение - обертка... |
Realdeal.Web/Controllers/HomeController.cs | vesko662/Realdeal | 0 | 7065443 | <filename>Realdeal.Web/Controllers/HomeController.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Realdeal.Models.Category;
using Realdeal.Models.Home;
using Realdeal.Models;
using Realdeal.Service.Advert;
using Realdeal.Service.Category;
using System.Collections.Generic;
using Syst... |
UCRS.WebClient/Views/Courses/Index.cshtml | primas23/UniversityCoursesRegistrationSystem | 0 | 7065444 | <reponame>primas23/UniversityCoursesRegistrationSystem
@using UCRS.WebClient.Models
@model IList<CourseViewModel>
@{
ViewBag.Title = "Courses";
}
<div class="row">
<div class="col-md-8">
@using (Html.BeginForm("Save", "Courses", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
... |
Practice/2D Roguelike/Assets/Scripts/Player.cs | nfyfamr/UrEgo | 0 | 7065445 | <filename>Practice/2D Roguelike/Assets/Scripts/Player.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Player : MovingOject {
public float restartLevelDelay = 1f;
public int pointsPerFood = 10;
public int point... |
src/AudioRecorderV4/Utils/FileNameGenerator.cs | drweb86/audio-recorder | 0 | 7065446 | using System;
using System.IO;
namespace AudioRecorderV4.Utils
{
internal static class FileNameGenerator
{
public static string GetOutputMp3FileName(DateTime startRecording, DateTime endRecording, string folderName)
{
var resourceLoader = Windows.ApplicationModel.Resources.Resource... |
AdventOfCode.Tests/P06Tests.cs | dfar-io/aoc-2015 | 0 | 7065447 | <reponame>dfar-io/aoc-2015<filename>AdventOfCode.Tests/P06Tests.cs<gh_stars>0
using NUnit.Framework;
using AdventOfCode.Problems.P06;
using FluentAssertions;
namespace AdventOfCode.Tests;
public class P06Tests
{
[Test]
[TestCase("turn on 0,0 through 999,999", "turn on", 0, 0, 999, 999)]
//[TestCase("toggl... |
src/Zarf/Generators/Functions/Handlers/Ints/UIntFunctionHandler.cs | HastenS/Zarf | 12 | 7065448 | using System;
using System.Linq.Expressions;
namespace Zarf.Generators.Functions.Handlers.Ints
{
public class UIntFunctionHandler : PrimitiveTypeFunctionHandler
{
public override Type SoupportedType => typeof(UInt32);
protected override void HandleParse(ISQLGenerator generator, MethodCallExpr... |
UMLToolingFramework/Classes/Kernel/BehavioralFeature.cs | CuchulainX/UML-Tooling-Framework | 20 | 7065449 | <filename>UMLToolingFramework/Classes/Kernel/BehavioralFeature.cs<gh_stars>10-100
using System.Collections.Generic;
namespace TSF.UmlToolingFramework.UML.Classes.Kernel {
public interface BehavioralFeature : Feature, Namespace {
HashSet<Type> raisedExceptions { get; set; }
HashSet<Parameter> ownedParameters ... |
ProjectManager/CurrentUserAdapter.cs | Flyingfiish/ProjectManager.CQRS | 0 | 7065450 | using System.Security.Claims;
namespace ProjectManager
{
public class CurrentUserAdapter : ICurrentUser
{
private readonly IHttpContextAccessor _httpContextAccessor;
private readonly HttpContext _httpContext;
public CurrentUserAdapter(IHttpContextAccessor httpContextAccessor)
{... |
src/FlyLolo.JWT.API/FlyLolo.JWT.API/Model/Permission.cs | FlyLolo/JWT.Demo | 28 | 7065451 | <gh_stars>10-100
using System.Collections.Generic;
namespace FlyLolo.JWT.API
{
public class Permission
{
public string Code { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public string Method { get; set; }
}
public class UserPermissions... |
src/FastGenericNew/_generated/FastGenericNew.SourceGenerator/FastGenericNew.SourceGenerator.Generator/ThrowHelper.g.cs | BThree496/FastGenericNew | 2 | 7065453 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by FastGenericNew.SourceGenerator
// Please do not modify this file directly
// <auto-generated/>
//------------------------------------------------------------------------------
#def... |
WpfAnalyzers/WPF0033UseAttachedPropertyBrowsableForTypeAttribute.cs | Insire/WpfAnalyzers | 0 | 7065454 | <gh_stars>0
namespace WpfAnalyzers
{
using Microsoft.CodeAnalysis;
internal static class WPF0033UseAttachedPropertyBrowsableForTypeAttribute
{
public const string DiagnosticId = "WPF0033";
internal static readonly DiagnosticDescriptor Descriptor = new DiagnosticDescriptor(
id: ... |
Tech Module/Extended-Programming-Fundamentals/ExtendedMoreExercisesLists/p02IntegerInsertion2/IntegerInsertion2.cs | vesy53/SoftUni | 0 | 7065455 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
class IntegerInsertion2
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToList();
string command = Console.ReadLine();
... |
src/DotNet.Consolidate.Tests/Helpers/FileHelper.cs | krzysztof-adamowski-bqs/dotnet-consolidate | 8 | 7065456 | using System.IO;
using System.Reflection;
namespace DotNet.Consolidate.Tests.Helpers
{
public class FileHelper
{
public static string ReadResource(string fileName)
{
var assembly = Assembly.GetExecutingAssembly();
var resourceName = "DotNet.Consolidate.Tests.TestData." +... |
PInvoke/FunDisc/FunctionDiscoveryApi.cs | DigitalPlatform/Vanara | 1,037 | 7065457 | using System;
using System.Runtime.InteropServices;
using static Vanara.PInvoke.Ole32;
using static Vanara.PInvoke.PropSys;
namespace Vanara.PInvoke
{
/// <summary>Interfaces and constants from the Function Discovery API.</summary>
// https://docs.microsoft.com/en-us/previous-versions/windows/desktop/fundisc/fd-por... |
FundWeaverApp/changeUC.Designer.cs | Anjitha95/FundWeaver | 0 | 7065458 | <reponame>Anjitha95/FundWeaver
namespace FundWeaverApp
{
partial class changeUC
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
SnBatchProcessor.Data/Migrations/20220417105936_initial.cs | cybertoolsset/SnBatchProcessor | 0 | 7065459 | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace SnBatchProcessor.Data.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
BCManager/src/Models/BCMAbstract.cs | kangkang198778/BCM | 0 | 7065460 | <reponame>kangkang198778/BCM
using System;
using System.Collections.Generic;
namespace BCM.Models
{
[Serializable]
public class BCMAbstract
{
[NonSerialized]
private Dictionary<string, string> _options;
[NonSerialized]
private Dictionary<string, object> _bin;
[NonSerialized]
private stri... |
Assets/Editor_Learn/Editor/LookAtPoint.cs | icansmile/UGUITest | 0 | 7065461 | using UnityEngine;
using UnityEditor;
[ExecuteInEditMode]
[CanEditMultipleObjects]
public class LookAtPoint : MonoBehaviour {
public Vector3 lookAtPoint = Vector3.zero;
// Update is called once per frame
public void Update () {
transform.LookAt(lookAtPoint);
}
}
|
Icepack/Internal/TypeMetadata.cs | doobah/icepack | 0 | 7065462 | <filename>Icepack/Internal/TypeMetadata.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Reflection;
using System.IO;
namespace Icepack
{
/// <summary> Contains information necessary to serialize/deserialize a type. </s... |
sb_combat/Cards/BaseCard.cs | urbanyeti/sbad-card-combat | 0 | 7065463 | <reponame>urbanyeti/sbad-card-combat
using System.Collections.Generic;
using System.Linq;
namespace SuperBaddy.Combat.Cards
{
public abstract class BaseCard : ICard
{
public BaseCard(string id, string name, string description, PowerType.Type powerType, int powerValue, IEnumerable<string> properties)
{
... |
Connect Four/Source/EndGameStates/WonEndGameState.cs | JMMarland/Connect-Four-with-an-AI-Player | 0 | 7065464 | <gh_stars>0
using Connect_Four.Source.Players;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Connect_Four.Source.EndGameStates
{
class WonEndGameState : IEndGameState
{
public bool IsTie => false;
private Player _... |
MathCore/ViewModels/ViewModel.Set.cs | Platonenkov/MathCore | 2 | 7065465 | using System;
using System.Runtime.CompilerServices;
using MathCore.Annotations;
// ReSharper disable UnusedType.Global
// ReSharper disable UnusedMember.Global
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable AssignNullToNotNullAttribute
namespace MathCore.ViewModels
{
public partial class Vie... |
src/IOfThings.Spatial.Text.GeoJson/IOfThings.Spatial.Text.GeoJson/Interfaces/IGeoJsonObject.cs | pandaGaume/GeoJsonSerializer | 0 | 7065466 | <filename>src/IOfThings.Spatial.Text.GeoJson/IOfThings.Spatial.Text.GeoJson/Interfaces/IGeoJsonObject.cs
using IOfThings.Spatial.Text.Json;
using System;
namespace IOfThings.Spatial.Text.GeoJson
{
[JsonInterfaceConverter(typeof(PolymorphicJsonConverter<IGeoJsonObject,object>))]
public interface IGeoJsonObject... |
AzureBlobStorageXF/AzureBlobStorageXF/MainPage.xaml.cs | jorgemht/AzureBlobStorageXF | 0 | 7065467 | namespace AzureBlobStorageXF
{
using AzureBlobStorageXF.Services;
using Plugin.Media;
using Plugin.Media.Abstractions;
using System;
using System.ComponentModel;
using System.Diagnostics;
using Xamarin.Forms;
[DesignTimeVisible(false)]
public partial class MainPage : ContentPage
... |
ScrollNullity/TableViewScroll_Destroyer.cs | Auros/ScrollNullity | 0 | 7065468 | using HMUI;
using HarmonyLib;
namespace ScrollNullity
{
[HarmonyPatch(typeof(TableViewScroller), "HandleJoystickWasNotCenteredThisFrame")]
internal class TableViewScroll_Destroyer
{
internal static bool Prefix()
{
return false;
}
}
[HarmonyPatch(typeof(TableVie... |
DemandManagementServer/Controllers/API/CustomerController.cs | caoxiaosheng/DemandManagementServer | 0 | 7065470 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DemandManagementServer.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace DemandManagementServer.Controllers.API
{
[Authorize(AuthenticationSchemes = "Bearer")]
pub... |
03 - 04. Data Types And Variables Exercises/IntegerToHexAndBinary/IntegerToHexAndBinary.cs | pirocorp/CSharp-Fundamentals | 0 | 7065471 | <gh_stars>0
using System;
namespace IntegerToHexAndBinary
{
class IntegerToHexAndBinary
{
static void Main()
{
var decNum = int.Parse(Console.ReadLine());
string binNum = Convert.ToString(decNum, 2);
string hexNum = Convert.ToString(decNum, 16);
... |
src/Lightwind.Core/Db/ServiceCollectionExtensions.cs | wswind/lightwind | 7 | 7065472 | <filename>src/Lightwind.Core/Db/ServiceCollectionExtensions.cs
// Licence: MIT
// Author: <NAME>
// Email: <EMAIL>
// ProjectUrl: https://github.com/wswind/lightwind
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Lightwind.Core.Db
{
public static class ServiceCollectionExtensions
{
... |
EplanIdleTimeModule/ModuleConfiguration.cs | dimabeel/EplanIdleTimeModule | 0 | 7065473 | <filename>EplanIdleTimeModule/ModuleConfiguration.cs
using System;
using System.Configuration;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace IdleTimeModule
{
public interface IModuleConfiguration
{
/// <summary>
/// Прочитать конфигурацию модуля
/// </... |
PBWebApi.Api.21/Controllers/EnderecosController.cs | miqueiasrafael/pb_dev_miqueiasrafael | 0 | 7065474 | <reponame>miqueiasrafael/pb_dev_miqueiasrafael<gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using PBWebApi.DataAccess.Models;
using PBWebApi.DataAccess.Repositories;
namespace PBWebApi.Api._21.Controllers
{
#region snip... |
Rest/NakedObjects.Rest.Test.Performance/ObjectTest.cs | sebastianslutzky/NakedObjectsFramework | 0 | 7065475 | <reponame>sebastianslutzky/NakedObjectsFramework
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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://ww... |
sdk/dotnet/Inputs/CalicoArgs.cs | ydkn/pulumi-k0s | 0 | 7065476 | <gh_stars>0
// *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.K0s.Inp... |
Week 1 What did you think you would make in this class make it/G.A.M.E/Assets/Scripts/GeneralPurpose/sceneChange.cs | Mostopha/prototypestudio | 0 | 7065478 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class sceneChange : MonoBehaviour {
public void changeScene(string nextScene) {
//GameObject.Find("GameManager").GetComponent<pause>().paused=false;
Time.timeScale = 1... |
samples/XLabs.Samples/XLabs.Samples/Pages/Controls/GridViewPage.xaml.cs | eComanda/Xamarin-Forms-Labs | 1,407 | 7065479 | <filename>samples/XLabs.Samples/XLabs.Samples/Pages/Controls/GridViewPage.xaml.cs
// ***********************************************************************
// Assembly : XLabs.Sample
// Author : <NAME>
// Created : 12-27-2015
//
// Last Modified By : XLabs Team
// Last Modified On : 01-04-... |
iOS/SampleBrowser/Samples/NumericTextBox/NumericTextBox_Tablet.cs | syncfusion/xamarin-demos | 269 | 7065480 | <gh_stars>100-1000
#region Copyright Syncfusion Inc. 2001-2021
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// appli... |
Frends.Regex.IsMatch/Frends.Regex.IsMatch/Definition.cs | FrendsPlatform/Frends.Regex | 0 | 7065481 | <reponame>FrendsPlatform/Frends.Regex
#pragma warning disable 1591
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Frends.Regex
{
public class MatchParameters
{
/// <summary>
/// Text to be examined.
/// </summary>
[DisplayFormat(DataFormatS... |
Assets/Plugins/GameCreator/Variables/Mono/Components/ListVariables.cs | SK0P3iN/Rapid-Prototyping-Unity-Game | 2 | 7065482 | namespace GameCreator.Variables
{
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameCreator.Core;
[DisallowMultipleComponent]
[AddComponentMenu("Game Creator/List Variables")]
public class ListVariables : LocalVariables
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.