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 |
|---|---|---|---|---|
Archon.SwissArmyLib/Pooling/Pool.cs | lazyevil/SwissArmyLib | 181 | 7024902 | using System;
using System.Collections.Generic;
using Archon.SwissArmyLib.Events;
using UnityEngine;
namespace Archon.SwissArmyLib.Pooling
{
/// <summary>
/// An object pool that can recycle objects of the type <typeparamref name="T"/>.
///
/// If the type implements <see cref="IPoolable"/> they will... |
sdk/Aliyun/OTS/DataModel/Search/Query/GeoPolygonQuery.cs | zhoucan1990/aliyun-tablestore-csharp-sdk | 19 | 7024903 | using System.Collections.Generic;
using com.alicloud.openservices.tablestore.core.protocol;
using Google.ProtocolBuffers;
namespace Aliyun.OTS.DataModel.Search.Query
{
/// <summary>
/// 找出落在指定多边形包围起来的图形内的数据
///注意:这个查询器使用代价很大,请避免使用</p>
///场景举例:小黄车只能在繁华的地方服务,出了市区要收额外的服务费,而繁华的城市的边界是多边形的。我们想查询该车辆是否需要付额外的服... |
src/Plivo/Resource/ResourceInterface.cs | plivo/plivo-dotnet | 20 | 7024904 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Plivo.Client;
using Plivo.Exception;
namespace Plivo.Resource {
/// <summary>
/// Resource interface.
/// </summary>
public abstract class ResourceIn... |
Softeq.NetKit.Profile.Web/ConfigurationSettings.cs | Softeq/NetKit.Profile | 0 | 7024905 | <filename>Softeq.NetKit.Profile.Web/ConfigurationSettings.cs
namespace Softeq.NetKit.Profile.Web
{
public static class ConfigurationSettings
{
public static readonly string SQLConnectionStringName = "DefaultConnection";
public static readonly string IdentityApiSecret = "Identity:ApiSecret";
... |
CleanArchitecture/CAvcy/Infrastructure/Persistence/EntityConfiguration/BookEntityTypeConfiguration.cs | vecalciskay/clean-architecture-path | 0 | 7024906 | using Domain;
using Domain.Enums;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
namespace Infrastructure.Persistence.EntityConfiguration
{
public class BookEntityTypeConfiguration : IEntityTypeConfiguration<Book>
{
public void Configure(Entit... |
src/CleanArchitecture.Module.FeaturesManagementDashboard.Infrastructure/Comparers/FeatureComparer.cs | aochmann/24-Days-Umbraco-Umbraco-CQRS | 1 | 7024907 | <filename>src/CleanArchitecture.Module.FeaturesManagementDashboard.Infrastructure/Comparers/FeatureComparer.cs
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using CleanArchitecture.Module.FeaturesManagementDashboard.Domain.Entities.Features;
namespace CleanArchitecture.Module.FeaturesManage... |
src/Eto/Forms/Cursor.cs | devmaestro1/Eto | 7 | 7024908 | using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using Eto.Drawing;
namespace Eto.Forms
{
/// <summary>
/// Enumeration of the cursor types supported by the <see cref="Cursor"/> object
/// </summary>
public enum CursorType
{
/// <summary>... |
LumiSoftNet/Net/IMAP/IMAP_t_Fetch_r_i_BodyStructure_e_Multipart.cs | garakutanokiseki/Join.NET | 0 | 7024909 | <filename>LumiSoftNet/Net/IMAP/IMAP_t_Fetch_r_i_BodyStructure_e_Multipart.cs
using System;
using System.Collections.Generic;
using System.Text;
using LumiSoft.Net;
using LumiSoft.Net.MIME;
using LumiSoft.Net.IMAP;
namespace LumiSoft.Net.IMAP
{
/// <summary>
/// This class represents IMAP server FETCH BODYSTR... |
src/Nucleo.Web/Web/ClientRegistration/ClientDescriptorEventCollection.cs | brianmains/Nucleo.NET | 2 | 7024910 | using System;
using System.Collections.Generic;
using Nucleo.Collections;
namespace Nucleo.Web.ClientRegistration
{
public class ClientDescriptorEventCollection : SimpleCollection<ClientDescriptorEvent>
{
public void AddRange(IEnumerable<ClientDescriptorEvent> events)
{
foreach (var eventInfo in events)
... |
KuroNote/AchievementListDialog.xaml.cs | Micsupreeme/KuroNote | 0 | 7024911 | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace KuroNote
{
/// <summary>
/// Interaction logic for AchievementListDialog.xaml
/// </summary>
public... |
ManySymbols2/Window1.xaml.cs | ptv-logistics/xserver.net-samples | 10 | 7024912 | <filename>ManySymbols2/Window1.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media... |
GoldenAnvil.Utility/PropertyChangingEventHandlerUtility.cs | SaberSnail/GoldenAnvil.Utility | 1 | 7024913 | using System.ComponentModel;
namespace GoldenAnvil.Utility
{
public static class PropertyChangingEventHandlerUtility
{
public static void Raise(this PropertyChangingEventHandler eventHandler, object sender, string propertyName)
{
eventHandler?.Invoke(sender, new PropertyChangingEventArgs(propertyName));
}
... |
src/Funcable.Core/tests/Option/Some/Some_CompareTo_Should.cs | CarvanaCorp/funcable | 0 | 7024914 | <reponame>CarvanaCorp/funcable
using FluentAssertions;
using Xunit;
using static Funcable.Core.Tests.FuncableTestFixture;
namespace Funcable.Core.Tests;
public class Some_CompareTo_Should
{
[Fact]
public void Return_0_When_Some_T_Equals_Object() =>
((Some<string>)Option.Some(HelloWorld))
.CompareTo((object)Op... |
SaveDataManager/Assets/SavaDataManager/Core/SaveDataManager.cs | yoeven/Unity-Save-Data-Manager | 4 | 7024915 | <reponame>yoeven/Unity-Save-Data-Manager
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using UnitySaveDataManager;
public class SaveDataManager : MonoBehaviour
{
public string SaveDataFileName = "... |
src/Extensions/Icarus/Gallio.Icarus/Reports/ReportMonitor.cs | citizenmatt/gallio | 1 | 7024916 | // Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <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/lic... |
HomeWorkEx.MyNotes/ViewModel/ToDoViewModel.cs | hmadrigal/playground-csharp-windowsphone8 | 0 | 7024917 | /*
Copyright (c) 2011 Microsoft Corporation. All rights reserved.
Use of this sample source code is subject to the terms of the Microsoft license
agreement under which you licensed this sample source code and is provided AS-IS.
If you did not accept the terms of the license agreement, you are not aut... |
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataBillBalancehisQueryResponse.cs | maidouofgithub/Payment | 1 | 7024918 | <gh_stars>1-10
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
/// AlipayDataBillBalancehisQueryResponse.
/// </summary>
public class AlipayDataBillBalancehisQueryResponse : AlipayResponse
{
/// <summary>
/// 期初余额
... |
Web/Resgrid.WebCore/Models/AccountModels.cs | dotnetshop/Resgrid-Core | 74 | 7024919 | <filename>Web/Resgrid.WebCore/Models/AccountModels.cs<gh_stars>10-100
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Resgrid.Model;
namespace Resgrid.Web.Models
{
public class ForgotPasswordModel
{
[Required]
[... |
Projects/SealLibrary/Forms/ToolStripEditorHelper.cs | chinayou25/Seal-Report | 3 | 7024920 | //
// Copyright (c) <NAME>, <NAME> (<EMAIL>), http://www.sealreport.org.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0..
//
using System;
using System.Collections.Generic;
using System.Linq;... |
Assets/Scripts/Game/fillpit/Mgr/RuleViewMgr.cs | da1fanshu/1234ewsd | 2 | 7024922 | <reponame>da1fanshu/1234ewsd<gh_stars>1-10
using Sfs2X.Entities.Data;
using UnityEngine;
namespace Assets.Scripts.Game.fillpit.Mgr
{
public class RuleViewMgr : MonoBehaviour
{
public RuleViewItem ItemPrefab;
public UITable Table;
public GameObject ViewBtn;
public GameObject... |
Garland.Data/Modules/Maps.cs | CatStarwind/GarlandTools | 0 | 7024923 | <reponame>CatStarwind/GarlandTools
using SaintCoinach;
using SaintCoinach.Xiv;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Garland.Data.Modules
{
public class ... |
src/Mvc/Mvc.Core/src/Formatters/HttpTokenParsingRules.cs | legistek/AspNetCore | 5,846 | 7024924 | <reponame>legistek/AspNetCore<gh_stars>1000+
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Diagnostics.Contracts;
using System.Text;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
... |
Source/ProfilerStopwatch.cs | AUTOMATIC1111/StartupImpact | 6 | 7024925 | <reponame>AUTOMATIC1111/StartupImpact
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace StartupImpact
{
class ProfilerStopwatch : ProfilerSingleThread
{
Stopwatch stopwatch = new Stopwatch();
public override void start()
... |
Sources/VRage.Game/ObjectBuilders/Definitions/MyObjectBuilder_TriggerPositionReached.cs | Legion2/PCSS | 0 | 7024926 | using ProtoBuf;
using VRage.ObjectBuilders;
using VRageMath;
namespace Sandbox.Common.ObjectBuilders.Definitions
{
[ProtoContract]
[MyObjectBuilderDefinition]
public class MyObjectBuilder_TriggerPositionReached : MyObjectBuilder_Trigger
{
[ProtoMember]
public Vector3D Pos;
[Pro... |
PI-System-Deployment-Tests/source/ManualLogger/ManualLoggerTests.cs | osi-amit/OSI-Samples-PI-System | 1 | 7024927 | using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Cryptography.X509Certificates;
using System.Web.Configuration;
using System.Xml.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Xunit;
using Xunit.Abst... |
qna-backend/WireModels/Session.cs | xstof/qnademo | 9 | 7024928 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Newtonsoft.Json;
namespace Qna.Backend.WireModels
{
public class Session
{
public Session(){
this.Questions = new List<Question>();
}
[JsonProperty("id")]
... |
issue-indexer-server/issue-indexer-server/Models/Comment.cs | jsaji/issue-indexer | 0 | 7024929 | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
namespace issue_indexer_server.Models {
public class Comment {
public uint Id { get; set; }
[Required(ErrorMessage = "Message field is required for Comments")]
public string Message { get; set; }
[Required(Er... |
src/back-end/CryptEx/CryptExApi/Controllers/AssetConvertController.cs | laurentksh/CryptEx | 0 | 7024930 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CryptExApi.Extensions;
using CryptExApi.Models.DTO;
using CryptExApi.Models.DTO.AssetConvert;
using CryptExApi.Models.SignalR;
using CryptExApi.Models.ViewModel.AssetConvert;
using CryptExApi.Services;
using CryptExA... |
Ordering_System/Ordering_System/Model/PresentationFrontSideFormModel.cs | Jounhon/WindowDesign | 0 | 7024931 | <reponame>Jounhon/WindowDesign
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ordering_System.Model;
namespace Ordering_System
{
public class PresentationFrontSideFormModel
{
SystemModel _model;
PageControl _pageControl... |
Unicar/frmClientes.Designer.cs | V1PERFX/unicar | 0 | 7024932 | <filename>Unicar/frmClientes.Designer.cs<gh_stars>0
namespace Unicar
{
partial class frmClientes
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources b... |
src/Employer/Employer.Web/ViewModels/VacancyView/ApplicationManageableVacancyViewModel.cs | bjstone82/das-recruit | 12 | 7024933 | <filename>src/Employer/Employer.Web/ViewModels/VacancyView/ApplicationManageableVacancyViewModel.cs<gh_stars>10-100
using System.Collections.Generic;
using Esfa.Recruit.Vacancies.Client.Infrastructure.QueryStore.Projections.VacancyApplications;
namespace Esfa.Recruit.Employer.Web.ViewModels
{
public class Applica... |
DNC-DShop.Services.Discounts/src/DShop.Services.Discounts/Queries/GetDiscount.cs | nilayshah80/DNC-DShop | 0 | 7024934 | <reponame>nilayshah80/DNC-DShop
using DShop.Common.Types;
using DShop.Services.Discounts.Dto;
using System;
namespace DShop.Services.Discounts.Queries
{
public class GetDiscount : IQuery<DiscountDetailsDto>
{
public Guid Id { get; set; }
}
}
|
Faker.UnitTests/TestClasses/NullableFieldsNoConstructor.cs | AlexX333BY/mpp-dotnet-faker | 0 | 7024935 | <reponame>AlexX333BY/mpp-dotnet-faker
using System;
namespace Faker.UnitTests.TestClasses
{
public class NullableFieldsNoConstructor
{
public DateTime dateTimeField;
public string stringField;
public object objectField;
}
}
|
src/EzrealClient/HttpContents/BufferContent.cs | EzrealJ/EzrealClient | 0 | 7024936 | using System;
using System.Buffers;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using EzrealClient.Internals;
namespace EzrealClient.HttpContents
{
/// <summary>
/// 表示utf8的BufferContent
/// </summary>
public class BufferConten... |
BragiFont.Core/Internal/FontImplementation.cs | vonderborch/BragiFont | 0 | 7024938 | <gh_stars>0
using SharpFont;
using System;
using System.Collections.Generic;
using System.Text;
namespace BragiFont.Internal
{
internal class FontImplementation : Font
{
public FontImplementation(int size, Face face, string typefaceName) : base(size, face, typefaceName)
{
}
}
}
|
Git.WMS.Web/Git.Storage.Common/Enum/ESaleReturnStatus.cs | colin08/yun_gitwms | 1 | 7024939 | /*******************************************************************************
* Copyright (C) Git Corporation. All rights reserved.
*
* Author: 情缘
* Create Date: 2017/3/15 20:24:10
*
* Description: Git.Framework
* http://www.cnblogs.com/qingyuan/
* Revision History:
* Date Author Desc... |
Ancestry Reporter/Reports/AncestryProcessing.cs | sjmeunier/ancestry-reporter | 1 | 7024940 | <gh_stars>1-10
using GedcomLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ancestry_Reporter.Reports
{
public class AncestryProcessing
{
public static string CalculateAncestorRelationship(int generations, bool isMale)
... |
AnimatedImages/Chunks/acTLChunk.cs | Bungalow12/AnimatedImage | 5 | 7024941 | <gh_stars>1-10
using System.IO;
using System;
namespace AnimatedImages
{
/// <summary>
/// Animation Control chunk.
/// </summary>
internal class acTLChunk : Chunk
{
private uint frameCount;
private uint playCount;
/// <summary>
/// Initializes a new instance of th... |
mcs/class/System.Web.DynamicData/Test/System.Web.DynamicData/DynamicDataExtensionsTest.cs | lefb766/mono | 469 | 7024942 | //
// DynamicDataRouteTest.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2009 Novell Inc. http://novell.com
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without r... |
cms/Views/Identity/EditRole.cshtml | anjumrizwi/episerver | 1 | 7024943 | @model Microsoft.AspNet.Identity.EntityFramework.IdentityRole
@{
ViewBag.Title = "Edit role";
}
<h2>@ViewBag.Title</h2>
<hr />
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.Id)
<div>
Role name
</div>
<p>
@... |
EnvDTE.Interfaces/Events.cs | isabella232/JetBrains.EnvDTE | 6 | 7024945 | using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace EnvDTE
{
public interface Events
{
object get_CommandBarEvents( object CommandBarControl);
CommandEvents get_CommandEvents( string Guid = "{00000000-0000-0000-0000-000000000000}",... |
GVFS/FastFetch/CheckoutStage.cs | jeffhostetler/VFSForGit | 2 | 7024946 | using GVFS.Common;
using GVFS.Common.FileSystem;
using GVFS.Common.Git;
using GVFS.Common.Prefetch.Git;
using GVFS.Common.Prefetch.Pipeline;
using GVFS.Common.Tracing;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.T... |
PersonalFinances/Migrations/Configuration.cs | BuiTanDuoc/personal-finances | 6 | 7024947 | <reponame>BuiTanDuoc/personal-finances
namespace PersonalFinances.Migrations
{
using System.Data.Entity.Migrations;
using Models;
internal sealed class Configuration : DbMigrationsConfiguration<Repositories.DatabaseContext>
{
private readonly bool _seedDatabase = true;
public Configur... |
recipebookserver/Entities/Models/RecipeIngredient.cs | jvallon/recipe-book | 0 | 7024948 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Entities.Models
{
[Table("recipe_ingredients")]
public class RecipeIngredient
{
[Column("RecipeIngredientId")]
publi... |
src/IntoItIf.Base/Validations/Must/MustBeStringExtensions.cs | swtanggara/InToItIf | 11 | 7024949 | namespace IntoItIf.Base.Validations.Must
{
using System;
using Internals;
public static class MustBeStringExtensions
{
#region Public Methods and Operators
public static PropertyMustBe<T, string> MustBe<T>(this PropertyMustBe<T, string> actual, string expected, Case @case)
{
sw... |
xLiAd.SqlEx.Core/Core/Expression/SetParam.cs | zl33842901/SqlEx | 0 | 7024950 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace xLiAd.SqlEx.Core.Core.Expression
{
/// <summary>
/// 给不继承 ExpressionVisitor 的类用
/// </summary>
public abstract class SetParam
{
private List<string> vs = new List<string>();
... |
patches/tModLoader/Terraria/ModLoader/Default/Developer/Jofairden/Jofairden_Body.cs | hannest03/tModLoader | 438 | 7024951 | using Microsoft.Xna.Framework;
namespace Terraria.ModLoader.Default.Developer.Jofairden
{
[LegacyName("PowerRanger_Body")]
[AutoloadEquip(EquipType.Body)]
internal class Jofairden_Body : JofairdenArmorItem
{
public override void SetDefaults() {
base.SetDefaults();
Item.Size = new Vector2(34, 22);
}
}
... |
TemporalWars 3D Engine/Dev/TWTerrainToolsWPF/TWTerrainToolsWPF/Enums/ShadowQualityEnum.cs | TemporalWars/TWEngine | 0 | 7024952 | <reponame>TemporalWars/TWEngine
namespace ImageNexus.BenScharbach.TWTools.TWTerrainToolsWPF.Enums
{
// NOTE: (8/17/2010): List Enum list MUST match the 'ShadowMap' classes Enum list.
/// <summary>
/// The <see cref="ShadowQuality"/> Enum controls the level
/// of detail used for shadows; specifica... |
Assets/Scripts/AirSystem/CreateCable.cs | dnv0/PneumaticsApp | 0 | 7024953 | <filename>Assets/Scripts/AirSystem/CreateCable.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using QuickGraph;
public class CreateCable : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
{
// Первая и вторая вершина
... |
src/MAUI/Examples/ListViewControl/CellTypesCategory/TextCellExample/ListViewTextCellXaml.xaml.cs | LanceMcCarthy/DevOpsExamples | 16 | 7024954 | <reponame>LanceMcCarthy/DevOpsExamples<filename>src/MAUI/Examples/ListViewControl/CellTypesCategory/TextCellExample/ListViewTextCellXaml.xaml.cs
using Microsoft.Maui.Controls.Xaml;
using Telerik.Maui.Controls;
using Telerik.XamarinForms.DataControls;
namespace SDKBrowserMaui.Examples.ListViewControl.CellTypesCategory... |
API/Controllers/CalculationsController.cs | ArmandJ77/Not-Tax-Tim | 0 | 7024955 | <filename>API/Controllers/CalculationsController.cs
using MediatR;
using Microsoft.AspNetCore.Mvc;
using NotTaxTim.Logic.Calculations.Commands;
using NotTaxTim.Logic.Calculations.Queries;
using System.Threading.Tasks;
namespace NotTaxTim.Api.Controllers
{
[ApiController]
[Route("api/[controller]")]
public... |
FunnyTranslator.Application/TranslationStrategyFactory.cs | twix20/FunnyTranslator | 0 | 7024956 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FunnyTranslator.Application.Interfaces;
using FunnyTranslator.Core.Interfaces;
namespace FunnyTranslator.Application
{
public class TranslationStrategyFactory : ITranslationStrateg... |
ContactManagement.Data/IGenericRepository.cs | abusalehnayeem/ContactManagement | 0 | 7024957 | <gh_stars>0
using System.Linq;
using ContactManagement.Core.Entity;
namespace ContactManagement.Data
{
public interface IGenericRepository<T> where T : BaseEntity
{
IQueryable<T> Table { get; }
T GetById(object id);
void Insert(T entity);
void Update(T entity);
void Del... |
Phase Jump/Assets/phasejumppro/Model/Boards/BoardTypes.cs | coinbump/PhaseJumpPro | 26 | 7024958 | <reponame>coinbump/PhaseJumpPro<gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PJ;
namespace PJ
{
/// <summary>
/// 8-way direction of movement on a board/map
/// </summary>
public enum MapDirection
{
Northwest,
North,
Northeast,
East,
South,
Sout... |
src/TrueOrFalse.Tests/2 Domain/Question/Answer/AnswerText_tests.cs | memucho/webapp | 4 | 7024959 | <reponame>memucho/webapp<filename>src/TrueOrFalse.Tests/2 Domain/Question/Answer/AnswerText_tests.cs<gh_stars>1-10
using System;
using NUnit.Framework;
public class AnswerText_tests
{
[Test]
public void Should_correctly_evaluate_when_not_exact_and_case_sensitive()
{
Func<string, QuestionSo... |
Standard.Abstractions/IO/IDirectory.cs | DavidArno/Standard.Abstractions | 1 | 7024960 | <reponame>DavidArno/Standard.Abstractions
using System;
using System.Collections.Generic;
using System.IO;
//using System.IO;
namespace Standard.Abstractions.IO
{
public interface IDirectory
{
IDirectoryInfo CreateDirectory(string path);
void Delete(string path);
void Delete(string pa... |
samples/server/petstore/aspnetcore-interface-only/src/IO.Swagger/Controllers/IStoreApi.cs | Cadcorp/swagger-codegen | 1 | 7024961 | /*
* Swagger Petstore
*
* This is a sample Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).
*
* OpenAPI spec version: 1.0.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen... |
PremiereSolutionProject/PremiereSolutionProject/PL/frmDashboard.designer.cs | SlapPandas/PremierService-Solutions-FrontEnd | 0 | 7024962 | <filename>PremiereSolutionProject/PremiereSolutionProject/PL/frmDashboard.designer.cs
namespace PremiereSolutionProject.PL
{
partial class frmDashboard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
Signum.Engine/Json/EntityJsonConverter.cs | JafarMirzaie/framework | 0 | 7024963 | using Signum.Engine.Basics;
using Signum.Engine.Maps;
using Signum.Entities;
using Signum.Entities.Reflection;
using Signum.Utilities;
using Signum.Utilities.DataStructures;
using Signum.Utilities.ExpressionTrees;
using Signum.Utilities.Reflection;
using System;
using System.Collections.Concurrent;
using Syst... |
src/CoreHook.IPC/NamedPipes/NamedPipeClient.cs | fengjixuchui/CoreHook | 224 | 7024964 | using System;
using System.IO;
using System.IO.Pipes;
using System.Security.Principal;
using CoreHook.IPC.Handlers;
namespace CoreHook.IPC.NamedPipes
{
/// <summary>
/// Creates a pipe client for communication with a pipe server.
/// </summary>
public class NamedPipeClient : INamedPipe
{
/... |
src/EFTools/EntityDesign/UI/Views/MappingDetails/MappingDetailsWindowContainer.Designer.cs | sharwell/ef6tools | 9 | 7024965 | <reponame>sharwell/ef6tools
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.UI.Views.MappingDetails
{
partial class MappingDetailsWindowContainer
{
/// <summary>
... |
Assets/Donner/Editor/BuildDonner.cs | fabervisio/donner | 0 | 7024967 | <filename>Assets/Donner/Editor/BuildDonner.cs
using UnityEditor;
using UnityEngine;
using System.Diagnostics;
using UnityEngine.SceneManagement;
using System.IO;
public class BuildDonner {
[MenuItem("Donner/Build Active Scene")]
public static void BuildScene()
{
// Get filename.
string p... |
src/IO.Ably.Tests.Shared/Rest/ChannelSpecs.cs | algoadv/ably-dotnet | 0 | 7024968 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using IO.Ably.Encryption;
using IO.Ably.Rest;
using Xunit.Abstractions;
namespace IO.Ably.Tests.Rest
{
public class ChannelSpecs : MockHttpRestSpecs
{
... |
poptoken-lib/poptoken-builder/cs-lib-tmobile-oss-poptoken-builder/poptoken.builder/PopTokenBuilder.cs | akost/tmobile-api-security-lib | 0 | 7024969 | /*
* Copyright 2020 T-Mobile US, 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 agr... |
Operators/Types/PairPointsForLines.cs | still-scene/t3 | 23 | 7024970 | using System;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_ab6ab34f_4c6e_41ef_af69_48bb9393651b
{
public class PairPointsForLines : Instance<PairPointsForLines>
{
[Output(Guid = "943d1c32-e4e7-4502-8927-543b13ed0283")]
... |
KeePass-2.34-Source-Patched/KeePass/DataExchange/Formats/SplashIdCsv402.cs | retr0-13/KeeThief | 355 | 7024971 | /*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2016 <NAME> <<EMAIL>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... |
Albite.Core/Source/Collections/DepthFirstTreeEnumerator.cs | dumbledore/Albite.Core | 0 | 7024972 | using System;
using System.Collections;
using System.Collections.Generic;
namespace Albite.Collections
{
/// <summary>
/// A depth-first pre-order enumerator
///
/// Check: http://en.wikipedia.org/wiki/Tree_traversal#Pre-order
/// </summary>
/// <typeparam name="TValue">Type of the values for ... |
Graph/Analysis/PathFinding/PathFindResult.cs | robert-tabiner-kpmg/mod-veterans-digital-services | 0 | 7024973 | <filename>Graph/Analysis/PathFinding/PathFindResult.cs
using System.Collections.Generic;
using Graph.Models;
namespace Graph.Analysis.PathFinding
{
public class PathFindResult<TKey, TValue>
{
public PathFindResult(double cost, IList<GraphNode<TKey, TValue>> path)
{
Cost = cost;
... |
JsonSrcGen/TypeGenerators/ArrayGenerator.cs | trampster/JsonSG | 131 | 7024974 | using System;
using System.Collections.Generic;
using System.Text;
using JsonSrcGen;
namespace JsonSrcGen.TypeGenerators
{
public class ArrayGenerator : IJsonGenerator
{
readonly Func<JsonType, IJsonGenerator> _getGeneratorForType;
readonly CodeBuilder _classLevelBuilder;
public string ... |
Maer.UI.Web.MVC/Views/Home/Index.cshtml | LutherW/Maer | 0 | 7024975 | <gh_stars>0
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title></title>
@Styles.Render("~/Content/easyui")
@Styles.Render("~/Content/site")
@Scripts.Render("~/bundles/easyui")
<script type="text/javascript">
var accordion... |
sdk/src/Services/Lambda/Generated/Model/UpdateFunctionConfigurationRequest.cs | atpyatt/aws-sdk-net | 2 | 7024976 | <gh_stars>1-10
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in t... |
AnimatorHelper.cs | moto2002/mobahero_src | 4 | 7024977 | using System;
using System.Collections.Generic;
using UnityEngine;
public class AnimatorHelper : MonoBehaviour
{
private Animator animator;
private bool isAction;
private bool isCircle;
private AnimationInfo[] animationinfo;
[SerializeField]
private Transform[] Circle_Start;
[SerializeFiel... |
src/MassTransit.PrometheusIntegration/Pipeline/PrometheusExecuteActivityFilter.cs | viktorshevchenko210/MassTransit | 4,222 | 7024978 | <gh_stars>1000+
namespace MassTransit.PrometheusIntegration.Pipeline
{
using System.Threading.Tasks;
using Courier;
using GreenPipes;
public class PrometheusExecuteActivityFilter<TActivity, TArguments> :
IFilter<ExecuteActivityContext<TActivity, TArguments>>
where TActivity : class, IE... |
HDF5-CSharp/Hdf5Compounds.cs | DJRolls/HDF5-CSharp | 1 | 7024979 | using HDF.PInvoke;
using HDF5CSharp.DataTypes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
namespace HDF5CSharp
{
public static partial class Hdf5
{
... |
Solution/samplePlugin/SampleAutomation.cs | Houmicek/design.automation.inventor-csharp-basics | 16 | 7024980 | /////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Forge Partner Development
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provid... |
tests/CsvHelper.Tests/TypeConversion/BigIntegerConverterTests.cs | DamirAinullin/CsvHelper | 1 | 7024981 | using CsvHelper.Configuration;
using CsvHelper.TypeConversion;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace CsvHelper.Tests.TypeConversion
{
[TestClass]
p... |
BACI.Desk/VidaDiariaView.Designer.cs | MDsolucoesTI/TesteIdoso | 0 | 7024983 | <filename>BACI.Desk/VidaDiariaView.Designer.cs<gh_stars>0
//////////////////////////////////////////////////////////////////////////
// Criacao...........: 02/2018
// Sistema...........: Bateria de Avaliação Computadorizada para Idosos
// Analistas.........: <NAME> & <NAME>
// Desenvolvedores...: <NAME> & <NAME>
/... |
test/EFCore.MySql.FunctionalTests/MigrationsInfrastructureMySqlTest.cs | V1nzi/Pomelo.EntityFrameworkCore.MySql | 0 | 7024984 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.TestUtilities;
using Pomelo.EntityFrameworkCore.MySql.Infrastructure;
using Pomelo.EntityFrameworkCore.MySql.Storage;
using Pomelo.EntityFrameworkCore.MySql.Tests.... |
Mindstorms.Core/Music/442/F5.cs | Mortens4444/LegoMindstromsEV3 | 0 | 7024985 | namespace Mindstorms.Core.Music._442
{
public class F5 : Note
{
public F5(NoteType noteType = NoteType.Quarter) : base(noteType)
{
Name = "F5";
Frequency = 701.63;
WaveLength = 49.17;
}
}
}
|
osu.Game/Graphics/UserInterface/OsuMenuItem.cs | fangerm/osu | 3 | 7024986 | // Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics.UserInterface;
namespace osu.Game.Graphics.UserInterface
{
public class OsuMenuItem : MenuItem
{
public r... |
Items/Accessories/EvocationEmblem.cs | danuta-terraria/SummonerOverhaul | 0 | 7024987 | <filename>Items/Accessories/EvocationEmblem.cs
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Utilities;
namespace SummonerOverhaul.Items.Accessories
{
public class EvocationEmblem : ModItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Increases yo... |
Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Reports/ReportDocumentEncryptionDetails.cs | stokebob/Amazon-SP-API-CSharp | 1 | 7024988 | /*
* Selling Partner API for Reports
*
* The Selling Partner API for Reports lets you retrieve and manage a variety of reports that can help selling partners manage their businesses.
*
* OpenAPI spec version: 2020-09-04
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using Newtonsoft.... |
src/Test.UnitTests.Sarif.Multitool/ValidateCommandTests.cs | swinton/sarif-sdk | 0 | 7024989 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using FluentAssertions;
using Microsoft.CodeAnalysis.Sarif.Driver;
using Moq;
using Xunit;
namespace Microsoft.CodeAnalysis.Sarif.Multitool
{
publ... |
PlatoTK/Content/MapHelper.cs | Platonymous/PlatoTK | 0 | 7024990 | <reponame>Platonymous/PlatoTK
using Microsoft.Xna.Framework;
using StardewValley;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using xTile;
using xTile.Layers;
using xTile.ObjectModel;
using xTile.Tiles;
namespace PlatoTK.Content
{
internal cl... |
Gofer.NET.Utils/TypeWrapper.cs | brthor/Thor.Tasks | 458 | 7024991 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Gofer.NET.Utils
{
public class TypeWrapper
{
public Type Type {get; set;}
}
} |
src/AutoStep/Execution/Control/TestThreadState.cs | SivaGudivada/AutoStep | 22 | 7024992 | namespace AutoStep.Execution.Control
{
/// <summary>
/// Enum for the state of execution for a test thread.
/// </summary>
public enum TestThreadState
{
/// <summary>
/// Thread starting.
/// </summary>
Starting,
/// <summary>
/// Feature starting.
... |
src/go-src-converted/cmd/oldlink/internal/ld/macho_machoscmpStructOf(slice(ptr(sym.Symbol))).cs | rgwood/go2cs | 249 | 7024993 | //---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 05:52:18 UTC
// </auto-generated>
//--------------... |
code/RedisKeyTool/Client/Service/LoadingService.cs | BlazorHub/radishv2 | 3 | 7024994 | using System;
using System.Threading.Tasks;
namespace RedisKeyTool.Service
{
/// <summary>
/// This is the service to bring up the loading window.
/// </summary>
public class LoadingService
{
/// <summary>
/// Starts the loading.
/// </summary>
public async Task Sta... |
Assets/scripts/PlacementControl.cs | IkeTheDestroyer/GalaxyExplorer | 0 | 7024995 | // Copyright Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using Microsoft.MixedReality.Toolkit.Physics;
using System.Collections;
using Microsoft.MixedReality.Toolkit.UI;
using UnityEngine;
namespace GalaxyExplor... |
src/tests/Equinor.ProCoSys.IPO.WebApi.IntegrationTests/Persons/PersonsControllerTestsHelper.cs | equinor/procosys-call-for-punch-out-api | 2 | 7024996 | <gh_stars>1-10
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Equinor.ProCoSys.IPO.WebApi.Controllers.Persons;
using Newtonsoft.Json;
namespace Equinor.ProCoSys.IPO.WebApi.IntegrationTests.Persons
{
public static class Pe... |
Requests/Pushers/MatrixSetPusher.cs | xafero/MatrixAPI | 46 | 7024997 | <gh_stars>10-100
using System.Runtime.Serialization;
namespace libMatrix.Requests.Pushers
{
[DataContract]
public class MatrixSetPusher
{
[DataMember(Name = "pushkey")]
public string PushKey { get; set; }
[DataMember(Name = "kind")]
public string Kind { get; set; }
... |
src/Umbraco.Cms.Integrations.Shared/Services/BaseService.cs | umbraco/Umbraco.Cms.Integrations | 5 | 7024998 | <reponame>umbraco/Umbraco.Cms.Integrations
using System;
using System.Net.Http;
#if NETCOREAPP
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
#else
using Umbraco.Core.Logging;
#endif
namespace Umbraco.Cms.Integrations.Shared.Services
{
public abstract class BaseService
{
pub... |
src/Services/PiliPala/WindVane.PiliPala.Domain/Models/Category.cs | PseudoJunZi/WindVane | 4 | 7024999 | <filename>src/Services/PiliPala/WindVane.PiliPala.Domain/Models/Category.cs
using System;
using System.Collections.Generic;
using System.Text;
using WindVane.Domain.Entities;
using WindVane.Domain.Interfaces;
namespace WindVane.PiliPala.Domain.Models
{
public class Category : Entity, IAggregateRoot
{
... |
Course/MasterLinq/S04/S04L35_ElementAt_Counting.cs | Victoralm/CompletePracticalLinqTutorialInCSharp | 0 | 7025000 | using System;
using System.Linq;
namespace Course.MasterLinq
{
public class S04L35_ElementAt_Counting
{
internal static void Demo()
{
var players = ChessPlayer.GetDemoList().OrderByDescending(player => player.Rating).Take(10).ToList();
var players2 = ChessPlayer.GetDemoL... |
Assets/Scripts/WitheredChica.cs | BakersDozenBagels/UltraCustomNight | 0 | 7025001 | <filename>Assets/Scripts/WitheredChica.cs
using System.Collections;
using Rng = UnityEngine.Random;
public class WitheredChica : Animatronic
{
public WitheredChica(UltraCustomNightScript instance) : base(instance)
{
instance.AddCoroutineNow(Move());
instance.Log("Withered Chica is coming to at... |
src/MongoDB.Driver.Core/Core/Operations/DeleteRequest.cs | b11p/mongo-csharp-driver | 2,208 | 7025002 | /* Copyright 2010-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
src/AutomatedAssemblyPlannerLibrary/IEvaluationFunction.cs | atulmishrachdi/AutomatedAssemblyPlanner | 5 | 7025003 | <gh_stars>1-10
using GraphSynth.Representation;
using System.Collections.Generic;
namespace Assembly_Planner
{
interface IEvaluationFunction
{
bool Evaluate(List<node> s1, List<node> s2, out InstallAction install);
}
}
|
netcoremicroservices/Gooios.GoodsService/Migrations/20180522143859_AddApplicationIdField.cs | hccoo/gooios | 5 | 7025004 | <reponame>hccoo/gooios
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Gooios.GoodsService.Migrations
{
public partial class AddApplicationIdField : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
src/TWidgets/Core/Drawing/Text.cs | ArtTorres/TWidgets | 2 | 7025005 | namespace TWidgets.Core.Drawing
{
/// <summary>
/// Represents a text which can be drawn on a <see cref="Canvas"/>.
/// </summary>
public class Text : IMarginable, IAlignable
{
/// <summary>
/// Gets or sets the text value.
/// </summary>
public string Value { get; s... |
tests/ImageSharp.Tests/TestUtilities/ImageProviders/TestPatternProvider.cs | OrchardCMS/ImageSharp | 8 | 7025006 | <filename>tests/ImageSharp.Tests/TestUtilities/ImageProviders/TestPatternProvider.cs
// <copyright file="BlankProvider.cs" company="<NAME>">
// Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace ImageSharp.Tests
{
using System;
using System.Coll... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.