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 |
|---|---|---|---|---|
ProcurementTracker/Data/Migrations/20210918121321_ApplicationActions.cs | joeseggie/procurements-tracker | 0 | 7032162 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ProcurementTracker.Data.Migrations
{
public partial class ApplicationActions : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: ... |
ExtTools/DependedValues/DepFromArray.cs | a94827/FreeLibSet | 0 | 7032163 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace FreeLibSet.DependedValues
{
/// <summary>
/// Выбор одного из значений по индексу.
/// Массив значений для выбора является фиксированным.
/// Если требуется выбор из вычисляемых значений, используйте класс DepByIndex
//... |
Jcd.Formatting/IntegerEncoder.cs | jason-c-daniels/Jcd.Formatting | 0 | 7032164 | <reponame>jason-c-daniels/Jcd.Formatting<filename>Jcd.Formatting/IntegerEncoder.cs
using System;
using System.Collections.Generic;
using System.Numerics;
using Jcd.Reflection;
using Jcd.Validations;
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedMember.Global
namespace Jcd.Formattin... |
src/Google.Cloud.Diagnostics.Debug/Google.Cloud.Diagnostics.Debug.PerformanceTests/RequestLatencyTests.cs | emzeq/google-cloud-dotnet-debugger | 12 | 7032165 | <filename>src/Google.Cloud.Diagnostics.Debug/Google.Cloud.Diagnostics.Debug.PerformanceTests/RequestLatencyTests.cs
// Copyright 2017 Google Inc. 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 obt... |
Coremoran.BluePrism.Json/DataTableRowHandler.cs | toarnold/Coremoran.BluePrism.Json | 1 | 7032166 | using Newtonsoft.Json;
using System;
using System.Data;
namespace Coremoran.BluePrism.Json
{
internal static class DataTableRowHandler
{
private static void AppendArrayItem(DataTable table, Type colType, string colName, object value)
{
if (!table.Columns.Contains(colName))
... |
AudiotLogic/TheoryLogic/Scales.cs | kbdnr/Audiot | 3 | 7032167 | <filename>AudiotLogic/TheoryLogic/Scales.cs
using System.Collections.Generic;
namespace AudiotLogic.TheoryLogic
{
public class Scale
{
public List<int> Steps { get; set; }
public int Divisions { get; set; }
public string Name { get; set; }
public Scale(List<int> steps, int div... |
MetCounterService/Copyinfo/Forms/Controls/CLineCompare_Report.Designer.cs | possibility022/CopyMachineCounterService | 0 | 7032168 | <gh_stars>0
namespace Copyinfo.Forms.Controls
{
partial class CLineCompare_Report
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
OpenNETCF.Web/OpenNETCF.Web/Configuration/CachingProfile.cs | ctacke/padarn | 3 | 7032169 | <filename>OpenNETCF.Web/OpenNETCF.Web/Configuration/CachingProfile.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace OpenNETCF.Web.Configuration
{
public sealed class CachingProfile
{
internal CachingProfile(XmlNode descriptor)
{
... |
Build/Nuke/Settings.cs | itlibrium/DDD-starter-dotnet | 152 | 7032170 | <filename>Build/Nuke/Settings.cs
using Microsoft.Extensions.Configuration;
using MyCompany.Crm.Nuke.Elastic;
using MyCompany.Crm.Nuke.Helpers;
using MyCompany.Crm.Nuke.Postgres;
using static MyCompany.Crm.Nuke.Paths;
namespace MyCompany.Crm.Nuke
{
public static class Settings
{
public static ElasticSet... |
testcases/openxml4net/ZipFileAssert.cs | Cy-Team/npoi | 7 | 7032171 | <gh_stars>1-10
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses... |
SecretsManagerDotNetSecretRotator/Source/SecretRotator.LetsEncryptAccountKey/CryptoHelper.cs | paulfryer/aws-secrets-manager-rotation-lambdas | 2 | 7032172 | <filename>SecretsManagerDotNetSecretRotator/Source/SecretRotator.LetsEncryptAccountKey/CryptoHelper.cs
using System;
using System.IO;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Org.BouncyCastle.Asn1.Pkcs;
using Org.BouncyCastle.Crypto;
using Org.Bo... |
RedSpiceBot/ArtifactGenerator/MarkovChainMap.cs | GzusO/RedSpiceBot | 2 | 7032173 | <gh_stars>1-10
// Copyright © 2016 <EMAIL>
//
// This source code is released under the Code Project Open License 1.02.
// Please see http://www.codeproject.com/info/cpol10.aspx
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime... |
src/Microsoft.Health.SqlServer/Features/Health/SqlServerHealthCheck.cs | peizhou298/healthcare-shared-components | 28 | 7032174 | <filename>src/Microsoft.Health.SqlServer/Features/Health/SqlServerHealthCheck.cs<gh_stars>10-100
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the ... |
Sources/Comora/SpriteBatchExtensions.cs | aloisdeniel/Comora | 39 | 7032175 | namespace Comora
{
using Comora.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
public static class SpriteBatchExtensions
{
public static void Begin(this SpriteBatch spriteBatch, ICamera camera, SpriteSortMode sortMode = SpriteSortMode.Deferred, BlendState blendState = null,... |
Client/Systems/VesselPositionAltSys/VesselPositionAltUpdate.cs | Fierce-Cat/LunaMultiPlayer | 0 | 7032176 | using LunaCommon.Message.Data.Vessel;
using System;
using UnityEngine;
// ReSharper disable All
namespace LunaClient.Systems.VesselPositionAltSys
{
/// <summary>
/// This class handle the vessel position updates that we received and applies it to the correct vessel.
/// It also handle it's interpolation... |
1-csharp/HelloVisualStudio/HelloVisualStudio.ConsoleApp/Program.cs | 2011-nov02-net/trainer-code | 0 | 7032177 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using HelloVisualStudio.ConsoleApp.Display;
using HelloVisualStudio.Library;
using HelloVisualStudio.Library.Sorting;
namespace HelloVisualStudio.ConsoleApp
{
class Program
{
static void Main(string[] args)
{... |
Assets/Scripts/Loli/Behaviors/Passive.Clothing.cs | Foxify52/OpenViva | 0 | 7032178 | <gh_stars>0
using UnityEngine;
namespace viva
{
public class ClothingBehavior : PassiveBehaviors.PassiveTask
{
public ClothingBehavior(Loli _self) : base(_self, Mathf.Infinity)
{
}
public void AttemptReactToOutfitChange()
{
self.SetTargetAnimation(Loli.A... |
ServiceStackDemo/App_Start/AppHost.cs | reverentgeek/LudicrousDemoMono | 0 | 7032179 | <gh_stars>0
using System.Configuration;
using System.Web.Mvc;
using ServiceStack;
using ServiceStack.Auth;
using ServiceStack.Configuration;
using ServiceStack.Data;
using ServiceStack.Mvc;
using ServiceStack.OrmLite;
[assembly: WebActivator.PreApplicationStartMethod(typeof(ServiceStackDemo.App_Start.AppHost), "Start"... |
Src/Core/PortableExtensions/JsonHelpers/CustomerJsonWriter.cs | Ricky-G/ManagedFinanceApi | 2 | 7032180 | <reponame>Ricky-G/ManagedFinanceApi
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace PortableExtensions.JsonHelpers
{
public class CustomJsonWriter : JsonTextWriter
{
private readonly Dictionary<string, string> _backwardMappings;
public CustomJsonWriter(Text... |
src/EventLog.cs | IKende/EventNext | 37 | 7032181 | <filename>src/EventLog.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace EventNext
{
public class EventStore
{
public string EventID { get; set; }
public string ParentEventID { get; set; }
public string ActorPath { get; set; }
public string Even... |
test/More.Cqrs.Tests/AggregateTest.cs | commonsensesoftware/More.Cqrs | 5 | 7032182 | <filename>test/More.Cqrs.Tests/AggregateTest.cs
namespace More.Domain
{
using Example;
using FluentAssertions;
using More.Domain.Events;
using System;
using System.Linq;
using Xunit;
using static System.DateTimeOffset;
using static System.Guid;
public class AggregateTest
{
... |
Logichroma/Areas/Game/Models/GameModels/GameModel.cs | crybx/logichroma | 0 | 7032183 | using Logichroma.Areas.Game.Models.GameModels.ChildObjects;
using Logichroma.GameEngine.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Logichroma.Areas.Game.Models.GameModels
{
public class GameModel
{
#region Part of Da... |
CommonTools.Lib.ns11/EventHandlerTools/EventHandlerExtensions.cs | peterson1/FreshCopy | 0 | 7032184 | using System;
namespace CommonTools.Lib.ns11.EventHandlerTools
{
public static class EventHandlerExtensions
{
public static void Raise(this EventHandler handlr, object sender = null)
=> handlr?.Invoke(sender, EventArgs.Empty);
public static void Raise<T>(this EventHandler<T> hand... |
src/Modules/Laser.Orchard.Mobile/Controllers/AppStoreRedirectController.cs | INVA-Spa/Laser.Orchard.Platform | 8 | 7032185 | using Laser.Orchard.Mobile.Services;
using System;
using System.Web.Mvc;
namespace Laser.Orchard.Mobile.Controllers {
public class AppStoreRedirectController : Controller {
private readonly IUserAgentRedirectServices _userAgentRedirectServices;
public AppStoreRedirectController(IUserAgentRedirectS... |
src/System.Collections.Concurrent/tests/ConcurrentQueueTests.netcoreapp.cs | vkvenkat/corefx | 15 | 7032186 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xun... |
Pluto.Domain/Models/User.cs | mswinner/Pluto | 0 | 7032187 | <reponame>mswinner/Pluto
using Pluto.Domain.Models.Common;
namespace Pluto.Domain.Models
{
public class User : Entity
{
// -> Empty contructor for EF
public User()
{
}
public User(string name, string email, string password)
{
Name = name;
... |
Quermine.Tests/MySqlTests.cs | gmantaos/Quermine | 0 | 7032188 | <gh_stars>0
using System;
using Quermine;
using Quermine.MySql;
using NUnit.Framework;
using System.Collections.Generic;
namespace Quermine.Tests
{
[TestFixture]
public class MySqlTests
{
/*
* ConnectionInfo tests
*/
public static IEnumerable<object[]> ConnectionInfoTestCases()
{
yield return
... |
test/Microsoft.ML.AutoML.Tests/Util.cs | GitHubPang/machinelearning | 8,130 | 7032189 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Data;
using Newtonsoft.Json;
... |
src/Zest.BL.TyreDistributor/Interfaces/ITyre.cs | hpsanampudi/Zest.OrderManagement | 0 | 7032190 | using Zest.BL.OrderManagement.Interfaces;
using Zest.BL.TyreDistributor.Models;
namespace Zest.BL.TyreDistributor.Interfaces
{
/// <summary>
/// Interface which is used store Tyre related information.
/// </summary>
/// <seealso cref="Zest.BL.OrderManagement.Interfaces.IProduct" />
public interfac... |
Source/Facebook/FacebookMediaObject.cs | isabella232/facebook-csharp-sdk | 379 | 7032192 | //-----------------------------------------------------------------------
// <copyright file="FacebookMediaObject.cs" company="The Outercurve Foundation">
// Copyright (c) 2011, The Outercurve Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ... |
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenSearchAbilityBatchqueryModel.cs | LuohuaRain/payment | 0 | 7032193 | using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayOpenSearchAbilityBatchqueryModel Data Structure.
/// </summary>
public class AlipayOpenSearchAbilityBatchqueryModel : AlipayObject
{
/// <summary>
/// 搜索运营列表的查询reque... |
Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities.Tests/EntityManagerTests.cs | polartron/open-netcode | 7 | 7032194 | <filename>Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities.Tests/EntityManagerTests.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Unity.Collections;
using NUnit.Framework;
using Unity.Burst;
using Unity.Collections.LowLevel.Unsafe;
namespace Un... |
Tests/Runtime/PeerConnectionTest.cs | SES-Technologies/com.unity.webrtc | 0 | 7032195 | <gh_stars>0
using UnityEngine;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
using System.Linq;
namespace Unity.WebRTC.RuntimeTest
{
class PeerConnectionTest
{
static RTCConfiguration GetConfiguration()
{
RTCConfiguration config = default;
... |
src/Microsoft.Graph/Generated/model/SearchAlterationOptions.cs | microsoftgraph/msgraph-beta-sdk-dotnet | 71 | 7032196 | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
src/PetClinic/PetClinic.Startup/Specs/AppointmentsController.Specs.cs | stefanMinch3v/DomainDrivenDesignArchitecture | 1 | 7032197 | <reponame>stefanMinch3v/DomainDrivenDesignArchitecture
namespace PetClinic.Startup.Specs
{
using Application.Appointments.Commands.Update;
using Infrastructure.Common.Persistence;
using MyTested.AspNetCore.Mvc;
using System;
using Web.Controllers;
using Xunit;
public class AppointmentsCont... |
ChineseChess.Core/ChessCamp.cs | jie65535/ChineseChess | 0 | 7032198 | <reponame>jie65535/ChineseChess
namespace ChineseChess.Core
{
/// <summary>
/// 棋子阵营
/// </summary>
public enum ChessCamp
{
/// <summary>
/// 红方
/// </summary>
Red,
/// <summary>
/// 黑方
/// </summary>
Black,
}
public static c... |
Sudoku/Assets/Editor/ToolGameConfigGenerator.cs | Davidccy/Unity-Sudoku | 0 | 7032200 | <reponame>Davidccy/Unity-Sudoku<filename>Sudoku/Assets/Editor/ToolGameConfigGenerator.cs
using UnityEngine;
using UnityEditor;
public class ToolGameConfigGenerator {
[MenuItem("PokemonTools/GameConfigGenerator")]
public static void CreateMyAsset() {
GameConfig asset = ScriptableObject.CreateInstance<G... |
AppModel/EIS.WorkFlow.XPDLParser/Elements/BizLogic.cs | chen1993nian/CPMPlatform | 0 | 7032201 | using System;
namespace EIS.WorkFlow.XPDLParser.Elements
{
public class BizLogic : BaseElement
{
private string string_0;
private string string_1;
public BizLogic()
{
}
public string GetEventName()
{
return base.GetAttribute(this.string_1, out this.string_1, "EventName");
}
public new string... |
src/ServerApi/Services/Adnc.Whse/Adnc.Whse.WebApi/Controllers/ProductController.cs | DuanJiChao/Adnc | 603 | 7032202 | <gh_stars>100-1000
using Adnc.Application.Shared.Dtos;
using Adnc.WebApi.Shared;
using Adnc.Whse.Application.Contracts.Dtos;
using Adnc.Whse.Application.Contracts.Services;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Adnc.Whse.WebApi.Controllers
{
/// ... |
Main/Source/NMemory/Linq/EnumerableEx.cs | CedricDumont/NMemory.Next | 0 | 7032203 | <reponame>CedricDumont/NMemory.Next
// ----------------------------------------------------------------------------------
// <copyright file="EnumerableEx.cs" company="NMemory Team">
// Copyright (C) NMemory Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of ... |
NCDApp.api/Providers/ApplicationOAuthProvider.cs | carlosgonzg/NCDB | 0 | 7032204 | <filename>NCDApp.api/Providers/ApplicationOAuthProvider.cs<gh_stars>0
using Microsoft.Owin.Security.OAuth;
using System.Security.Claims;
using System.Threading.Tasks;
using NCDApp.bll;
using NCDApp.dal;
namespace NCDApp.api.Providers
{
public class ApplicationOAuthProvider : OAuthAuthorizationServerProvider
{... |
ORTC/ORTC.cs | albyho/Tubumu.Mediasoup | 11 | 7032205 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.Json;
using System.Text.RegularExpressions;
using Force.DeepCloner;
using Tubumu.Utils.Extensions;
using Tubumu.Utils.Extensions.Object;
namespace Tubumu.Mediasoup
{
public static class ORTC
{
... |
BackEnd/GentlePay/GentlePay/GentlePay.Domain/Enums/Currency.cs | Edwardchorius/GentlePay | 0 | 7032206 | using System;
using System.Collections.Generic;
using System.Text;
namespace GentlePay.Domain.Enums
{
public enum Currency
{
BGN = 1,
EUR = 2,
USD = 3,
GBP = 4,
CHF = 5
}
}
|
Microsoft.Toolkit.Uwp.UI/Extensions/Markup/Abstract/TextIconExtension{T}.cs | uwx/WindowsCommunityToolkit | 1 | 7032207 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Windows.UI.Xaml.Markup;
namespace Microsoft.Toolkit.Uwp.UI.Extensions
{
/// <summary>
/// An abstrac... |
iSpyApplication/Controls/MediaPanelControlButton.cs | isaacandy/ispyconnect | 1 | 7032208 | <filename>iSpyApplication/Controls/MediaPanelControlButton.cs
using System;
using System.Drawing;
using System.Windows.Forms;
namespace iSpyApplication.Controls
{
class MediaPanelControlButton: PictureBox
{
private Point _offset = new Point(0,0);
public Point Offset {
ge... |
tests/Sirius.Parser.Tests/Semantic/SemanticParserTest.cs | siriusch/Sirius.Parser | 0 | 7032209 | using System;
using System.Linq;
using System.Threading;
using Sirius.Collections;
using Sirius.Parser.Semantic;
using Sirius.Parser.Semantic.Tokens;
using Sirius.RegularExpressions.Parser;
using Sirius.Unicode;
using Xunit;
using Xunit.Abstractions;
namespace Sirius.Parser {
public class SemanticPars... |
C# Toolboxes/Toolboxes/ObjectRSAEncrypter/AwiaObjectRSAEncrypter.cs | Awia00/AWS-Toolboxes | 0 | 7032210 | using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
namespace ObjectRSAEncrypter
{
public class AwiaObjectRSAEncrypter
{
public long PublicKey { get; set; }
... |
Assets/Scripts/GameOverHighlightCanvas.cs | cbraunsch-dev/Feed-the-Snails | 0 | 7032212 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using DG.Tweening.Core;
using UnityEngine.UI;
using System;
/**
* We want this object to be available all the time so that we don't have to drag this component into every scene.
*/
public class GameOverHighlightCanvas ... |
src/Elastic.Apm/Helpers/SystemInfoHelper.cs | brezaie/apm-agent-dotnet | 1 | 7032213 | using System;
using System.IO;
using System.Text.RegularExpressions;
using Elastic.Apm.Api;
using Elastic.Apm.Logging;
namespace Elastic.Apm.Helpers
{
internal class SystemInfoHelper
{
private const string ContainerUidRegexString = "^[0-9a-fA-F]{64}$";
private const string PodRegexString = @"(?:^/kubepods/[^/]+... |
src/Lykke.Service.GoogleAnalyticsWrapper.Core/Services/IGaUserService.cs | JTOne123/Lykke.Service.GoogleAnalyticsWrapper | 0 | 7032214 | <filename>src/Lykke.Service.GoogleAnalyticsWrapper.Core/Services/IGaUserService.cs
using System.Threading.Tasks;
using Lykke.Service.GoogleAnalyticsWrapper.Core.Domain.GaTraffic;
using Lykke.Service.GoogleAnalyticsWrapper.Core.Domain.GaUser;
namespace Lykke.Service.GoogleAnalyticsWrapper.Core.Services
{
public in... |
01 - Beginner/1015distanceOfPoints.cs | fahmedx/Beecrowd-C-Studies | 0 | 7032215 | using System;
class URI{
/*
Read the four values corresponding to the x and y axes of
two points in the plane, p1 (x1, y1) and p2 (x2, y2) and
calculate the distance between them, showing four decimal
places after the comma, according to the formula.
Input
The input f... |
test/src/csharp/PerCederberg.Grammatica.Test/RegexpConstants.cs | nkchinh/grammatica | 86 | 7032216 | /*
* RegexpConstants.cs
*
* THIS FILE HAS BEEN GENERATED AUTOMATICALLY. DO NOT EDIT!
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the BSD license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the... |
TrackLauncher/TrackLauncher/Views/Popup.xaml.cs | flabbet/TrackLauncher | 0 | 7032217 | <reponame>flabbet/TrackLauncher
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
usi... |
src/TrackerUI/MainWindow.Designer.cs | pranavphadke/tournamentTracker | 0 | 7032219 | namespace TrackerUI
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
api/Application.Infrastructure/Export/Word.cs | SarLayer/CATSdesigner | 0 | 7032220 | <filename>api/Application.Infrastructure/Export/Word.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;
us... |
SistemaCsharp_Pitbullnet/frmPrincipalcs.Designer.cs | andresshare/.NET-app_learning | 0 | 7032221 | namespace SistemaCsharp_Pitbullnet
{
partial class frmPrincipalcs
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/... |
OData/test/System.Web.Http.OData.Test/OData/Builder/TestModels/Order.cs | matiias/MVC | 71 | 7032222 | <reponame>matiias/MVC
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.Http.OData.Builder.TestModels
{
public class Order
{
public int OrderId { get; set; }
public Customer Customer { get; ... |
Clifton.Core/Clifton.Core.Utils/RestCall.cs | cliftonm/clifton | 9 | 7032223 | <reponame>cliftonm/clifton<filename>Clifton.Core/Clifton.Core.Utils/RestCall.cs
/* The MIT License (MIT)
*
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software wit... |
ZySharp.Validation.Tests/TestValidationEquality.cs | flobernd/zysharp-validation | 0 | 7032224 | <gh_stars>0
using System;
using Xunit;
namespace ZySharp.Validation.Tests
{
public sealed class TestValidationEquality
{
[Theory]
[InlineData(DateTimeKind.Local, DateTimeKind.Local)]
public void Test_Equal_Valid(DateTimeKind expected, DateTimeKind value)
{
Validate... |
Assembly-CSharp/Patches/OnScreenDebugInfo.cs | AcridStingray3/HollowKnight.Modding | 0 | 7032225 | using MonoMod;
using UnityEngine;
//We don't care about XML docs for these as they are being patched into the original code
// ReSharper disable All
#pragma warning disable 1591
namespace Modding.Patches
{
[MonoModPatch("global::OnScreenDebugInfo")]
public class OnScreenDebugInfo : global::OnScreenDebugInfo
... |
samples/ImageLoading.Forms.Sample/Shared/Pages/BasicPage.xaml.cs | Prin53/FFImageLoading | 1,365 | 7032226 | using System;
using System.Collections.Generic;
using Xamarin.Forms;
using System.Windows.Input;
using Xamvvm;
namespace FFImageLoading.Forms.Sample
{
public partial class BasicPage : ContentPage, IBasePage<BasicPageModel>
{
public BasicPage()
{
InitializeComponent();
}
... |
Chinook.Mvc/Controllers/Chinook/CustomerDocumentController.cs | EasyLOB/EasyLOB-Chinook-2 | 0 | 7032227 | using Chinook.Application;
using Chinook.Data;
using Chinook.Data.Resources;
using EasyLOB;
using EasyLOB.Data;
using EasyLOB.Mvc;
using Newtonsoft.Json;
using Syncfusion.JavaScript;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Web.Mvc;
namespace Chinook.Mvc
{
... |
Fluffle.PerceptualHashing/Images.cs | NoppesTheFolf/Fluffle | 0 | 7032228 | namespace Noppes.Fluffle.PerceptualHashing
{
public readonly struct HashedImage
{
public int Id { get; }
public ulong Hash { get; }
public HashedImage(int id, ulong hash)
{
Id = id;
Hash = hash;
}
public bool Equals(HashedImage other)
... |
CommunityToolkit.HighPerformance/Buffers/StringPool.cs | Nirmal4G/appkit-dotnet | 612 | 7032229 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Text;
using... |
AzDeploy.Build/Models/VersionCheck.cs | adamosoftware/AzDeploy | 0 | 7032230 | <gh_stars>0
using System;
namespace AzDeploy.Build.Models
{
public class VersionCheck
{
public bool IsNew { get; set; }
public Version Version { get; set; }
public const string VersionMetadata = "version";
}
}
|
src/Formats/Nif/src/Game.Format.Nif2/Gen/ElementReference.cs | libcs/gamer.asset.net | 2 | 7032231 | <gh_stars>1-10
/* Copyright (c) 2006, NIF File Format Library and Tools */
// THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT! //
// To change this file, alter the generate_cs.py Python script.
using System;
using System.IO;
using System.Collections.Generic;
namespace Niflib
{
/*! ElementReference */
... |
src/AspNetCoreMvcWizard/Views/Checkout/Index.cshtml | edteke/AspNetCoreMvcWizard | 3 | 7032232 | <reponame>edteke/AspNetCoreMvcWizard
@{
ViewData["Title"] = "Checkout";
}
<h2>Checkout</h2>
<p>Welcome to the Checkout process</p>
<p>You are purchasing product AAAAAA</p>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<hr />
<input type="submit" name="go" value="Start New" class="btn btn-pr... |
IOCPUtils/SocketResult.cs | ClockGet/SimpleIOCPServer | 148 | 7032233 | <gh_stars>100-1000
using System;
using System.Net.Sockets;
namespace IOCPUtils
{
public sealed class SocketResult
{
public static SocketResult NotSocket = new SocketResult { SocketError=SocketError.NotSocket };
public byte[] Data { get; set; }
public int Length { get; set; }
pu... |
src/Laugris.Sage/Controls/FileItem.cs | perevoznyk/krento | 4 | 7032235 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Drawing;
namespace Laugris.Sage
{
public class FileItem : IDisposable
{
private Bitmap logo;
private string fileName;
private string name;
public FileItem()
... |
My Projects/Alux3D/game/alux3d/server/weapons/siberion/v1/siberion.image.cs | fr1tz/alux3d | 0 | 7032236 | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
datablock ShapeBaseImageData(WpnSiberionImage)
{
// Basic Item properties
shapeFile = "content/fr1tz/oldshapes/raptor/image/p1/TP_Raptor.DAE";
shapeFileFP = "content/fr1tz/oldshapes/si... |
printurls/FormIterate.Designer.cs | ambiesoft/printurls | 0 | 7032237 | <reponame>ambiesoft/printurls
namespace printurls
{
partial class FormIterate
{
/// <summary>
/// 必要なデザイナ変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
... |
sources/tools/Stride.TextureConverter/Frontend/TexArray.cs | profan/stride | 3 | 7032238 | <reponame>profan/stride
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using ... |
FluentAvaloniaSamples/Pages/NewControlsPage.axaml.cs | memorydream/FluentAvalonia | 0 | 7032239 | <filename>FluentAvaloniaSamples/Pages/NewControlsPage.axaml.cs
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
using Avalonia.VisualTree;
using FluentAvaloniaSamples.Controls;
using FluentAvaloniaSamples.Services;
using FluentAvaloniaSamples.ViewModels;
... |
Assets/DataBase/Controller/GearDB.cs | ccadori/mecha | 0 | 7032240 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GearDB : MonoBehaviour {
public List<GearType> gearTypes;
public List<GearArea> areas;
void Awake(){
SetGearId ();
}
void SetGearId(){
for (int i = 0; i < gearTypes.Count; i++) {
gearTypes[i].id = i;
}
}
pu... |
Assets/Scripts/VerifySkillTarget.cs | Bozar/AxeMan | 42 | 7032241 | using AxeMan.DungeonObject;
using AxeMan.DungeonObject.ActorSkill;
using AxeMan.GameSystem.GameDataTag;
using AxeMan.GameSystem.GameMode;
using AxeMan.GameSystem.InitializeGameWorld;
using AxeMan.GameSystem.SearchGameObject;
using UnityEngine;
namespace AxeMan.GameSystem
{
public class VerifySkillTarget : MonoBeh... |
RefactoringEssentials/CSharp/Diagnostics/CodeActionFactory.cs | aluanhaddad/RefactoringEssentials | 3 | 7032242 | <gh_stars>1-10
using System;
using Microsoft.CodeAnalysis.CodeActions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
namespace RefactoringEssentials
{
static class CodeActionFactory
{
public static CodeAction Create(TextSpan textS... |
src/Bots/Bot.API/Dialogs/BotActionTypes.cs | skynode/eShopOnContainersAI | 1 | 7032243 | namespace Microsoft.Bots.Bot.API.Dialogs
{
public static class BotActionTypes{
public const string NextPage = "NextPage";
public const string PreviousPage = "PreviousPage";
public const string Back = "Back";
public const string AddBasket = "Basket.Add";
public const string Ca... |
src/Exceptionless/LastReferenceIdManager/ILastReferenceIdManager.cs | rwecho/Exceptionless.Net | 473 | 7032244 | <reponame>rwecho/Exceptionless.Net
using System;
namespace Exceptionless {
public interface ILastReferenceIdManager {
/// <summary>
/// Gets the last event id that was submitted to the server.
/// </summary>
/// <returns>The event id</returns>
string GetLast();
//... |
Engines/FlatRedBallXNA/FlatRedBall/IO/Csv/RuntimeCsvRepresentation.cs | vchelaru/FlatRedBall | 110 | 7032245 | using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Reflection;
using FlatRedBall.Instructions.Reflection;
using System.Xml.Serialization;
using FlatRedBall.Utilities;
using System.Linq;
using System.Diagnostics;
namespace FlatRedBall.IO.Csv
{
#region CsvHeader... |
C#Advanced/ProjectsAndSolutionsFromLecturesAndExercises/10ws-AlgorithmsIntroduction/01.RecursiveArraySum/Program.cs | LyubomirRashkov/Software-University-SoftUni | 0 | 7032246 | <filename>C#Advanced/ProjectsAndSolutionsFromLecturesAndExercises/10ws-AlgorithmsIntroduction/01.RecursiveArraySum/Program.cs
using System;
using System.Linq;
namespace _01.RecursiveArraySum
{
public class Program
{
static void Main()
{
int[] numbers = Console.ReadLine()
... |
Seaal.Mih.Helper.WinForms/Views/MainMenuView.Designer.cs | Seaal/MIH-Helper | 0 | 7032247 | namespace Seaal.Mih.Helper.WinForms
{
partial class MainMenuView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... |
BizHawk.Emulation.Cores/Computers/MSX/MSX.IStatable.cs | chaos-lord/tpp-BizHawk2 | 0 | 7032248 | using System;
using System.IO;
using BizHawk.Common;
using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Computers.MSX
{
public partial class MSX : IStatable
{
public bool BinarySaveStatesPreferred => true;
public void SaveStateText(TextWriter writer)
{
SyncState(new Serializer(writer));
... |
NerveFramework.UnitTests/Infrastructure/Transactions/Fakes/FakeQueryWithValidator.cs | ialekseev/nerve-framework | 0 | 7032249 | <gh_stars>0
using FluentValidation;
using NerveFramework.Core.Transactions;
namespace NerveFramework.UnitTests.Infrastructure.Transactions.Fakes
{
public class FakeQueryWithValidator : IQuery<string>
{
public string InputValue { get; set; }
}
public class ValidateFakeQueryWithValidator: Abstr... |
src/Scim/SimpleIdServer.Scim/Api/BulkController.cs | gengle/SimpleIdServer | 1 | 7032250 | <reponame>gengle/SimpleIdServer<gh_stars>1-10
// Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Feat... |
Robot Battle/Assets/Scripts/Camera/Controller.cs | SardineFish/RobotBattle | 1 | 7032251 | <reponame>SardineFish/RobotBattle
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
public class Controller: MonoBehaviour
{
public GameObject Target;
private ActionController actionController;
private CameraCo... |
src/Totem.App.Tests/Hosting/QueryInstance.cs | jtark/Totem | 53 | 7032252 | using System;
using System.Threading.Tasks;
using Totem.Threading;
using Totem.Timeline;
namespace Totem.App.Tests.Hosting
{
/// <summary>
/// An instance of a query type under test
/// </summary>
internal sealed class QueryInstance
{
readonly object _updateLock = new object();
readonly FlowKey _key;... |
EmpMan.Data/Repositories/CompanyRuleRepository.cs | thieu-nx/empman-webapi | 1 | 7032253 | using EmpMan.Data.Infrastructure;
using EmpMan.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmpMan.Data.Repositories
{
public interface ICompanyRuleRepository : IRepository<CompanyRule>
{
}
public class Co... |
WmcSoft.Core/Data/DataTableCollectionExtensions.cs | vjacquet/WmcSoft | 3 | 7032254 | <reponame>vjacquet/WmcSoft
#region Licence
/****************************************************************************
Copyright 1999-2015 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it... |
LearningCSharp.Cmd/Series3/DelegateEx/Tester.cs | Smartware/learningcsharp | 1 | 7032255 | <reponame>Smartware/learningcsharp
using LearningCSharp.Topics.Delegates;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace LearningCSharp.Cmd.Series3.Deleg... |
src/Merchello.Core/Events/StatusChangeEventArgs.cs | raindigi/Merchello | 191 | 7032256 | <reponame>raindigi/Merchello
using System.Collections.Generic;
using Umbraco.Core.Events;
namespace Merchello.Core.Events
{
public class StatusChangeEventArgs<T> : CancellableObjectEventArgs<IEnumerable<T>>
{
/// <summary>
/// Constructor for accepting multiple entities that are used in the s... |
03.Methods/10.NFactoriel/NFactoriel.cs | Maskln/CSharp-Part-2 | 0 | 7032257 | /*Problem 10. N Factorial
Write a program to calculate n! for each n in the range [1..100].
*/
using System;
using System.Numerics;
class NFactoriel
{
static void Main()
{
for (int i = 0; i <= 100; i++)
{
BigInteger result = FactorielN(i);
Console.WriteLine(result);
... |
TestConsole/Program.cs | maca134/Maca134.Arma.DllExport | 10 | 7032258 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Maca134.Arma.DllExport.MsBuild;
namespace TestConsole
{
class Program
{
static void Main(string[] args)
{
DllExporter.IlasmPath = @"C:\Windows\Micr... |
VrmacVideo/Containers/HEVC/RepresentationFormat.cs | Const-me/Vrmac | 91 | 7032259 | using Vrmac;
using VrmacVideo.Containers.MP4.ElementaryStream;
namespace VrmacVideo.Containers.HEVC
{
// F.7.3.2.1.2 Representation format syntax, rep_format()
struct RepresentationFormat
{
public readonly sDecodedVideoSize decodedVideoSize;
public readonly byte bit_depth_vps_luma, bit_depth_vps_chroma;
int... |
DrawingFiguresWithLoops/RhombusOfStars/RhombusOfStars/Program.cs | MilenaHristovaAngelkova/Programming-Basics | 0 | 7032260 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RhombusOfStars
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int rows = (n * 2) - 1;
i... |
src/FlaUIRec/Views/MainWindow.xaml.cs | FlaUI/FlaUIRec | 3 | 7032261 | using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Forms;
using FlaUI.Core.AutomationElements;
using FlaUI.Core.Definitions;
using FlaUI.Core.Identifiers;
using FlaUI.UIA3;
using Gma.System.MouseKeyHook;
namespace FlaUIRec.Views
{
/// <summary>
/// Interaction logic for Main... |
Libs/GizmoFort.Connector.ERPNext/ERPTypes/Course_schedule/ERPCourse_schedule.cs | dmequus/gizmofort.connector.erpnext | 0 | 7032262 | using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Course_schedule
{
public class ERPCourse_schedule : ERPNextObjectBase
{
public ERPCourse_schedule() : this(new ERPObject(DocType.Cour... |
Assets/FlatNode/Runtime/Node/Input/CheckKeyPressNode.cs | LagField/FlatNode | 20 | 7032263 | <gh_stars>10-100
using UnityEngine;
namespace FlatNode.Runtime
{
[GraphNode("检测按键按下","Input/CheckKeyPress")]
[NodeFlowOutPortDefine(0,"检测到按键按下时")]
public class CheckKeyPressNode : NodeBase
{
[NodeInputPort(0,"要检测的按键")]
public NodeInputVariable<KeyCode> checkKeyCodeInput;
publi... |
Program.cs | Martin1994/GarageAssistant | 0 | 7032264 | using System;
using System.Threading;
using Unosquare.RaspberryIO;
namespace GarageAssistant
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Launching GarageAssistant...");
LED green = new LED(Pi.Gpio.GetGpioPinByBcmPinNumber(20));
... |
AWSSDK/Amazon.EC2/Model/RequestSpotInstancesRequest.cs | mahanthbeeraka/dataservices-sdk-dotnet | 0 | 7032265 | <filename>AWSSDK/Amazon.EC2/Model/RequestSpotInstancesRequest.cs<gh_stars>0
/*******************************************************************************
* Copyright 2008-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
... |
Hlsl/Compiler/RegisterState.cs | TBirdSoars/HlslDecompiler | 0 | 7032266 | <reponame>TBirdSoars/HlslDecompiler
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace HlslDecompiler.Hlsl
{
public sealed class RegisterState
{
public readonly bool ColumnMajorOrder = true;
private readonly CultureInfo _culture... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.