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 |
|---|---|---|---|---|
DotNet/DotNet/UE4/Generated/MovieScene/MovieSceneEvaluationFieldTrackPtr.cs | UE4DotNet/Plugin | 2 | 7045609 | <reponame>UE4DotNet/Plugin
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
... |
MediaPlaybackUnity/Scripts/MediaPlayer/Plugin.cs | wanjawischmeier/MediaPlayback | 0 | 7045610 | <reponame>wanjawischmeier/MediaPlayback<gh_stars>0
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace MediaPlayback
{
public partial class MediaPlayer
{
private static class Plugin
{
public enum StateType
{
StateType_None = 0... |
src/RabbitDB/Query/StoredProcedure/ProcedureExtensions.cs | PowerMogli/Rabbit.Db | 0 | 7045611 | <filename>src/RabbitDB/Query/StoredProcedure/ProcedureExtensions.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProcedureExtensions.cs" company="">
//
// </copyright>
// <summary>
// The procedure extensions.
// </summ... |
source/Cosmos.Core/IOGroup/Mouse.cs | Geramy/Cosmos | 3 | 7045612 | using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Core;
namespace Cosmos.Core.IOGroup
{
public class Mouse : IOGroup
{
public readonly IOPort p60 = new IOPort(0x60);
public readonly IOPort p64 = new IOPort(0x64);
}
}
|
tests/Backlight.Test/Services/BacklightServiceTests.cs | espumita/Backlight | 0 | 7045613 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Backlight.Providers;
using Backlight.Services;
using Backlight.Services.EntitySerialization;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
namespace Backlight.Test.Services {
public class BacklightServiceT... |
t1/SEP3BlazorT1Client/SEP3BlazorT1Client/Data/Impl/ResponseTypes/HostResponseTypes/HostListResponseType.cs | michaelbui99/VIA-BnB | 3 | 7045614 | using System.Collections.Generic;
using Newtonsoft.Json;
using SEP3BlazorT1Client.Models;
namespace SEP3BlazorT1Client.Data.Impl.ResponseTypes.HostResponseTypes
{
public class HostListResponseType
{
[JsonProperty("allNotApprovedHost")] public IList<Host> Hosts { get; set; } = new List<Host>();
}
} |
Rides/Solution.cs | alexandrnikitin/google-hashcode-2018 | 0 | 7045615 | <reponame>alexandrnikitin/google-hashcode-2018
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rides
{
public class Solution
{
public List<List<MakeRideAction>> CarActions { get; set; }
public Solution(int numberOfCars)
{
Car... |
App/Logic/WinApi.cs | And42/KeyboardRemapper | 3 | 7045616 | <gh_stars>1-10
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace App.Logic
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
public static class WinApi
{
public const int WH_KEYBOARD_LL = 13; // LowLevel-hook for the keyboard
public c... |
sdk/dotnet/Database/Outputs/GetVmClusterUpdateHistoryEntriesVmClusterUpdateHistoryEntryResult.cs | EladGabay/pulumi-oci | 5 | 7045617 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
src/ProperNutrition.Web/Views/ReadyMeal/Edit.cshtml | teachmeskills-dotnet/TMS-DotNet03-Kozlov | 0 | 7045618 | @model ReadyMealActionViewModel
@{
ViewData["Title"] = string.Format(PageTitleResource.StringFormat, PageTitleResource.ReadymealEdit, PageTitleResource.SiteName);
}
<h1>Edit Ready Meal</h1>
<form method="post" asp-controller="ReadyMeal" asp-action="Edit">
<div asp-validation-summary="ModelOnly"></div>
... |
ApeVolo.Common/Caches/Redis/Service/IRedisCacheService.cs | xianhc/apevolo-api | 188 | 7045619 | <filename>ApeVolo.Common/Caches/Redis/Service/IRedisCacheService.cs
using System;
using System.Threading.Tasks;
using ApeVolo.Common.Global;
using StackExchange.Redis;
using RedisKey = StackExchange.Redis.RedisKey;
namespace ApeVolo.Common.Caches.Redis.Service;
public interface IRedisCacheService
{
IDatabase GetD... |
LD48/Assets/Boundaries/SideForcesParticles.cs | misterbamboo/ld48 | 0 | 7045620 | <reponame>misterbamboo/ld48
using Assets;
using Assets.MapGeneration;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SideForcesParticles : MonoBehaviour
{
[SerializeField] private float mapOffset = 30;
[SerializeField] private float height = 26;
[SerializeField... |
src/OpenProtocolInterpreter/Job/Advanced/Mid0127.cs | artleo-prodrive/OpenProtocolInterpreter | 78 | 7045621 | namespace OpenProtocolInterpreter.Job.Advanced
{
/// <summary>
/// Abort Job
/// <para>Abort the current running job if there is one.</para>
/// <para>Message sent by: Integrator</para>
/// <para>Answer: <see cref="Communication.Mid0005"/> Command accepted</para>
/// </summary>
public class... |
Source/PowerPoint/DispatchInterfaces/DiagramNode.cs | DominikPalo/NetOffice | 544 | 7045622 | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.PowerPointApi
{
/// <summary>
/// DispatchInterface DiagramNode
/// SupportByVersion PowerPoint, 10,11,12,14,15,16
/// </summary>
[SupportByVersion("PowerPoint", 10,11,12,14,15,16)]
[Enti... |
GD.Game/UserInterface/GDTextButton.cs | EVAST9919/GDUI | 0 | 7045623 | using GD.Game.Graphics;
namespace GD.Game.UserInterface
{
public class GDTextButton : GDAutosizedButton
{
public GDTextButton(string text, float textSize, Typeface typeface)
{
Add(new GDSpriteText(textSize, typeface)
{
Text = text
});
... |
Assets/Scripts/Managers/InputManager.cs | FioriBazarello/gamejamplus | 2 | 7045624 | using UnityEngine;
public static class InputManager {
public static bool disableInput = false;
public static bool isClicking() {
if (disableInput) return false;
return Input.GetMouseButtonDown(0);
}
public static bool isTouching() {
if (disableInput) return false;
return Input.touchCount > 0 && Input.G... |
CodeArt.Episerver.Health/CodeArt.Episerver.Health/Checks/VersionCheck.cs | CodeArtDK/CodeArt.Episerver.Health | 2 | 7045625 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace CodeArt.Episerver.Health.Checks
{
/// <summary>
/// Checks version of Episerver
/// </summary>
public class VersionCheck : HealthCheckBase
{
... |
LazyAngus/Assets/Scripts/BackButtonHandler.cs | DougLazyAngus/lazyAngus | 0 | 7045627 | using UnityEngine;
using System.Collections;
public class BackButtonHandler : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void GoBack() {
GamePhaseState.instance.TransitionToPhase (
GamePhaseState.instance.previousGa... |
Assets/Epitome/Common/Message/MessageCenter.cs | yangjiqiu/Epitome | 4 | 7045628 | using System.Collections.Generic;
using UnityEngine;
namespace Epitome
{
public delegate void MessageEvent(Message message);
public class MessageCenter : Singleton<MessageCenter>
{
private MessageCenter() { }
private Dictionary<string, List<MessageEvent>> messageEventDict = nul... |
ZN.Core.WcfPracticeSolution/ZN.Core.WcfService/Properties/AssemblyInfo.cs | nandehutuzn/WcfPractice | 0 | 7045629 | <gh_stars>0
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列特性集
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ZN.Core.WcfService")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyC... |
src/Core/tests/DeviceTests/Handlers/ShapeView/ShapeViewHandlerTests.iOS.cs | francedot/maui | 15 | 7045630 | using System.Threading.Tasks;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Handlers;
namespace Microsoft.Maui.DeviceTests
{
public partial class ShapeViewHandlerTests
{
MauiShapeView GetNativeShapeView(ShapeViewHandler shapeViewHandler) =>
shapeViewHandler.NativeView;
Task ValidateNativeFill(IShapeVi... |
SharpPhysX/Generated/PxSerialFramework.Pinvokes.cs | Alan-FGR/SharpPhysX | 23 | 7045631 | // Generated by minBND 192.168.127.12 - © github.com/Alan-FGR
using System;
using System.Runtime.InteropServices;
public static unsafe partial class minBND_pinvokes {
[DllImport(SharpPhysX.Lib, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
internal static extern void void_PxProcessPxBaseCallbac... |
src/ExtendedXmlSerializer/ExtensionModel/Xml/XmlAttributes.cs | Synnotech-AG/VweXmlSetCollectionsError | 146 | 7045632 | <gh_stars>100-1000
using System.Xml;
namespace ExtendedXmlSerializer.ExtensionModel.Xml
{
struct XmlAttributes
{
readonly System.Xml.XmlReader _reader;
bool _complete;
public XmlAttributes(System.Xml.XmlReader reader)
{
_reader = reader;
_complete = false;
}
public bool MoveNext()
{
if (!... |
NinjaNye.SearchExtensions.Tests.Integration/Fluent/StructSearchTests/LessThanTests.cs | VictorioBerra/SearchExtensions | 0 | 7045633 | <filename>NinjaNye.SearchExtensions.Tests.Integration/Fluent/StructSearchTests/LessThanTests.cs
using System;
using System.Linq;
using Xunit;
namespace NinjaNye.SearchExtensions.Tests.Integration.Fluent.StructSearchTests
{
[Collection("Database tests")]
public class LessThanTests
{
private readonly... |
examples/dotNET/2. Functions/Display/Nondestructive Overlay/cs/Form1.Designer.cs | ni/vdm-dotnet | 12 | 7045634 | namespace NondestructiveOverlay
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
src/Hazelcast.Net.Tests/Remote/DnsTests.cs | emreyigit/hazelcast-csharp-client | 94 | 7045636 | // Copyright (c) 2008-2021, Hazelcast, 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 obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... |
UnitTests-Core/CubeUsingDataSetDataSourceTests.cs | calexconc/NSimpleOLAP | 7 | 7045637 | <filename>UnitTests-Core/CubeUsingDataSetDataSourceTests.cs<gh_stars>1-10
using NSimpleOLAP.Common;
using NSimpleOLAP.Configuration.Fluent;
using NUnit.Framework;
using System;
namespace UnitTests
{
[TestFixture]
public class CubeUsingDataSetDataSourceTests
{
private CubeBuilder GetCubeConfiguration()
{... |
src/AppBlocks.CodeGeneration.Roslyn.Tests.Common/InterfaceGeneration/TypeNameAliasUsingData.cs | as-ivanov/CodeGeneration.Roslyn.Logger | 0 | 7045638 | using System;
using System.Linq;
using AppBlocks.CodeGeneration.Roslyn.Common;
namespace AppBlocks.CodeGeneration.Roslyn.Tests.Common.InterfaceGeneration
{
public class TypeNameAliasUsingData
{
public static readonly TypeNameAliasUsingData Empty = new TypeNameAliasUsingData();
private readonly Type _type;
pri... |
src/Silverback.Integration/Messaging/Broker/IBrokerCollection.cs | gitjosephbeer/silverback | 139 | 7045639 | <reponame>gitjosephbeer/silverback
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Silverback.Messaging.Broker
{
/// <summary>
/// Holds a reference to all the registered <see c... |
src/MigrateWcfToWebApi.Core/Models/Builders/WcfClientClassInfoBuilder.cs | rayvega/migrate-wcf-to-web-api | 5 | 7045640 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MigrateWcfToWebApi.Core.CodeGenerators.Common;
using MigrateWcfToWebApi.Core.DataAccess;
using MigrateWcfToWebApi.Core.Mappers;
namespace MigrateWcfToWebApi.Core.Models.Builders
{
public static class WcfClientClassInfoBuilder... |
test/SemanticVersionTest/Comparer/EqualsTests.cs | STeeL835/SemanticVersion | 19 | 7045641 | namespace SemanticVersionTest.Comparer
{
using System;
using SemVersion;
using Xunit;
public class EqualsTests
{
[Fact]
public void Verify_ReferenceEquals()
{
SemanticVersion version = new SemanticVersion(1, 0, 0);
VersionComparer comp... |
junk/CommunityController.cs | benc-uk/community-proto | 0 | 7045642 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using CommunityApi.Models;
using CommunityApi.Services;
namespace CommunityApi.Controlers
{
[ApiController]
[Route("api/[... |
aspnet-core/src/Template.Core/Departments/Department.cs | RaniaG/BoilerPlateTask | 0 | 7045644 | using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Template.Employees;
namespace Template.Departments
{
public class Department:Entit... |
Diagnostic Application/BLL/TestTypeManager.cs | mdalaminmiah/Diagnostic-Bill-management-System | 0 | 7045645 | <reponame>mdalaminmiah/Diagnostic-Bill-management-System<filename>Diagnostic Application/BLL/TestTypeManager.cs
using Diagnostic_Application.DAL;
using Diagnostic_Application.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Diagnostic_Application.BLL {
public ... |
TorontoPartyAdvisor.Backend.Utility/Controllers/PlacesController.cs | giuunit/toronto-party-advisor-server | 0 | 7045646 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using TorontoPartyAdvisor.Commands;
using TorontoPartyAdvisor.Commands.Helpers;
namespace TorontoPartyAdvisor.Backend.... |
UnityFunctions/Assets/Scripts/Main/ProjectPointOnPlane.cs | vbodurov/unity-functions | 27 | 7045647 | using Extensions;
using Main;
using Unianio;
using UnityEngine;
using UnityFunctions;
namespace Main
{
public class ProjectPointOnPlane : BaseMainScript
{
private Transform _point, _projection;
// Drag the white ball in Scene view
void Start ()
{
const float pointS... |
CourseManager.BOL/Concrete/ScheduleDTOService.cs | Shtahet/Course-Manager | 0 | 7045648 | <filename>CourseManager.BOL/Concrete/ScheduleDTOService.cs
using CourseManager.BOL.Model;
using CourseManager.DAL.Abstract;
using CourseManager.DAL.Model;
using Sellers.BOL.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Thread... |
Yggdrasil/DataCompression/StreamHelper.cs | xdanieldzd/Yggdrasil | 14 | 7045649 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Yggdrasil.Exceptions;
using Yggdrasil.Helpers;
namespace Yggdrasil.DataCompression
{
public static class StreamHelper
{
public static MemoryStream Decompress(MemoryStream inputStream)
{
return Decomp... |
Runic/Assets/Animations/Enemy/EnemyScripts/EnemyFirst.cs | wixill/ITCS5231 | 0 | 7045650 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyFirst : MonoBehaviour
{
//variable needed for animator
[SerializeField]Animator anim;
[SerializeField] private Transform trans;
[SerializeField] private Transform Playertrans;
[SerializeField] private ... |
src/Transports/MassTransit.AmazonSqsTransport/Contexts/TopicCache.cs | Dylan-DutchAndBold/MassTransit | 0 | 7045651 | <filename>src/Transports/MassTransit.AmazonSqsTransport/Contexts/TopicCache.cs<gh_stars>0
namespace MassTransit.AmazonSqsTransport.Contexts
{
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Amazon.SimpleNotificationService;
using A... |
src/ResourceManagement/ContainerRegistry/Domain/InterfaceImpl/RegistryImpl.cs | abharath27/azure-libraries-for-net | 0 | 7045652 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.ContainerRegistry.Fluent
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure... |
product/hcm/Fap.Hcm.Web/Areas/System/Controllers/SurveyApiController.cs | 48355746/FapCore3.0 | 26 | 7045653 | using System;
using System.IO;
using System.Linq;
using System.Net.Mime;
using Ardalis.GuardClauses;
using Dapper;
using Fap.AspNetCore.Infrastructure;
using Fap.AspNetCore.ViewModel;
using Fap.Core.Annex;
using Fap.Core.Extensions;
using Fap.Core.Infrastructure;
using Fap.Core.Infrastructure.Domain;
using Fap.Core.In... |
Archon/Eval/TemplatePost.cs | GuyInGrey/Archon | 0 | 7045654 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Diagnostics;
using System.Numerics;
using Sy... |
mp/src/utils/sapi/Samples/CSharp/Listbox/control/SpeechListBox.cs | WorldGamers/Mobile-Forces-Source | 3 | 7045656 | //=============================================================================
//
// Copyright (c) Microsoft Corporation All Rights Reserved.
//
//=============================================================================
namespace SAPI51Samples
{
using System;
using System.Collections;
using... |
Assets/Scripts/3/Editor/MaterialMigrator.cs | Float3/3sUnityShadersScripts | 6 | 7045657 | <reponame>Float3/3sUnityShadersScripts<filename>Assets/Scripts/3/Editor/MaterialMigrator.cs
//referenced from https://github.com/lukis101/VRCUnityStuffs/blob/master/Scripts/Editor/MaterialCleaner.cs
#if UNITY_EDITOR
#region
using UnityEditor;
using UnityEngine;
#endregion
// ReSharper disable once CheckNamespace
na... |
Editor/NeodroidSettings.cs | sintefneodroid/droid | 32 | 7045658 | <reponame>sintefneodroid/droid
using System;
using System.IO;
using droid.Editor.Utilities;
using droid.Runtime;
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;
namespace droid.Editor {
/// <inheritdoc />
/// <summary>
/// Create a new type of Settings Asset.
/// </summary>
[Serializable... |
Pandemic_AI/Pandemic_AI_Framework/PD_Core/PD_Game/Macros/PD_MacroActionsSynthesisSystem.cs | konsfik/Pandemic-AI-Framework | 3 | 7045659 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pandemic_AI_Framework
{
public static class PD_MacroActionsSynthesisSystem
{
public static List<PD_MacroAction> FindAll_Macros(
PD_Game game,
PD_AI_Path... |
2018.02.12-OOPBasics/2018.02.23-InheritanceH4/Animals/Program.cs | SimeonShterev/2018.01.22-2018.04.22-CSharpFundamentals | 0 | 7045661 | using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
List<Animal> animalList = new List<Animal>();
string animalType;
while ((animalType = Console.ReadLine()) != "Beast!")
{
try
{
ParseAnimals(... |
WinIoTCoreListener.Lib/ReceivedBytesEventArgs.cs | emmellsoft/WinIoTCoreListener | 6 | 7045662 | <filename>WinIoTCoreListener.Lib/ReceivedBytesEventArgs.cs
using System;
namespace Laserbrain.WinIoTCoreListener.Lib
{
internal class ReceivedBytesEventArgs : EventArgs
{
public ReceivedBytesEventArgs(byte[] bytes)
{
Bytes = bytes;
}
public byte[] Bytes { get; }
}
} |
SkiaSharpForms/Demos/Demos/SkiaSharpFormsDemos/Transforms/AnimatedRotation3DPage.cs | MiaHub/xamarin-forms-samples | 4,601 | 7045663 | using System;
using Xamarin.Forms;
using SkiaSharp;
using SkiaSharp.Views.Forms;
namespace SkiaSharpFormsDemos.Transforms
{
public class AnimatedRotation3DPage : ContentPage
{
SKCanvasView canvasView;
float xRotationDegrees, yRotationDegrees, zRotationDegrees;
string text = "SkiaSha... |
src/praxicloud.core.metrics/callbackprovider/CallbackMetricsProvider.cs | chrisgclayton/praxicloud.core.metrics | 0 | 7045664 | <filename>src/praxicloud.core.metrics/callbackprovider/CallbackMetricsProvider.cs<gh_stars>0
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace praxicloud.core.metrics.callbackprovider
{
#region Using Clause... |
src/ChartJs.Blazor/BubbleChart/BubbleDataset.cs | Verent/ChartJs.Blazor | 0 | 7045665 | using System.Collections.Generic;
using ChartJs.Blazor.Common;
using ChartJs.Blazor.Common.Enums;
using ChartJs.Blazor.Util;
namespace ChartJs.Blazor.BubbleChart;
/// <summary>
/// Represents a dataset for a bubble chart.
/// <para>As per documentation <a href="https://www.chartjs.org/docs/latest/charts/bubble.html... |
FreeWill_Mod.cs | paul-freeman/rimworld-freewill | 2 | 7045666 | <reponame>paul-freeman/rimworld-freewill
using System.Collections.Generic;
using System.Reflection;
using System;
using HarmonyLib;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.AI;
namespace FreeWill
{
public class FreeWill_Mod : Mod
{
public FreeWill_Mod(ModContentPack content) : base(c... |
src/Boo.Lang.Compiler/TypeSystem/Services/MemberCollector.cs | popcatalin81/boo | 479 | 7045667 | #region license
// Copyright (c) 2009 <NAME> (<EMAIL>)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// ... |
Hao.Launcher/ObjectConverter.cs | JieGou/mh-master | 0 | 7045668 | <reponame>JieGou/mh-master<gh_stars>0
using Autodesk.RevitAddIns;
using Hao.Launcher.Model;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Data;
namespace Hao.Launcher
{
public class ObjectConverter : IValueConverter
{
publi... |
Blessed Box/Assets/Scripts/GameManager.cs | christianflemmer/BlessedBox | 1 | 7045669 | using UnityEngine;
using UnityEngine.SceneManagement;
public enum EEndGameType {
COLLISSION,
FALL_OFF_EDGE,
}
public class GameManager : MonoBehaviour {
public float restartDelay = 1f;
public GameObject completeLevelUi;
private bool levelHasEnded = false;
/// <summary>
/// Complete cur... |
example/Console/Seguro.Viagem.Srv.Example.ConsoleApplication/Program.cs | brunobrandes/seguro-viagem-srv-api | 2 | 7045670 | using Seguro.Viagem.Srv.DataTransferObject;
using Seguro.Viagem.Srv.DataTransferObject.Request;
using Seguro.Viagem.Srv.DataTransferObject.Response;
using Seguro.Viagem.Srv.Domain.Enum;
using Seguro.Viagem.Srv.Domain.Service.Factories;
using Seguro.Viagem.Srv.Domain.Service.Serializer;
using SimpleInjector;
using Syst... |
Subgurim.Maps.Core/Google/Options/PolygonBaseOptions.cs | subgurim/subgurim-maps-core | 0 | 7045671 | using Subgurim.Maps.Core.Collections;
using Subgurim.Maps.Core.Google.Abstract;
namespace Subgurim.Maps.Core.Google.Options
{
internal abstract class PolygonBaseOptions : BaseOptions
{
private string mapId;
/// <summary>
/// Indicates whether this polygon handles click events. Defaults... |
test/PandasNET.UnitTest/Index/Index.Test.cs | robyle/Pandas.NET | 1 | 7045672 | <reponame>robyle/Pandas.NET<gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PandasNET.UnitTest;
using System;
using System.Collections.Generic;
using System.Text;
namespace PandasNET.IndexUnitTest
{
[TestClass]
public class IndexTest : TestBase
{
[TestMethod]
public... |
src/rm.Extensions/ArrayExtension.cs | SammyEnigma/csharp-extensions | 38 | 7045674 | using System;
using System.Collections.Generic;
using System.Text;
namespace rm.Extensions
{
/// <summary>
/// Array{T} extensions.
/// </summary>
public static class Array<T>
{
/// <summary>
/// Returns empty T array.
/// </summary>
public static T[] Empty => Array.Empty<T>();
}
}
|
src/froGH/froGH/Geometry/DivideCurveByTangentAngle.cs | Co-de-iT/froGH | 34 | 7045675 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using froGH.Properties;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace froGH
{
public class DivideCurveByTangentAngle : GH_Component
{
/// <summary>
/// Initializes a new instance of the DivideCurveByTangentAngle class... |
Yoga.Net/YGEnums.cs | brainzdev/Yoga.Net | 1 | 7045676 | <filename>Yoga.Net/YGEnums.cs
using System;
namespace Yoga.Net
{
public enum YGAlign
{
Auto,
FlexStart,
Center,
FlexEnd,
Stretch,
Baseline,
SpaceBetween,
SpaceAround
}
public enum YGDimension
{
Width,
Height
}
... |
Source/Uavcan.NET.Studio/Diagnostics/Terminal/Terminal.cs | kolos450/Uavcan.NET | 0 | 7045677 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using S... |
idea_generic_task_server/Controllers/TaskController.cs | lotosbin/idea-generic-task-server | 0 | 7045678 | <reponame>lotosbin/idea-generic-task-server
using System;
using System.Collections.Generic;
using System.Linq;
using idea_generic_task_server.Auth;
using idea_generic_task_server.Core;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace idea_generic_... |
src/Modules/Orchard.Captcha/Models/CaptchaSettingsPart.cs | INVA-Spa/Laser.Orchard.Platform | 8 | 7045679 | <filename>src/Modules/Orchard.Captcha/Models/CaptchaSettingsPart.cs
using System.ComponentModel.DataAnnotations;
using Orchard.Captcha.ValidationAttributes;
using Orchard.ContentManagement;
namespace Orchard.Captcha.Models
{
public class CaptchaSettingsPart : ContentPart<CaptchaSettingsPartRecord>
{
[... |
Demo/NilremUserManagement/NewUserWizard.cs | yevster/MerlinWizardFramework | 0 | 7045680 | using System;
using System.Collections.Generic;
using System.Text;
using Merlin;
using MerlinStepLibrary;
using System.Windows.Forms;
using NilremUserManagement.Properties;
using System.IO;
using System.Drawing;
using MerlinStepLibrary.Selection;
namespace NilremUserManagement.CustomSteps
{
static ... |
Application.Jingdong.Extension/JingDongAlliance/Param/StatisticsActivityBonusQueryParam.cs | JosephYue/application | 1 | 7045681 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Application.Jingdong.Extension.JingDongAlliance.Param
{
/// <summary>
/// 奖励活动奖励金额查询业务参数
/// </summary>
public class StatisticsActivityBonusQueryParam : ValidateParam
{
/// <summary>
... |
src/MeowvBlog.API/Models/Dto/PagingInput.cs | Xieweikang123/Blog-1 | 1 | 7045683 | <reponame>Xieweikang123/Blog-1
namespace MeowvBlog.API.Models.Dto
{
/// <summary>
/// 分页输入参数
/// </summary>
public class PagingInput
{
/// <summary>
/// 页码
/// </summary>
public int Page { get; set; } = 1;
/// <summary>
/// 限制条数
/// </summary... |
Source/Modules/ModuleCollection.cs | TED-996/ArchGame | 1 | 7045684 | <filename>Source/Modules/ModuleCollection.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace ArchGame.Modules {
/// <summary>
/// The ModuleCollection is a class that contains a list of modules and allows their retrieval by type.
/// </summary>
public class ModuleCollection {
readon... |
src/SvishtovHighSchool.ReadModel/Repositories/MongoDbCourseRepository.cs | chunk1ty/svishtov-high-school | 0 | 7045685 | <reponame>chunk1ty/svishtov-high-school
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MongoDB.Driver;
using SvishtovHighSchool.ReadModel.Contracts;
using SvishtovHighSchool.ReadModel.Entities;
namespace SvishtovHighSchool.ReadModel.Repositories
{
public class MongoDbCour... |
backend/api/Profiles/Converters/ParcelIdConverter.cs | WadeBarnes/PIMS | 0 | 7045687 | <filename>backend/api/Profiles/Converters/ParcelIdConverter.cs
using AutoMapper;
namespace backend.Helpers.Profiles.Converters
{
public class ParcelIdConverter : IValueConverter<string, int>
{
public int Convert(string sourceMember, ResolutionContext context)
{
return int.TryParse(s... |
Demos/08-EFCore/PreConventionModelConfiguration/Entities/Session.cs | TaleLearnCode/WhatsNewInCSharp10AndDotNET6 | 1 | 7045688 | namespace TaleLearnCode.WhatsNewForCSharepDevelopers.EFCore.PreConventionModelConfiguration;
public class Session
{
public string SessionData { get; set; }
public string SessionCookies { get; set; }
} |
src/D2L.CodeStyle.Annotations/Objects/Immutable.cs | dustxd/D2L.CodeStyle | 12 | 7045689 | <reponame>dustxd/D2L.CodeStyle
using System;
// ReSharper disable once CheckNamespace
namespace D2L.CodeStyle.Annotations {
public static class Objects {
public abstract class ImmutableAttributeBase : Attribute {}
/// <summary>
/// If a class, struct or interface is marked with this annotation it
... |
Amaranth.UI/Interfaces/IUserInterfaceScreen.cs | LambdaSix/Amaranth | 92 | 7045690 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Malison.Core;
using Amaranth.Util;
namespace Amaranth.UI
{
public interface IUserInterfaceScreen
{
void Attach(NotNull<UserInterface> ui, ITerminal terminal);
void Detach(NotNull<UserInt... |
Cultural Hub/WebApp/Models/EventList.cs | denisailisie/LigaAC2020 | 0 | 7045691 | <filename>Cultural Hub/WebApp/Models/EventList.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Models
{
public class EventList
{
public string eventType { get; set; }
public string location { get; set; }
p... |
Songhay.Publications/Models/OebpsTextBiography.cs | BryanWilhite/Songhay.Publications | 0 | 7045692 | using Markdig;
using System;
using System.IO;
using System.Xml.Linq;
namespace Songhay.Publications.Models
{
/// <summary>
/// Defines the content to write the
/// <see cref="PublicationFiles.EpubFileBiography"/> file.
/// </summary>
/// <remarks>
/// Open eBook Publication Structure (OEBPS),... |
WhetStone/Fill.cs | bentheiii/WhetStone | 10 | 7045693 | using System;
using System.Collections.Generic;
using System.Linq;
using WhetStone.SystemExtensions;
namespace WhetStone.Looping
{
/// <summary>
/// A static container for identity method
/// </summary>
public static class fill
{
/// <overloads>Fills an <see cref="IList{T}"/> with elements... |
GuidesFusion360Server/Controllers/GuidesController.cs | BesedinAlex/guides-fusion360-server | 1 | 7045694 | using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using GuidesFusion360Server.Dtos.Guides;
using GuidesFusion360Server.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace GuidesFusion360Server.Controllers
{
[Authorize]
[ApiController]
[Rout... |
src/xero/Mifs.Xero/Mapping/PurchaseOrderLineProfile.cs | CurtisFulton/MIFS-public | 0 | 7045695 | <reponame>CurtisFulton/MIFS-public
using AutoMapper;
using Mifs.Extensions;
using Mifs.MEX.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using Xero.NetStandard.OAuth2.Model.Accounting;
namespace Mifs.Xero.Mapping
{
public class PurchaseOrderLineProfile : Profile
{
public P... |
Programing C#/OOP/OOP-Principles-Part -One/AnimalHeirarchy/Models/Dog.cs | dushka-dragoeva/TelerikSeson2016 | 5 | 7045696 | namespace AnimalHeirarchy.Models
{
using System;
using Contracts;
internal class Dog : Animal, ISound
{
public Dog(int age, string name, SexType sex)
: base(age, name, sex)
{
}
public override void MakeSound()
{
Console.WriteLine("Baw! B... |
TSVD/Radical/src/netcore45/Radical/Container/EntryBuilder.cs | uditagarwal97/nekara-artifact | 2 | 7045697 | <filename>TSVD/Radical/src/netcore45/Radical/Container/EntryBuilder.cs
using System;
using System.Reflection;
using Topics.Radical.ComponentModel;
namespace Topics.Radical
{
/// <summary>
/// Helper class to fluently create Puzzle container entries.
/// </summary>
public static class EntryBuilder
{
/// <summar... |
eleave/eleave_view/md/leave_logs.aspx.cs | humming-soft/e-Leave | 0 | 7045698 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Data;
using System.Web.UI.WebControls;
using eleave_c;
namespace eleave_view.md
{
public partial class leave_logs : System.Web.UI.Page
{
bus_eleave bus = new bus_eleave();
pro... |
ReleaseTags/0.9/Source/LateBindingApi.Office/SearchScope.cs | NetOfficeFw/Excel-XlLateBinding | 0 | 7045699 | //Generated by LateBindingApi.CodeGenerator
using System;
using System.Reflection;
using System.ComponentModel;
using System.Runtime.InteropServices;
using LateBindingApi.Core;
namespace LateBindingApi.Office
{
[SupportByLibrary("OF10","OF11","OF12","OF14")]
public class SearchScope : _IMsoDispObj
{
#region Constr... |
src/FplClient/Data/FplPhase.cs | RyanDurkin/FplClient | 0 | 7045700 | <filename>src/FplClient/Data/FplPhase.cs
using Newtonsoft.Json;
namespace FplClient.Data
{
public class FplPhase
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("start_event")]
public lo... |
src/FluentHub/Views/Repositories/Projects/ProjectPage.xaml.cs | fluenthub-community/FluentHub | 26 | 7045701 | <reponame>fluenthub-community/FluentHub
using FluentHub.Services;
using FluentHub.ViewModels.Repositories.Projects;
using Microsoft.Extensions.DependencyInjection;
using System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
using Windows.UI.Xaml.Navigation;
namespace FluentHub.Views.Repositorie... |
AS/RTR.IT.AS.Api/Jobs/ExpiredRefreshTokensJob.cs | RoyTR/AuthorizationServer | 1 | 7045702 | using Quartz;
using RTR.IT.AS.ApplicationServer.Implementations;
using RTR.IT.AS.Core.Contracts.Service;
using RTR.IT.AS.Core.Entities.App;
using RTR.IT.AS.Infrastructure.Data;
using RTR.IT.AS.Infrastructure.Implementations;
using System.Data.SqlClient;
namespace RTR.IT.AS.Api.Jobs
{
public class ExpiredRefreshTo... |
src/ResourceManagement/Network/Domain/NextHop/Definition/IDefinition.cs | abharath27/azure-libraries-for-net | 365 | 7045703 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Network.Fluent.NextHop.Definition
{
using Microsoft.Azure.Management.Network.Fluent;
using Microsoft.Azure.Management.... |
Packages/com.popo.bdframework/Runtime/Tools/Path.cs | cookgoing/BDFramework.Core | 3 | 7045704 | <reponame>cookgoing/BDFramework.Core
using System.IO;
namespace System.IO
{
static public class IPath
{
//这里是修复Mamc下的 Path.Combine的Bug
static public string Combine(params string[] strings)
{
string str = strings[0];
for (int i = 1; i < strings.Length; i++)
... |
Assets/BeardPhantom/PhantomConsole/Scripts/UGUITextLabelConsoleWrapper.cs | thebeardphantom/UnityConsole | 7 | 7045705 | <gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
namespace BeardPhantom.PhantomConsole
{
/// <summary>
/// Wrapper for UGUI Text component for PhantomConsole
/// </summary>
public class UGUITextLabelConsoleWrapper : ConsoleTextLabel
{
[SerializeField]
private Text _text;
... |
Assets/Scripts/Systems/DataSystem.cs | DapperDino/Card-Game-Stream | 4 | 7045706 | using CardGame.Common;
using CardGame.Models;
namespace CardGame.Systems
{
public class DataSystem : Aspect
{
public Match Match { get; } = new Match();
}
public static class DataSystemExtensions
{
public static Match GetMatch(this IContainer container)
{
var d... |
ERP-System/Models/Driver.cs | Persiyan93/ERP-System | 0 | 7045707 | <filename>ERP-System/Models/Driver.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ErpSystem.Data.Models
{
public class Driver:Employee
{
public Driver()
{
this.DriverVehiclesHistory = new HashSet<DriverVehicle>();
}
... |
src/SHNDecryptor/Columns/columnRename.cs | RRozz/SHN-Editor | 5 | 7045708 | <reponame>RRozz/SHN-Editor
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SHNDecrypt
{
public partial class columnRename : Form
{
frmMain mainfrm;
... |
src/LionFire.Persistence.Handles/Handles/Read/ObjectHandleExtensions.cs | jaredthirsk/LionFire.Core | 0 | 7045709 | <gh_stars>0
namespace LionFire.Persistence.Handles
{
public static class ObjectHandleExtensions
{
/// <summary>
/// See also: ObjectHandleProviderExtensions.GetObjectReadHandle and other methods
/// </summary>
/// <typeparam name="TValue"></typeparam>
/// <param name="v... |
src/test/cs/Infinispan/HotRod/Wrappers/VersionedValue.cs | rigazilla/dotnet-client | 1 | 7045710 | <reponame>rigazilla/dotnet-client<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Infinispan.HotRod.Wrappers
{
public class VersionedValue
{
private Infinispan.HotRod.IVersionedValue<byte[]> value;
internal VersionedValu... |
Windows.Forms/_InProgress_/ListViewEx/ListViewEx_Grouping.cs | DigitalPlatform/Vanara | 1,037 | 7045711 | <reponame>DigitalPlatform/Vanara
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Vanara.Windows.Forms
{
/// <summary>
/// Defines a model for grouping <see cref="ListViewItem"/> elements.
/// </summary>
public class ListViewGroupingModel
{
/// <summary>
/// Gets or sets ... |
src/Echidna.Tests/Mapping/DictionaryMappingTest.cs | madelson/Echidna | 0 | 7045712 | <reponame>madelson/Echidna<filename>src/Echidna.Tests/Mapping/DictionaryMappingTest.cs<gh_stars>0
using Medallion.Data.Mapping;
using System.Dynamic;
namespace Medallion.Data.Tests.Mapping;
internal class DictionaryMappingTest
{
[Test]
public void TestCanMapToIReadOnlyDictionary([Values] Db db)
{
... |
src/Sop.DotnetSpider/Enum/CodeType.cs | csharphelp/DotnetSpider | 4 | 7045713 | using System;
using System.Collections.Generic;
using System.Text;
namespace Sop.DotnetSpider
{
/// <summary>
///
/// </summary>
public enum CodeType
{
UrlEncode,
UrlDecode,
HtmlEncode,
HtmlDecode,
}
}
|
Vhc.CoreScheduler/Vhc.CoreScheduler.Common/Models/IJobUnit.cs | churivibhav/CoreScheduler | 1 | 7045714 | <gh_stars>1-10
namespace Vhc.CoreScheduler.Common.Models
{
public interface IJobUnit
{
string Content { get; set; }
int Id { get; set; }
string Name { get; set; }
UnitType Type { get; set; }
}
} |
MangoPay.SDK.Tests/ApiHooksTest.cs | Mangopay/mangopay2-net-sdk | 17 | 7045715 | <filename>MangoPay.SDK.Tests/ApiHooksTest.cs
using MangoPay.SDK.Entities;
using MangoPay.SDK.Entities.GET;
using MangoPay.SDK.Entities.PUT;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MangoPay.SDK.Core.Enumerations;
namespace MangoPay.SDK.Tests
{
[Tes... |
src/FileClassifier.JobManager.lib/Handlers/Base/BaseHandler.cs | jcapellman/FIleClassifier | 2 | 7045716 | <reponame>jcapellman/FIleClassifier
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace FileClassifier.JobManager.lib.Handlers.Base
{
public class BaseHandler
{
private readonly string _rootUrl;
protected BaseHandler(string r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.