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 |
|---|---|---|---|---|
v2.4/API/Controllers/DB/TposInTrackController.cs | LightosLimited/RailML | 0 | 7043613 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Models.DB;
namespace API.Controllers.DB
{
[Route("api/[controller]")]
[ApiController]
public class Tpo... |
Source/Csla/Serialization/Mobile/ReferenceComparer.cs | vijaygill/csla | 945 | 7043614 | //-----------------------------------------------------------------------
// <copyright file="ReferenceComparer.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implements an equality comparer for <see cref="IMobileObject"... |
AdvantureWork.Common/DTO/DimCurrencyDTO.cs | thanhntggsunday/AdvantureWork2017 | 0 | 7043615 | #nullable disable
namespace AdvantureWork.Common.DTO
{
public partial class DimCurrencyDTO
{
public int CurrencyKey { get; set; }
public string CurrencyAlternateKey { get; set; }
public string CurrencyName { get; set; }
}
} |
src/n-websockets/N/Package/Websockets/NWebSocketClient.cs | shadowmint/unity-n-websocket | 1 | 7043616 | using System;
using System.IO;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using n_websockets.N.Package.Websockets;
using n_websockets.N.Package.Websockets.Infrastructure.Logging;
using Newtonsoft.Json;
using UnityEngine;
namespace N.Package.Infrastructure
{
... |
CritterBrains/ICritterFactory.cs | JirVal/2017-2018---University---First-Year---Programming-II | 0 | 7043617 | <reponame>JirVal/2017-2018---University---First-Year---Programming-II<filename>CritterBrains/ICritterFactory.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CritterBrains;
namespace CritterBrains
{
/// <summary>
/// You must implement this class to ide... |
samples/Performance/Program.cs | HastenS/Zarf | 12 | 7043618 | <reponame>HastenS/Zarf
using Entities;
using System;
using System.Diagnostics;
using Zarf;
using Zarf.SqlServer;
namespace Performance
{
public class SqlServerDbContext : DbContext
{
public SqlServerDbContext()
: base(builder => builder.UseSqlServer(
@"Data Source=localhost... |
IDentityProvider/config/CertificateSelection.aspx.cs | nz-govt-moe-skysigal/nz.govt.moe.idp.saml.client.asp.net | 0 | 7043619 | <reponame>nz-govt-moe-skysigal/nz.govt.moe.idp.saml.client.asp.net
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text.RegularExpressions;
using System.Web.UI;
using System.Web.UI.WebControls;
using IdentityProviderDemo.Logic;
namespace IdentityProv... |
Assets/Scripts/MapTile.cs | thorx2/yet-another-poc | 0 | 7043620 | using UnityEngine;
using UnityEngine.EventSystems;
public class MapTile : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler, IPointerClickHandler
{
//Naming is weird in this class for private variables....
private Color _mouseOverColor = Color.red;
private Color _originalColor;
private MeshRende... |
Software/BleIPS/BleIPS/Window1.xaml.cs | Standa-R/BlePositioningSystem | 0 | 7043621 | 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;
using System.Windows.Media.Imaging;... |
Assets/Scripts/Devices/Modules/CustomNoiseModel.cs | lge-ros2/cloisim | 78 | 7043622 | /*
* Copyright (c) 2020 LG Electronics Inc.
*
* SPDX-License-Identifier: MIT
*/
public class CustomNoiseModel : NoiseModel
{
public CustomNoiseModel(in SDF.Noise parameter)
: base(parameter)
{
}
public override void Apply<T>(ref T data, in float deltaTime = 0)
{
// TODO: TBD
}
} |
EShop/Checkout/Models/Orders.cs | victorwealth/ef-core-with-in-memory-and-di-complete | 0 | 7043623 | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Checkout.Models
{
public class Orders
{
[Key]
public int Id { get; set; }
public DateTimeOffset OrderDate { get; set; }
public int CustomerId ... |
Source/PokeWorld/PokeWorld/Incidents/IncidentWorker_PokemonDeepDrillInfestation.cs | Nolenz/PokeWorld | 0 | 7043624 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
using UnityEngine;
namespace PokeWorld
{
public class IncidentWorker_PokemonDeepDrillInfestation : IncidentWorker
{
private static List<Thing> tmpDrills = new List<Th... |
teste1/WpfApp6/WpfApp6/ModelFile.cs | EduardaSRBastos/WPF-2021 | 0 | 7043625 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using WPFApp6;
namespace WpfApp6
{
//public delegate void MethodWithouArgs();
public class ModelFile
{
public string Content;
public event MethodWithouArgs ... |
src/PartnerCenter/RateCards/RateCardCollectionOperations.cs | kartegagithub/partner-center-dotnet | 0 | 7043626 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.RateCards
{
/// <summary>Implements operations that apply to rate cards.</summary>
internal class RateCardCollectionOperat... |
MIDIPassthrough/Form1.Designer.cs | FIX94/MIDIPassthrough | 1 | 7043627 | <reponame>FIX94/MIDIPassthrough<gh_stars>1-10
namespace MIDIPassthrough
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bein... |
source/Infrastructure/Azure/Infrastructure.Azure.IntegrationTests/MessageProcessorIntegration.cs | jdom/cqrs-journey-code | 1 | 7043628 | // ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// ©2012 Microsoft. All right... |
src/BindToConfig.UnitTests/ExtensionMethods.cs | BindToConfig/BindToConfig | 0 | 7043629 | <reponame>BindToConfig/BindToConfig
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace BindToConfig.UnitTests
{
public static class ExtensionMethods
{
public static TesTConfigClassProvider SetSection(
this TesTConfigClassProvider provider,
int intValue,
... |
src/Skybrud.Social.Vimeo/Options/Channels/VimeoGetChannelVideosOptions.cs | jemayn/Skybrud.Social.Vimeo | 2 | 7043630 | using Skybrud.Essentials.Common;
using Skybrud.Essentials.Http;
using Skybrud.Essentials.Http.Collections;
using Skybrud.Essentials.Strings;
using Skybrud.Social.Vimeo.Options.Sorting;
using Skybrud.Social.Vimeo.Options.Videos;
namespace Skybrud.Social.Vimeo.Options.Channels {
/// <summary>
/// Class represe... |
src/IxMilia.Dxf/Tables/DxfTable.cs | glockenmeier/Dxf | 81 | 7043631 | <reponame>glockenmeier/Dxf<filename>src/IxMilia.Dxf/Tables/DxfTable.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using IxMilia.Dxf.Collections;
using IxMilia.Dxf.Sections;
namespace IxMilia.Dxf.Tables
{
public enum DxfViewRenderMode
{
Classic2D = 0,
Wire... |
EssentialUIKit/Controls/SearchableListView.cs | RawoofSharief/essential-ui-kit-for-xamarin.forms | 1 | 7043632 | <gh_stars>1-10
using System.Threading.Tasks;
using Syncfusion.ListView.XForms;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using EssentialUIKit.Models.Chat;
namespace EssentialUIKit.Controls
{
/// <summary>
/// This class extends the behavior of the SfListView control to filter the ListViewItem based ... |
BenchmarkFieldComparer/Program.cs | NightOwl888/BenchmarkFieldComparer | 0 | 7043633 | using BenchmarkDotNet.Running;
using System;
namespace BenchmarkPlayground
{
class Program
{
static void Main(string[] args)
{
new BenchmarkSwitcher(typeof(Program).Assembly).Run(args);
//#if DEBUG
Console.ReadKey();
//#endif
}
}
}
|
DbFacadeShared/Utils/GenericInstance.cs | JSystemsTech/DBFacade.Net | 0 | 7043634 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace DbFacade.Utils
{
/// <summary>
///
/// </summary>
public interface IAsyncInit
{
/// <summary>
/// Initializes the asynchronous... |
LiftOff/Controllers/RoleController.cs | phucodes/LiftOff | 2 | 7043635 | /* using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LiftOff.Controllers
{
public class RoleController: Controller
{
public IActionResult Index()
{
}
}
}
*/ |
docs before all script/database-justin/code/database/executesql/editors/resulttypeeditor/viewmodel/resulttypeviewmodel.cs | gititGoro/linx5bootstrapjekyll | 0 | 7043636 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Input;
using Twenty57.Linx.Components.Database.Common;
using Twenty57.Linx... |
source/BulkCrapUninstaller/Functions/ApplicationList/ListViewDelegates.cs | 102464/Bulk-Crap-Uninstaller | 2,357 | 7043637 | <filename>source/BulkCrapUninstaller/Functions/ApplicationList/ListViewDelegates.cs
/*
Copyright (c) 2017 <NAME> (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.IO;
using System.Linq;
using BulkCrapUninstaller.Properties;
using Klocman.Extensions;
using Klocman... |
SETD/Assets/Script/Login/GUI/GUILoadingScreen.cs | MagicalMontra/gamespace_test | 0 | 7043638 | <filename>SETD/Assets/Script/Login/GUI/GUILoadingScreen.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Zenject;
using TMPro;
using System;
public class GUILoadingScreen : MonoBehaviour
{
[Serializable]
public class Settings
{
public TextLoadingAnimation loa... |
Nhl.Api/Src/Api/NhlApi.cs | Afischbacher/Nhl.Api | 10 | 7043639 | <filename>Nhl.Api/Src/Api/NhlApi.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Nhl.Api.Models.Award;
using Nhl.Api.Models.Conference;
using Nhl.Api.Models.Division;
using Nhl.Api.Models.Draft;
using Nhl.Api.Models.Event;
using Nhl.Api.Models.Franchise;
using Nhl.... |
ResourcesCalculator/Controllers/ResourcesController.cs | Tierbolg/ResourcesCalculator | 0 | 7043641 | using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ResourcesCalculator.Models;
namespace ResourcesCalculator.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ResourcesController ... |
tests/NuGetGallery.FunctionalTests.Fluent/MinClientVersionFromUITest.cs | methylium/NuGetGallery | 0 | 7043642 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NuGetGallery.FunctionTests.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAutomation;
namespace NuG... |
src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Popup/Popup.shared.cs | rxDietel/XamarinCommunityToolkit | 1,472 | 7043643 | namespace Xamarin.CommunityToolkit.UI.Views
{
/// <summary>
/// Default popup implementation that uses a
/// generic <see cref="object"/> result.
/// </summary>
public class Popup : Popup<object>
{
}
} |
4.OOPBasic/00_OOP-Basic-11.18/02_WorkingWithAbstraction/Abstraction/02_Point_Rectangle/StartUp.cs | Brankovanov/SoftUniCourses | 1 | 7043644 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _02_Point_Rectangle
{
public class StartUp
{
static void Main()
{
ReceiveInput();
}
public static void ReceiveInput()
{
var rectangleCoordinates = Console.ReadLine()
... |
loginhome.aspx.cs | avinash795k/Employee-Profile-Management | 0 | 7043645 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class loginhome : System.Web.UI.Page
{
SqlConnection con = new SqlConnection("Server=AVINASH\\MSSQLSERVER2012;Da... |
src/Commands/ChannelTypeList.cs | rostislav-nikitin/stream-chat-net-cli | 0 | 7043646 | namespace StreamChat.Cli.Commands
{
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using StreamChat;
[CommandDescriptor("channelType", "list")]
internal class ChannelTypeList : ICommand
{
private readonly Client _client;
private readonly ILogger<Command> _logger;
pub... |
Samples/Plugin.CrossGoogleAnalytics.Samples/Forms/App.xaml.cs | stefan89/Plugin.CrossGoogleAnalytics | 0 | 7043647 | using Xamarin.Forms;
using Plugin.Analytics.CrossGoogleAnalytics;
namespace GASample
{
public partial class App : Application
{
public App ()
{
InitializeComponent ();
CrossGoogleAnalytics.Current.Init (<Set your UA-ID here>);
MainPage = new NavigationPag... |
V308CMS/Models/ProductModels.cs | giaiphapictcom/mamoo.vn | 0 | 7043648 | namespace V308CMS.Models
{
public class ProductModels
{
public int Id { get; set; }
public double Price { get; set; }
public string Name { get; set; }
public string Avatar { get; set; }
public int SaleOff { get; set; }
}
} |
bajula/Models/facebook/FacebookStreamPost.cs | seanlinmt/tradelr | 2 | 7043650 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using clearpixels.Facebook;
using clearpixels.Facebook.Resources;
using Facebook;
using tradelr.Common.Models.currency;
using tradelr.Common.Library.Imaging;
using tradelr.Common.Models.photos;
using tradelr.DBML;
using tradelr.Library;
using tradelr.Librar... |
Unity/Packages/com.arongranberg.astar/Drawing/Draw.cs | Noname-Studio/ET | 0 | 7043651 | // This file is automatically generated by a script based on the CommandBuilder API
using Unity.Burst;
using UnityEngine;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Mathematics;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Jobs;
namespace Pathfinding.Drawing {
public static class D... |
Sources/VRage.Game/ModAPI/MyTerminalControlListBoxItem.cs | cnheider/SpaceEngineers | 3,359 | 7043652 | <reponame>cnheider/SpaceEngineers
using VRage.Utils;
namespace VRage.ModAPI
{
/// <summary>
/// This is a listbox item in a list box terminal control
/// </summary>
public class MyTerminalControlListBoxItem
{
/// <summary>
/// The text that appears for the item
/// </summar... |
src/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten/ElementConverters/CommonElement/Context_/TransformData.cs | dotnet-campus/DocumentFormat.OpenXml.Extensions | 3 | 7043653 | using dotnetCampus.OpenXmlUnitConverter;
namespace DocumentFormat.OpenXml.Flatten.ElementConverters.CommonElement
{
class TransformData :
// 继承 OpenXmlLeafElement 是为了做缓存,可以放在 OpenXML 元素
OpenXmlLeafElement,
ITransformData
{
public Emu OffsetX { get; set; } = new Emu(0);
... |
Tools/1 - Common/MoDirect3d/Common/Camera/FDxWorldCamera.cs | favedit/MoCross | 3 | 7043654 | <filename>Tools/1 - Common/MoDirect3d/Common/Camera/FDxWorldCamera.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MO.DX.Core.Common.Camera
{
//============================================================
public class FDxWorldCamera : FDxCamera
{
}
}
|
lessonweb/lessonweb/web/edituser.aspx.designer.cs | flyvfr/lessontrack | 0 | 7043655 | <reponame>flyvfr/lessontrack
//------------------------------------------------------------------------------
// <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.
// </auto-generated>
//-----------... |
Code/MDM.ServiceHost.WebApi/Controllers/EntityMappingsController.cs | RWE-Nexus/EnergyTrading-MDM | 2 | 7043656 | <gh_stars>1-10
using EnergyTrading.Mdm.Messages.Services;
using MDM.ServiceHost.WebApi.Infrastructure.Exceptions;
using MDM.ServiceHost.WebApi.Infrastructure.Extensions;
using Microsoft.Practices.ServiceLocation;
namespace MDM.ServiceHost.WebApi.Controllers
{
using System.Net;
using System.Net.Http;
... |
GeneralShare.UI/Controls/UITextField/UITextField.Events.cs | TechnologicalPizza/GeneralShare | 0 | 7043657 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using MonoGame.Extended.BitmapFonts;
namespace GeneralShare.UI
{
public partial class UITextField : UITextElement
{
#region Event Handlers
private void UITextArea_OnKeyRepeat(UIElement sender, Keys key, float timeDown)
... |
src/KingMigrations/MigrationSources/AssemblyResourceMigrationSource.cs | MatthewKing/KingMigrations | 0 | 7043658 | <filename>src/KingMigrations/MigrationSources/AssemblyResourceMigrationSource.cs
using System.Reflection;
namespace KingMigrations.MigrationSources;
public class AssemblyResourceMigrationSource : FileBasedMigrationSource, IMigrationSource
{
private readonly Assembly _assembly;
public AssemblyResourceMigrati... |
src/Essensoft.Paylink.Alipay/Domain/AlipayMarketingActivityOrdervoucherUseModel.cs | Frunck8206/payment | 0 | 7043659 | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// AlipayMarketingActivityOrdervoucherUseModel Data Structure.
/// </summary>
public class AlipayMarketingActivityOrdervoucherUseModel : AlipayObject
{
/// <su... |
src/06.tool/01-Alabo.Tool.Payment/WeiXinMp/Clients/IWeixinMpClient.cs | tongxin3267/alabo | 0 | 7043660 | <filename>src/06.tool/01-Alabo.Tool.Payment/WeiXinMp/Clients/IWeixinMpClient.cs
using Alabo.Dependency;
using Senparc.Weixin.MP.Entities;
namespace Alabo.Tool.Payment.WeiXinMp.Clients
{
/// <summary>
/// 微信公众号相关接口
/// </summary>
public interface IWeixinMpClient : IScopeDependency
{
///... |
nn/hid/TouchScreenState6.cs | SinsofSloth/RF5-global-metadata | 1 | 7043661 | public struct TouchScreenState6 // TypeDefIndex: 11606
{
// Fields
public const int TouchCount = 6;
public long samplingNumber; // 0x0
public int count; // 0x8
private int _reserved; // 0xC
public TouchScreenState6.TouchStateArray6 touches; // 0x10
// Methods
// RVA: 0x388E80 Offset: 0x388F81 VA: 0x388E80
pu... |
src/s32.Sceh.WinApp/BBCodeWriters/DateWriter.cs | Sinus32/sceh | 0 | 7043662 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using s32.Sceh.DataModel;
using s32.Sceh.UserNoteTags;
namespace s32.Sceh.WinApp.BBCodeWriters
{
public class DateWriter : IBBCodeWriter
{
public virtual b... |
src/Color-Chan.Discord.Core/Common/API/DataModels/Embed/DiscordEmbedImageData.cs | Color-Chan/Color-Chan.Discord | 28 | 7043663 | <reponame>Color-Chan/Color-Chan.Discord
using System.Text.Json.Serialization;
namespace Color_Chan.Discord.Core.Common.API.DataModels.Embed
{
/// <summary>
/// Represents a discord Embed Image Structure API model.
/// https://discord.com/developers/docs/resources/channel#embed-object-embed-image-s... |
SignalGo.Client/IO/TimeoutWebClient.cs | SignalGo/SignalGo-full-net | 56 | 7043664 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace SignalGo.Client.IO
{
public class TimeoutWebClient : WebClient
{
TimeSpan _timeout;
public TimeoutWebClient(TimeSpan? timeOut)
{
if... |
Video-ReEncode/Utils/ProcessHelper.cs | benjstern/Video-ReEncoder | 0 | 7043665 | <filename>Video-ReEncode/Utils/ProcessHelper.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReEncode.Utils
{
class ProcessCompleteResult
{
public string Response { get; set; } = "";
... |
PBClient/Services/ClientClaimService.cs | PaulBraetz/PBAppRepository | 0 | 7043666 | <gh_stars>0
using PBApplication.Context.Abstractions;
using PBApplication.Requests.Abstractions;
using PBApplication.Responses;
using PBApplication.Responses.Abstractions;
using PBApplication.Services.Abstractions;
using PBClient.Access;
using PBData.Abstractions;
using System.Threading.Tasks;
namespace PBClient.Serv... |
DotNetNote/DotNetNote/Views/RazorDemo/Demo1.cshtml | IkhyeonJo/DotNetNote | 9 | 7043667 | @{
Layout = null;
}
<h1>레이저 표현식(구문) 학습</h1>
<h2>변수 선언 및 주석</h2>
@{ var sum = 1234; }
@{
var msg = "안녕하세요.";
var file = @"c:\ASP.NET\";
var quote = @"안녕하세요. ""ASP.NET Core"" ";
}
<h2>인라인 표현식</h2>
<p>합계: @sum, 메시지: @msg</p>
<p>경로: @file, @quote</p>
<div>
이메일: <EMAIL>, a@("@")<EMAIL>
</div>
<div>
... |
Assets/Daikon Forge/DataBinding/Scripts/dfSpriteAnimation.cs | takemurakimio/missing-part-1 | 1 | 7043668 | <filename>Assets/Daikon Forge/DataBinding/Scripts/dfSpriteAnimation.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/// <summary>
/// Allows the animation of any component which renders sprites,
/// such as dfSprite, dfTextureSprite, dfButton, dfPanel... |
samples/InternetButtonEvolve2016/EvolveApp/EvolveApp/EvolveApp/Interfaces/IStyledView.cs | michael-watson/particle-xamarin | 11 | 7043669 | <filename>samples/InternetButtonEvolve2016/EvolveApp/EvolveApp/EvolveApp/Interfaces/IStyledView.cs
using System;
using System.Collections.Generic;
using Styles.Core.Text;
namespace Styles.XForms.Core
{
public interface IStyledView
{
string CssStyle { get; set; }
string TextStyleInstance { get; set; }
List<Css... |
src/DotnetSpider.Extraction/Model/IModelExtractor.cs | jeffrey987/DotnetSpider | 1 | 7043670 | <reponame>jeffrey987/DotnetSpider
using System.Collections.Generic;
namespace DotnetSpider.Extraction.Model
{
public interface IModelExtractor
{
/// <summary>
/// 解析成实体对象
/// </summary>
/// <param name="selectable">可查询对象</param>
/// <param name="model">解析模型</param>
/// <returns>实体对象</returns>
IEnumera... |
ThreadingEssential/CAsync/08AsyncAndAwait.cs | iAvinashVarma/ThreadingEssential | 0 | 7043671 | using LearnInfra.Interface;
using System.Net;
using System.Threading.Tasks;
namespace ThreadingEssential.CAsync
{
public class AsyncAndAwait : ILearner
{
public void Practice(string[] args)
{
var url = "http://www.deelay.me/1000/http://www.google.com/";
var downloadData = DownloadAsync(url).GetAwaiter().G... |
Pdc.Serialization/Json/JsonDeserializer.cs | tweakch/Pdc.System | 0 | 7043672 | using Newtonsoft.Json;
using System;
namespace Pdc.Serialization.Json
{
/// <summary>
/// Helper class that deserializes a string to an object of type T using Newtonsoft.JsonConvert
/// </summary>
internal static class JsonDeserializer
{
public static T ToInstance<T>(this string self)
... |
NamR/Naming/WellKnownNamesForTypes.cs | bexxx/NamR | 15 | 7043673 | // <copyright file="WellKnownNamesForTypes.cs" company="Ralf 'bexxx' Beckers">
// Copyright (c) Ralf 'bexxx' Beckers. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace NamR
{
using System.Collections.Generic;
i... |
appx/IoT/raw-samples/DeviceTelemetry/DeviceTelemetry/Program.cs | mdragt/hol-azure-machine-learning | 2 | 7043674 |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Client;
namespace DeviceTelemetrt
{
class Program
{
... |
Website/SourceCode/Profiles/Profiles/Login/Modules/ShibLogin/ShibLogin.ascx.cs | kapelletier/ProfilesRNS-Orchard | 13 | 7043675 | /*
Copyright (c) 2008-2012 by the President and Fellows of Harvard College. All rights reserved.
Profiles Research Networking Software was developed under the supervision of <NAME>, MD, PhD.,
and Harvard Catalyst: The Harvard Clinical and Translational Science Center, with support from the
... |
EliteJournalReader/Events/ShipLockerMaterialsEvent.cs | WarmedxMints/EliteJournalReader | 0 | 7043676 | using System.Collections.Generic;
namespace EliteJournalReader.Events
{
public class ShipLockerMaterialsEvent : JournalEvent<ShipLockerMaterialsEvent.ShipLockerMaterialsEventArgs>
{
public ShipLockerMaterialsEvent() : base("ShipLockerMaterials") { }
public class ShipLockerMaterialsEventArgs : ... |
Source/Pendulum/Assets/Scripts/Props/Chests/OpenChestBehaviour.cs | Belz/jam-pendulum | 3 | 7043677 | <filename>Source/Pendulum/Assets/Scripts/Props/Chests/OpenChestBehaviour.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OpenChestBehaviour : StateMachineBehaviour
{
private ChestScript chestScript;
override public void OnStateEnter(Animator animator, AnimatorSt... |
Microsoft.WindowsAPICodePack.ShellExtensions/Resources/LocalizedMessages.Designer.cs | manuth/EnhanceForm | 0 | 7043678 | <reponame>manuth/EnhanceForm<filename>Microsoft.WindowsAPICodePack.ShellExtensions/Resources/LocalizedMessages.Designer.cs<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.303... |
src/NExpect.Tests/Collections/SetTesting.cs | fluffynuts/NExpect | 20 | 7043679 | using System.Collections.Generic;
using NExpect.Exceptions;
using NUnit.Framework;
using static NExpect.Expectations;
namespace NExpect.Tests.Collections
{
[TestFixture]
public class SetTesting
{
[Test]
public void ShouldBeAbleToAssertHashSetIsEmpty()
{
// Arrange
... |
src/Framework/Schubert.Framework/_Infrastructure/Helpers/DictionaryHelper.cs | endink/Schubert | 13 | 7043680 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Reflection;
using System.Reflection.Emit;
using System.Linq;
using System.Threading;
namespace Schubert.Helpers
{
public static class DictionaryHelper
{
public static Func<object, IDictio... |
Src/Lode.Web/Strandard/Extensions/ControllerExtensions.cs | Tuisku-L/Lode.WebApi | 1 | 7043681 | <gh_stars>1-10
/*
* Copyright 2018 iKoskiX.Lab
* 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... |
AmbilWarnaLib/AmbilWarnaSquare.cs | rofiqsetiawan/AmbilWarna | 1 | 7043682 | // Created by yukuku
// Ported to Xamarin.Android by <NAME> (<EMAIL>)
using Android.Content;
using Android.Graphics;
using Android.Util;
using Android.Views;
namespace Yuku.AmbilWarna
{
public class AmbilWarnaSquare : View
{
private Paint _paint;
private Shader _luar;
private readonly float[] _color... |
Unity/Assets/Scripts/Client/Logic/Kitchen/Unit/Player/PlayerController.cs | Noname-Studio/ET | 0 | 7043683 | using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using Pathfinding;
using UnityEngine;
namespace Kitchen
{
public class PlayerController: IUnit
{
public List<ABuff> Buff { get; } = new List<ABuff>();
public enum MovingState
{
Moving, //正在移动中
InDe... |
Assets/GameLogic/Utilities/Listeners.cs | Sporego/SpaceColumbus | 0 | 7043685 | <filename>Assets/GameLogic/Utilities/Listeners.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Utilities.Events
{
public abstract class GameEvent { }
public interface IEventListener<T>
{
void Notify(T gameEvent);
}
public abstract class EventGe... |
src/Gripper.ChromeDevTools/Network/WebSocketHandshakeResponseReceivedEvent.cs | tomaskrupka/WebScrapingServices | 0 | 7043686 | namespace Gripper.ChromeDevTools.Network
{
using Newtonsoft.Json;
/// <summary>
/// Fired when WebSocket handshake response becomes available.
/// </summary>
public sealed class WebSocketHandshakeResponseReceivedEvent : IEvent
{
/// <summary>
/// Request identifier.
/// ... |
Assets/MeshController.cs | alysonjing/Gaze-Collaboration-1.0-with-MagicLeap | 0 | 7043687 | using MagicLeapTools;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeshController : MonoBehaviour
{
public ControlInput controlLocator;
private void Awake()
{
//hooks:
controlLocator.OnTriggerDown.AddListener(HandleTriggerDown);
}
... |
Assets/Scripts/VideoIntro.cs | FelipeIzq28/Polysoul-V04 | 0 | 7043688 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
using UnityEngine.SceneManagement;
public class VideoIntro : MonoBehaviour
{
// Start is called before the first frame update
public VideoPlayer video;
[SerializeField] GameManager gm;
... |
src/Grillbot/Migrations/20210502204642_RemoveUnverifyStats.cs | Misha12/GrillBot | 7 | 7043689 | using Microsoft.EntityFrameworkCore.Migrations;
namespace Grillbot.Migrations
{
public partial class RemoveUnverifyStats : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("DELETE FROM [MethodPerms] WHERE [MethodID]=(SELECT ID FROM [Me... |
Source/EventFlow/Sagas/AggregateSagas/SagaAggregateStore.cs | pawelsie/EventFlow | 0 | 7043690 | <reponame>pawelsie/EventFlow
// The MIT License (MIT)
//
// Copyright (c) 2015-2021 <NAME>
// Copyright (c) 2015-2021 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation f... |
Assets/Scripts/Managers/ScreenTransition.cs | ufu-games/freshmans-quest | 1 | 7043691 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScreenTransition : MonoBehaviour, IInteractable, INonHarmfulInteraction {
private LevelTransition level;
[HideInInspector]
public bool Enabled = false;
[HideInInspector]
public List<GameObject> m_resettables;
private b... |
test/UnitTest/Components/LightTest.cs | tchivs/BootstrapBlazor | 1 | 7043692 | // Copyright (c) <NAME> (<EMAIL>). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using BootstrapBlazor.Components;
using UnitTest.Core;
using Xunit;
namespace Uni... |
Libraries/Slf/Ast/Ast/Members/IntermediateIndexerSignatureMemberDictionary.cs | AlexanderMorou/AbstractionProject | 0 | 7043693 | using System;
using System.Collections.Generic;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
/*---------------------------------------------------------------------\
| Copyright © 2008-2016 <NAME>. [<NAME>] Copeland Jr. |
|-----... |
Hwavmvid.Blackjack/BlackjackCardDeck.cs | boredgirl/hwavmvid | 0 | 7043694 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hwavmvid.Blackjack
{
public class BlackjackCardDeck
{
public List<BlackjackCard> Cards = new List<BlackjackCard>();
public string ImageUrl { get; set; } = ... |
C# OOP/03.Interfaces and Abstraction/Interfaces and Abstraction Exercises/004.BorderControl/Model/Robot.cs | Anzzhhela98/SoftUniCourses | 7 | 7043695 | using System;
using System.Collections.Generic;
using System.Text;
namespace _004.BorderControl
{
public class Robot : IIDValidatorable
{
public Robot(string model, string iD)
{
this. Model = model;
this. ID = iD;
}
public string Model { get; private set;... |
HackLinks Server/Session.cs | oxygencraft/Hacklinks | 2 | 7043696 | <filename>HackLinks Server/Session.cs
using HackLinks_Server.Computers;
using HackLinks_Server.Computers.Permissions;
using HackLinks_Server.Computers.Processes;
using HackLinks_Server.Daemons;
using HackLinks_Server.Files;
using System;
using System.Collections.Generic;
using System.Linq;
using static HackLinks_Serve... |
Assets/Scripts/UI/HUD/MonitorHUD.cs | NormandErwan/MasterThesisExperiment | 1 | 7043697 | <reponame>NormandErwan/MasterThesisExperiment<gh_stars>1-10
using NormandErwan.MasterThesis.Experiment.Experiment.States;
using NormandErwan.MasterThesis.Experiment.Experiment.Variables;
using System;
using UnityEngine;
using UnityEngine.UI;
namespace NormandErwan.MasterThesis.Experiment.UI.HUD
{
public class Monit... |
scripts/Bullet.cs | Srynetix/sc-space-shooter-3d | 0 | 7043698 | using Godot;
public class Bullet : Area {
private bool active = false;
private Vector3 velocity;
private Vector3 angularVelocity;
private Vector3 direction;
private float speed = 40.0f;
private float angularSpeed = 300.0f;
private bool collided = false;
#region Lifecycle methods
... |
NRuler/Rete/Test-At-Join-Node.cs | foamliu/NRuler | 0 | 7043699 | <reponame>foamliu/NRuler
using System;
using System.Collections.Generic;
namespace NRuler.Rete
{
/// <summary>
/// specifies the locations of the two fields whose values must be
/// equal in order for some variable to be bound consistently.
/// </summary>
public class Test_At_Join_No... |
internetfacex/Form1.Designer.cs | korykim/internetface | 0 | 7043700 | <filename>internetfacex/Form1.Designer.cs<gh_stars>0
namespace internetfacex
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
... |
Common/Message/Data/Lock/LockAcquireMsgData.cs | Sladernimo/LunaMultiplayer | 0 | 7043701 | using Lidgren.Network;
using LunaCommon.Locks;
using LunaCommon.Message.Types;
namespace LunaCommon.Message.Data.Lock
{
public class LockAcquireMsgData : LockBaseMsgData
{
/// <inheritdoc />
internal LockAcquireMsgData() { }
public override LockMessageType LockMessageType => LockMessag... |
InstallerV2/InstallerV2/eula.xaml.cs | Da4ndo/EasyInstaller | 1 | 7043702 | 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;
using System.Windows.Media.Imaging;... |
NET.Tools/Extensions/StringFormatType.cs | CHiiLD/net-toolkit | 1 | 7043703 | <reponame>CHiiLD/net-toolkit
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NET.Tools
{
/// <summary>
/// Format type for formatting of integers
/// </summary>
public enum IntegerStringFormatType
{
/// <summary>
/// To H... |
Server/TCGSampleServer/Service/TCGGameService/Network/Http/HttpManager.cs | line/blockchain-sample-mage-duel | 7 | 7043704 | /*
* Copyright 2020 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
Sources/Ditch.Ethereum/Models/HexTransactionState.cs | abitmore/Ditch | 33 | 7043705 | using System;
using Ditch.Core.Converters;
using Newtonsoft.Json;
namespace Ditch.Ethereum.Models
{
[JsonConverter(typeof(CustomJsonConverter))]
public class HexTransactionStatus : HexValue
{
private const int MinCount = 0;
private const int MaxCount = 1;
private const bool IsTrimZ... |
Senai.OpFlix.WebApi/Senai.OpFlix.WebApi/Interfaces/ICategoriaRepository.cs | lukkanog/2s2019-t2-sprint-2-opflix | 0 | 7043706 | <reponame>lukkanog/2s2019-t2-sprint-2-opflix
using Senai.OpFlix.WebApi.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.OpFlix.WebApi.Interfaces
{
interface ICategoriaRepository
{
/// <summary>
/// Lista todas as categori... |
AI/AI_Tank.cs | hydrix9/Saturn-Fable-Online | 0 | 7043707 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AI_Tank : AI_CombatBehaviour
{
public static readonly SpellBehaviour shotgunAttack = new SpellBehaviour<S_MobCrippleShotgun>(ShotgunAttack, CanShotgunAttack, 5);
public static readonly SpellBehaviour yoinkAtta... |
src/ImageSharp/Advanced/IRowOperation.cs | fahadabdulaziz/ImageSharp | 0 | 7043708 | <gh_stars>0
// Copyright (c) <NAME> and contributors.
// Licensed under the GNU Affero General Public License, Version 3.
namespace SixLabors.ImageSharp.Advanced
{
/// <summary>
/// Defines the contract for an action that operates on a row.
/// </summary>
public interface IRowOperation
{
//... |
src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.SGI/Enums/SGI.gen.cs | qhdwight/silk-net | 1,142 | 7043709 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.OpenGL.Legacy.Extensions.SGI
{
[NativeName("Name", "GLenum")]
public enum SGI... |
Container/Patterns/Parameters/Implementation/Injection.cs | unitycontainer/regression-resolution-tests | 0 | 7043710 | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
#if UNITY_V4
using Microsoft.Practices.Unity;
#else
using Unity;
#endif
namespace Parameters
{
[TestClass]
public partial class Injecting : Parameters.Pattern
{
#region Scaffolding
[TestInitialize]
public override vo... |
jyx2/Assets/3rd/GPUInstancer/Scripts/Core/DataModel/GPUInstancerTerrainSettings.cs | junfengmeng/jynew | 2 | 7043711 | <reponame>junfengmeng/jynew
using System.Collections.Generic;
using UnityEngine;
namespace GPUInstancer
{
public class GPUInstancerTerrainSettings : ScriptableObject
{
public string terrainDataGUID;
public float maxDetailDistance = 500F;
[Range(0f, 2500f)]
public float maxTreeD... |
Lemma/GeeUI/Resource1.Designer.cs | MSylvia/Lemma | 313 | 7043712 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
Commons.Music.Midi.CoreMidiShared/CoreMidiAccess.cs | sightreader/managed-midi | 0 | 7043713 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using CoreMidi;
using MIDI = CoreMidi.Midi;
#if !__IOS__ && !__MACOS__
using nint = System.Int64;
#endif
#if __IOS__ || __MACOS__
namespace Commons.Music.Midi
{
public p... |
src/Domain/Enums/RentDuration.cs | juanguerra97/rentasgt | 0 | 7043714 | <gh_stars>0
namespace rentasgt.Domain.Enums
{
/// <summary>
/// Durations a product can be given in rent
/// </summary>
public enum RentDuration
{
Day,
Week,
Month
}
}
|
Tesserae/src/Base/UI.Theme.cs | curiosity-ai/tesserae | 17 | 7043715 | <reponame>curiosity-ai/tesserae<gh_stars>10-100
using System.Text;
using static H5.Core.dom;
namespace Tesserae
{
public static partial class UI
{
public static class Theme
{
private static HTMLStyleElement _primaryStyleElement;
public static void Dark()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.