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 |
|---|---|---|---|---|
CountMonster/Constants.cs | jsedlak/count-monster | 0 | 7035081 | using CountMonster.Model;
namespace CountMonster
{
public class Constants
{
/// <summary>
/// The current version of the app
/// </summary>
public const int AppVersion = 2;
public static class Buttons
{
public const string Primary = "bg-brand text-w... |
BitFaster.Caching.UnitTests/Lru/ConcurrentLruTests.cs | plexcake/Lightweight.Caching | 0 | 7035082 | <filename>BitFaster.Caching.UnitTests/Lru/ConcurrentLruTests.cs
using FluentAssertions;
using BitFaster.Caching.Lru;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using System.Collections;
namespace BitFaster.... |
Items/Stickgun.cs | atenfyr/abigstick | 0 | 7035083 | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace ABigStick.Items {
// Backwards compatibility stickgun
public class Stickgun : ModItem {
public override void SetStaticDefaults() {
DisplayName.SetDefault("IOU a Clockwork Stickgun");
Tooltip.SetDefault("<righ... |
Creational Patterns/Abstract Factory/Application.cs | saimib/oops-design-patterns | 1 | 7035084 | using design_patterns.Abstract_Factory.Controls;
using design_patterns.Abstract_Factory.Factories;
namespace design_patterns.Abstract_Factory
{
class Application {
private IGUIFactory _factory;
private Button _button;
private Checkbox _checkbox;
public Application(IGUIFactory factory)
... |
Defining Classes/Opinion Poll/Program.cs | ivajlotokiew/CSharp_OOP_Basics | 0 | 7035085 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _03.Problem
{
public class Person
{
public string Name { get; set; }
public int Age { get; set; }
}
public class Program
{
public static void Main()
{
int n = int.Parse(Consol... |
src/Snarfz.UnitTests/Core/ScannerTest.cs | asipe/snarfz | 0 | 7035086 | <reponame>asipe/snarfz<filename>src/Snarfz.UnitTests/Core/ScannerTest.cs<gh_stars>0
// Copyright (c) <NAME>. All rights reserved. Licensed under the MIT License (MIT). See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
u... |
source/Features/AutoFix/LegUpgradeHandler.cs | adammartinez271828/MechEngineer | 0 | 7035087 | <reponame>adammartinez271828/MechEngineer<filename>source/Features/AutoFix/LegUpgradeHandler.cs
using System;
using System.Collections.Generic;
using BattleTech;
using BattleTech.UI;
using CustomComponents;
namespace MechEngineer
{
// this isn't yet leg actuators, but we still did reduce the legs size
interna... |
T3/Gui/ChildUi/CounterUi.cs | still-scene/t3 | 23 | 7035088 | using ImGuiNET;
using T3.Core.Operator;
using T3.Gui.ChildUi.Animators;
using T3.Operators.Types.Id_11882635_4757_4cac_a024_70bb4e8b504c;
using UiHelpers;
namespace T3.Gui.ChildUi
{
public static class CounterUi
{
public static SymbolChildUi.CustomUiResult DrawChildUi(Instance instance, ImDrawListPtr ... |
src/App/ViewModels/Elements/ViewModelExtensions.cs | psulek/lhqeditor | 1 | 7035089 | #region License
// Copyright (c) 2021 <NAME> / ScaleHQ Solutions s.r.o.
//
// 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
// restriction, including without limitation the rights... |
UOP1_Project/Assets/Scripts/EditorTools/Editor/SceneSelector/SceneSelector.ColorSelectorWindow.cs | samisuleman10/open-project-1 | 5,145 | 7035090 | using UnityEditor;
using UnityEngine;
using SceneSelectorInternal;
public partial class SceneSelector : EditorWindow
{
private class ColorSelectorWindow : EditorWindow
{
private static readonly float kCellSize = PreferencesWindow.kColorMarkerFieldSize * 2.0f;
private static readonly Color kCellBackColor = new C... |
SimpleSongInfo/Main.cs | joerkig/OhShape-SimpleSongInfo | 0 | 7035091 | using MelonLoader;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace SimpleSongInfo
{
public static class BuildInfo
{
public const string Name = "Simple Song Info"; ... |
sources/engine/Stride.Input/KeyboardDeviceExtensions.cs | profan/stride | 3 | 7035092 | <filename>sources/engine/Stride.Input/KeyboardDeviceExtensions.cs
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
namespace Stride.Input
{
p... |
Bonsai.Dsp/ConvertToSeq.cs | medengineer/Bonsai_3.0 | 0 | 7035093 | using OpenCV.Net;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bonsai.Dsp
{
[Combinator]
[WorkflowElementCategory(ElementCategory.T... |
eacore/IO/EaObject.cs | vzoran/eatogliffy | 0 | 7035094 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace eacore.io
{
/// <summary>
/// Model class to describe an item in diagram tree
/// </summary>
public class EaObject
{
public string Id { get; set; }
public string Name { get; set; }
... |
Assets/Scripts/ScriptedEvents/Tutorial/TutorialAmbushEvent.cs | WeomuCat/Truck | 5 | 7035095 | <reponame>WeomuCat/Truck
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialAmbushEvent : ScriptedEvent
{
public override void Trigger()
{
TutorialOverlayManager.Instance.ActivateAmbushTutorial();
}
}
|
CRMWebApi/Controllers/PasswordController.cs | 963838470/simple-crm | 3 | 7035096 | using Common;
using CRMWebApi.Models;
using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
namespace CRMWebApi.Controllers
{
public class PasswordController : ApiController
... |
Assets/Examples/Common/Script/AutoHighlight.cs | Faceunity/FULiveUnityPC | 5 | 7035097 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class AutoHighlight : MonoBehaviour {
public Toggle tg;
public Graphic[] offs;
public GameObject on;
public Color normalcolor;
public Color highlightcolor;
private void Awake()
{
if (tg && on)
{
... |
Web/BeautySalon.Web/Views/Shared/Components/RecentArticlesSideBar/Default.cshtml | ChristinaNikolova/BeautySalon | 3 | 7035098 | @using BeautySalon.Web.ViewModels.Articles.ViewModels;
@model AllRecentArticlesViewModel;
<div class="col-lg-4 sidebar ftco-animate">
<div class="sidebar-box ftco-animate">
<h3 class="heading-2">Recent Articles</h3>
@foreach (var article in Model.RecentArticles)
{
<div class="b... |
GW2EIBuilders/HtmlModels/HtmlStats/DamageModData.cs | Krappa322/GW2-Elite-Insights-Parser | 0 | 7035099 | <gh_stars>0
using System.Collections.Generic;
using GW2EIEvtcParser;
using GW2EIEvtcParser.EIData;
namespace GW2EIBuilders.HtmlModels
{
internal class DamageModData
{
public List<object[]> Data { get; } = new List<object[]>();
public List<List<object[]>> DataTarget { get; } = new List<List<obj... |
NeuSim.Eval/Evaluator.cs | pwasiewicz/neusim | 2 | 7035100 | namespace NeuSim.Eval
{
using Jint;
using Jint.Native;
using NCalc;
using System;
public static class Evaluator
{
public static Func<double, double> ToDelegate(string mathExpression)
{
Expression.CacheEnabled = true;
var expressionPreparsed = new Expres... |
KPK/High Quality Classes/Abstraction and Encapsulation/FigureExample.cs | sguzunov/Telerik-Academy-2015-2016 | 0 | 7035102 | <gh_stars>0
namespace Abstraction
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class FigureExample
{
static void Main()
{
Circle circle = new Circle(5);
Console.WriteLine... |
MetadataExtractor/Formats/Jpeg/JpegDescriptor.cs | CHDKUtil/metadata-extractor-dotnet | 0 | 7035103 | #region License
//
// Copyright 2002-2019 <NAME>
// Ported from Java to C# by <NAME> for Imazen LLC in 2014
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://ww... |
MessagePack.H5/Attributes/KeyAttribute.cs | ProductiveRage/MsgPack5.H5 | 1 | 7035104 | <reponame>ProductiveRage/MsgPack5.H5
using System;
namespace MessagePack
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class KeyAttribute : Attribute
{
public KeyAttribute(uint key)
{
Key = key;
... |
bridge/OpenEngSB3.0.0/Remote/RemoteObjects/MethodResultMessage.cs | openengsb/loom-csharp | 0 | 7035105 | <gh_stars>0
#region Copyright
// <copyright file="MethodResultMessage.cs" company="OpenEngSB">
// Licensed to the Austrian Association for Software Tool Integration (AASTI)
// under one or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information regarding copyri... |
SistemaVendas/Modelo/Model_Produto.cs | lucasestevan/SistemaVendasC- | 0 | 7035106 | using System;
namespace Modelo
{
public class Model_Produto
{
private int idProduto;
private string nome;
private string descricao;
private double preco;
private double quantidade;
private int idCategoria;
private int idFornecedor;
private strin... |
3-Business/3-Modules/lm.Comol.Core.BaseModules/Tickets/Domain/DTO/DTO_SysCategoryInfo.cs | EdutechSRL/Adevico | 1 | 7035107 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Core.BaseModules.Tickets.Domain.DTO
{
[Serializable, CLSCompliant(true)]
public class DTO_SysCategoryInfo
{
public DTO_SysCategoryInfo()
{
Public = 0;
Ticket = 0... |
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoft.Writer.Dom/DetectResultForValueBindingModified.cs | hdefucom/HDF | 1 | 7035108 | <gh_stars>1-10
using DCSoft.Common;
using DCSoft.Writer.Data;
using Microsoft.VisualBasic;
using System;
using System.Runtime.InteropServices;
namespace DCSoft.Writer.Dom
{
/// <summary>
/// 检测数据源绑定导致的内容发送改变的结果信息
/// </summary>
[ComDefaultInterface(typeof(IDetectResultForValueBindingModified))]
[DCPub... |
AlipaySDKNet/Domain/CateringMerchantInfo.cs | alipay/alipay-sdk-net | 117 | 7035109 | <reponame>alipay/alipay-sdk-net
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// CateringMerchantInfo Data Structure.
/// </summary>
[Serializable]
public class CateringMerchantInfo : AopObject
{
/// <summary>
/// 品牌名称
... |
FRNGerenciador/FRNGerenciador.domain/Models/HorasExtras.cs | ferjesusjs8/AccManager | 0 | 7035110 | using System;
using System.ComponentModel.DataAnnotations;
namespace FRNGerenciador.domain.Models
{
public class HorasExtras
{
[Key]
public int Id { get; set; }
public int QuantidadePercentual20 { get; set; }
public int QuantidadePercentual50 { get; set; }
public int Qu... |
OurOwnNuSpec.cs | CBenghi/NuSpecHelper | 1 | 7035111 | <reponame>CBenghi/NuSpecHelper
using NuGet;
using NuGet.Versioning;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Media;
namespace NuSpecHelper
{
internal class OurOwnNuSpec
{
int... |
Materia/Material/Material.cs | 0xflotus/Materia | 1 | 7035112 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Materia.Shaders;
using System.IO;
namespace Materia.Material
{
public abstract class Material
{
protected static Dictionary<string, GLShaderProgram> Shaders = new Di... |
Databases/Exam/Company/DataGenerator/DataGenerators/EmployeeProjectDataGenerator.cs | iliantrifonov/TelerikAcademy | 0 | 7035113 | namespace DataGenerator.DataGenerators
{
using System;
using System.Collections.Generic;
using System.Linq;
using Model;
public class EmployeeProjectDataGenerator : DataGenerator
{
public EmployeeProjectDataGenerator(CompanyDbContext context, int avarage)
: base(context, a... |
WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Ecommerce/ServiceController.cs | mkramer74/WebSitePanel | 0 | 7035114 | <filename>WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Ecommerce/ServiceController.cs
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are me... |
Supplementary Projects/Code Generation/Statements/ReturnStatement.cs | AlexanderMorou/AbstractionProject | 0 | 7035115 | using System;
using System.Collections.Generic;
using System.Text;
using AllenCopeland.Abstraction.OldCodeGen.Expression;
using System.CodeDom;
using AllenCopeland.Abstraction.OldCodeGen.Types;
using AllenCopeland.Abstraction.OldCodeGen.Translation;
namespace AllenCopeland.Abstraction.OldCodeGen.Statements
{
... |
EFCore.CommonTools/Concurrency/ConcurrentEntities.cs | nazimkov/EntityFramework.CommonTools | 94 | 7035116 | #if EF_CORE
namespace EntityFrameworkCore.CommonTools
#elif EF_6
namespace EntityFramework.CommonTools
#endif
{
/// <summary>
/// An entity can implement this interface if it should use Optimistic Concurrency Check
/// with populating <see cref="RowVersion"/> from client-side. Allowed types:
/// <para ... |
PSGenerator/PublicationAttributeGenerator.cs | ionlam/EBS2018-PSGenerator | 0 | 7035117 | namespace PSGenerator
{
public class PublicationAttributeGenerator
{
PublicationField Field { get; }
RandomValue RandomValue { get; }
public PublicationAttributeGenerator(PublicationField field, int randomCount)
{
Field = field;
RandomValue = field.GetRandomValue(random... |
DelphiForVisualStudio/VisualStudio.Delphi.Tasks/DelphiComplerTool.cs | JackTrapper/Delphi-for-Visual-Studio | 1 | 7035118 | <gh_stars>1-10
/* This file is part of "Delphi For Visual Studio" project
* http://www.codeplex.com/Delphi4VisualStudio
* Copyright (c) 2006 <NAME>. All rights reserved.
* Created 2007/04/20 by <NAME> (Web: http://www.Jeremie.ca )
*
* LICENSE: LGPL
*
* This library is free software; you can redistribute it and... |
src/Hermes.MessageQueue.Service/Hosting/IHermesHost.cs | RomanEmreis/HermesMQ | 0 | 7035119 | using Hermes.Abstractions;
using System.Threading.Tasks;
namespace Hermes.MessageQueue.Service.Hosting {
public delegate void ClientConnected(IConnection hermesConnection);
public interface IHermesHost {
event ClientConnected ClientConnected;
bool IsHosted { get; }
Task StartListenA... |
test/Observable.Tests/TestReadMe.cs | skclusive/Skclusive.Reactivity.Observable | 18 | 7035121 | using System.Collections.Generic;
using Xunit;
namespace Skclusive.Mobx.Observable.Tests
{
public class TestReadMe
{
[Fact]
public void TestCounter()
{
var counter = new Counter();
var counts = new List<int>();
Reactions.Autorun(() =>
{... |
C# Fundamentals II/Homework Assignments/3. Methods/14. StatisticalMethods/StatisticalMethods.cs | vic-alexiev/TelerikAcademy | 4 | 7035122 | using System;
public class StatisticalMethods
{
public static int Min(params int[] args)
{
if (args == null || args.Length == 0)
{
throw new ArgumentException("Parameters list cannot be empty.");
}
int min = Int32.MaxValue;
foreach (int arg in args)
... |
Nerula.Test/Cache2ndLevel.cs | jahav/Nerula | 0 | 7035123 | using System.Linq;
using NHibernate.Linq;
using NHibernate.Cfg;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nerula.Data;
using System.Collections.Generic;
using log4net;
using log4net.Appender;
using System.Text.RegularExpressions;
namespace Nerula.Test
{
/// <summary>
/// Test evicion from 2nd ... |
Yus/Extensions/ReflectionExtension.cs | SakuraYuki/Yus | 2 | 7035124 | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
namespace System
{
/// <summary>反射相关扩展</summary>
public static class ReflectionExtension
{
#region Assembly
private static ConcurrentDictionary<s... |
dp2SSL/Models/EntityReplication.cs | DigitalPlatform/dp2 | 95 | 7035125 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.Data.Sqlite;
using static dp2SSL.Models.PatronReplication;
using DigitalPlatform;
using DigitalPlatform.Text;
using ... |
PathFinder.UnitTests/Fixtures/TestGraph.cs | mrkmg/PathFinder | 2 | 7035126 | #nullable enable
using System;
using System.Collections.Generic;
using PathFinder.Graphs;
namespace PathFinder.UnitTests.Fixtures
{
public class TestGraph
{
private readonly int[][] _world =
{
new[] {1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
new[] {1, 1, 1, 1, 0, 1, 2, 2, 1, 1... |
src/Fabricdot.Infrastructure.Core/Domain/Events/IDomainEventsDispatcher.cs | Winches/Fabricdot.Core | 8 | 7035127 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Fabricdot.Domain.Core.Auditing;
namespace Fabricdot.Infrastructure.Core.Domain.Events
{
public interface IDomainEventsDispatcher
{
/// <summary>
/// Dispatch domain events from changes.
//... |
Assets/Source/UI/Ingame Editor/Tools/SelectableOption.cs | Vitorr32/ruler | 0 | 7035128 | using UnityEngine;
using UnityEngine.UI;
public abstract class SelectableOption<T> : MonoBehaviour where T : class
{
public delegate void OnClick(T selected);
public static event OnClick OnSelecttableClicked;
protected T associatedSelection;
protected Image background;
public abstract void Initi... |
Client/Milvaneth.Common/Config/GlobalConfig.cs | ShadyWhite/Milvaneth | 3 | 7035129 | <reponame>ShadyWhite/Milvaneth
using MessagePack;
namespace Milvaneth.Common
{
[MessagePackObject]
public class GlobalConfig
{
[Key(0)]
public int GameVersion;
[IgnoreMember]
public int MilVersion = MilvanethVersion.VersionNumber;
[Key(2)]
public int DataVer... |
src/Records/Pihrtsoft.Records/PropertyDefinitionCollection.cs | JosefPihrt/Snippetica | 124 | 7035130 | <reponame>JosefPihrt/Snippetica
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Pihrtsoft.Records
{
public class PropertyDefinitionCollection : ReadOnlyKeyedColle... |
src/SFA.DAS.Data.Worker.UnitTests/Events/EventHandlerTests/ApprenticeshipEventHandlerTests/WhenAnApprenticeshipEventIsHandled.cs | SkillsFundingAgency/das-data | 2 | 7035131 | using System.Threading.Tasks;
using MediatR;
using Moq;
using NUnit.Framework;
using SFA.DAS.Data.Application.Commands.CreateCommitmentApprenticeshipEntry;
using SFA.DAS.Data.Application.Configuration;
using SFA.DAS.Data.Application.Interfaces.Repositories;
using SFA.DAS.Data.Worker.Events.EventHandlers;
using SFA.DAS... |
tests/FL.Data.Operations.NHibernateTests/SQLiteInMemorySessionProvider.cs | alwaqfi/Data-Operations | 0 | 7035132 | using FL.Data.Operations.TestsData;
using FL.Data.Operations.TestsData.Data;
using FluentNHibernate;
using FluentNHibernate.Automapping;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using System;
using System.Collections.Generic;
usin... |
src/FlexiBlocks/Extensions/FlexiCardsBlocks/IFlexiCardsBlocksExtensionOptions.cs | JeremyTCD/Markdig.Extensions | 3 | 7035133 | namespace Jering.Markdig.Extensions.FlexiBlocks.FlexiCardsBlocks
{
/// <summary>
/// An abstraction for <see cref="FlexiCardsBlocksExtension"/> options.
/// </summary>
public interface IFlexiCardsBlocksExtensionOptions : IExtensionOptions<IFlexiCardsBlockOptions>
{
}
}
|
aspnet-core/modules/task-management/LINGYUN.Abp.TaskManagement.Application.Contracts/LINGYUN/Abp/TaskManagement/Permissions/TaskManagementPermissionDefinitionProvider.cs | ngxuansang/abp-next-admin | 0 | 7035134 | using LINGYUN.Abp.TaskManagement.Localization;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Localization;
namespace LINGYUN.Abp.TaskManagement.Permissions;
public class TaskManagementPermissionDefinitionProvider : PermissionDefinitionProvider
{
public override void Define(IPermissionDefinitio... |
Drawing/HexColor.cs | BryanApellanes/Bam.Net.Presentation | 0 | 7035135 | <gh_stars>0
/*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Bam.Net;
//using dotless.Core;
namespace Bam.Net.Presentation.Drawing
{
[Serializable]
public class HexColor
{
public HexColor()
{
... |
src/Stott.Optimizely.RobotsHandler/Presentation/RobotsEditViewModelBuilder.cs | GeekInTheNorth/Stott.Optimizely.RobotsHandler | 0 | 7035137 | using System;
using EPiServer.Web;
using Stott.Optimizely.RobotsHandler.Exceptions;
using Stott.Optimizely.RobotsHandler.Presentation.ViewModels;
using Stott.Optimizely.RobotsHandler.Services;
namespace Stott.Optimizely.RobotsHandler.Presentation
{
public class RobotsEditViewModelBuilder : IRobotsEditViewModelB... |
port/Assimp.NET/Assimp.NET_CS/aiDefaultLogStream.cs | tseval/assimp | 13 | 7035138 | <reponame>tseval/assimp
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.8
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ... |
src/Atc/Extensions/BaseTypes/DoubleExtensions.cs | atc-net/atc-common | 0 | 7035139 | <reponame>atc-net/atc-common
// ReSharper disable once CheckNamespace
namespace System;
/// <summary>
/// Extensions for the <see cref="double"/> class.
/// </summary>
public static class DoubleExtensions
{
/// <summary>
/// The double epsilon.
/// </summary>
public const double DoubleEpsilon = 2.22044... |
Rafy/Rafy/ManagedProperty/Serialization/Mobile/ISerializationNotification.cs | zgynhqf/trunk | 0 | 7035140 | using System;
namespace Rafy.Serialization.Mobile
{
/// <summary>
/// Interface defining callback methods used
/// by the MobileFormatter.
/// </summary>
public interface ISerializationNotification
{
/// <summary>
/// Method called on an object after deserialization
///... |
Assets/PlayerController.cs | paulosalvatore/Platform_2D_Prototype | 0 | 7035141 | using System;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class PlayerController : MonoBehaviour
{
public Rigidbody2D rb;
public float speed = 3f;
public float jumpForce = 200f;
private bool _isGrounded;
private bool _doubleJumpAvailable;
public Vector2... |
osu.Game/Online/API/IOnlineComponent.cs | br-Zhang/osu | 1 | 7035142 | <reponame>br-Zhang/osu<gh_stars>1-10
// Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Online.API
{
public interface IOnlineComponent
{
void APIStateChanged(APIAccess api, APIState st... |
DaedalusGameProtocol/DaedalusGameProtocol/Interfaces/IGameClient.cs | LordCrosis/daedalus-game-manager | 1 | 7035143 | /* $Id$
*
* Description: This is the interface games used to hook in to the Daedalus GUI
* Client.
*
* Copyright (c) 2010-2011, Team Daedalus (<NAME>, <NAME>, <NAME>, and
* <NAME>).
*
* Distributed under the BSD-new license. For details see the BSD_LICENSE file
* that should have been included with t... |
Assets/Scripts/MagicValues.cs | SalonDesDevs/CanyonThing3D | 1 | 7035144 | namespace DefaultNamespace
{
public class MagicValues
{
public static readonly uint MaxEnergy = 10;
public static readonly uint MaxSecond = 10;
public static readonly uint ObjectiveDist = 5000;
public static readonly uint ShieldCost = 5;
public static readonly uint Rep... |
src/xunit.v1.tests/xunit/Sdk/Commands/ClassCommands/TestClassCommandRunnerTests.cs | exyi/xunit | 3,164 | 7035145 | <filename>src/xunit.v1.tests/xunit/Sdk/Commands/ClassCommands/TestClassCommandRunnerTests.cs
using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Sdk;
namespace Xunit1
{
public class TestClassCommandRunnerTests
{
[Fact]
public void StartCallbackIsCalled()
{
int count = 0;
string passN... |
PaymentGateway.Service/Dom/Card.cs | dev-11/checkout.com-payment-gateway | 0 | 7035146 | namespace PaymentGateway.Service.Dom
{
/// <summary>
/// Debit/credit card object
/// </summary>
public class Card
{
/// <summary>
/// The number of the card
/// </summary>
public string CardNumber { get; set; }
/// <summary>
/// The expiry month of t... |
Source/Crossroads.Web/ViewModels/ValidationAttributes/DateRangeAttribute.cs | nevena-angelova/Crossroads | 9 | 7035147 | using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace Crossroads.Web.ViewModels.ValidationAttributes
{
public class DateRangeAttribute : ValidationAttribute
{
private const string DateFormat = "dd/MM/yyyy";
private const string DefaultErrorMessage = "... |
Library/PackageCache/com.unity.uiwidgets@1.5.4-preview.12/Runtime/gestures/hover.cs | petergjh/stardiscovery | 5 | 7035148 | using Unity.UIWidgets.foundation;
namespace Unity.UIWidgets.gestures {
public delegate void PointerHoverEnterCallback(PointerHoverEvent evt);
public delegate void PointerHoverLeaveCallback();
public class HoverRecognizer : DiagnosticableTree {
public HoverRecognizer(object debug... |
Persistence/aers_tbl_basicsdepSqlMapDao.cs | TanHaoran/NurseService1.0 | 0 | 7035149 | <filename>Persistence/aers_tbl_basicsdepSqlMapDao.cs
/**
* Name:Aersysm.SqlMapDao-aers_tbl_basicsdep
* Author: banshine
* Description: aers_tbl_basicsdep Dao层
* Date: 2015-6-8 11:13:02
* */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aersysm.Domain;
namespac... |
Core/Source/Utilities/StratusReflection.cs | Azurelol/StratusFramework | 16 | 7035150 | <reponame>Azurelol/StratusFramework
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.Serialization;
using UnityEngine;
namespace Stratus.Utilities
{
public static partial class StratusReflection
{... |
Plugins/OpenXML/Missing Features/Export media files into html/Program.cs | MrYangPan/Aspose.Slides-for-.NET-code | 39 | 7035151 | <filename>Plugins/OpenXML/Missing Features/Export media files into html/Program.cs
using Aspose.Slides;
using Aspose.Slides.Export;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference when the project is build. Please check https://docs.nuget.org/consume/nug... |
AnalogGameEngine.SimpleGUI/Entities/SimpleGuiCard.cs | GreyscaleUnicorns/AnalogGameEngine | 0 | 7035152 | using AnalogGameEngine.Entities;
namespace AnalogGameEngine.SimpleGUI.Entities {
public class SimpleGuiCard<T> : Card<T> where T : SimpleGuiCardType {
public SimpleGuiCard(T type, CardCollectionBase collection) : base(type, collection) { }
}
}
|
TestClient/SerializeTest.cs | aooshi/adf.cs | 0 | 7035153 | <filename>TestClient/SerializeTest.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Data;
using Adf.Db;
using System.Collections.Generic;
using ProtoBuf;
using System.IO;
using System.Collections;
namespace TestClient
{
public class SerializeTest
{
... |
Assets/Scripts/Events/Callback.cs | forsbergsskola-se/lake-legends | 2 | 7035155 | <reponame>forsbergsskola-se/lake-legends
using System;
namespace Events
{
public class Callback
{
public readonly CallbackDelegate Method;
public readonly Action CallbackMethod;
public Callback(CallbackDelegate method, Action callbackMethod)
{
this.Method = method;... |
src/nuclei.examples.complete/CommunicationInitializer.cs | thenucleus/nuclei.examples.complete | 0 | 7035156 | <reponame>thenucleus/nuclei.examples.complete
//-----------------------------------------------------------------------
// <copyright company="Nuclei">
// Copyright 2013 Nuclei. Licensed under the Apache License, Version 2.0.
// </copyright>
//-------------------------------------------------------------------... |
src/Stampsy.Social/SessionManagerExtensions.cs | Amplify-Social/Stampsy.Social | 14 | 7035157 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Stampsy.Social
{
internal static class SessionManagerExtensions
{
static async Task<bool> Reauthorize (ServiceManager manager, Session session)
{
var service = session.Ser... |
Assets/Scripts/AppearingText.cs | iamrequest/vampire-shark-attack | 0 | 7035158 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
/// <summary>
/// On trigger, play an animation.
/// </summary>
[RequireComponent(typeof(Collider))]
public class AppearingText : MonoBehaviour {
private Animator animator;
public UnityEvent onT... |
Delegates/Program.cs | wjnnora/TreinaWeb.CSharpAvancado | 0 | 7035159 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Delegates
{
class Program
{
delegate void ExibeMensagem(int idade);
static ExibeMensagem exibeMensagem;
static void Main(string[] args)
{
Co... |
Register.Web/Services/MemberService.cs | merken/efc-txn | 4 | 7035160 | using System.Threading.Tasks;
using Register.Data.Model;
using Register.Web.Controllers;
namespace Register.Web.Services
{
public class MemberService : IRegisterService
{
private readonly RegisterDbContext context;
public MemberService(RegisterDbContext context)
{
this.cont... |
Assets/Scripts/Events/Event.cs | votizlov/CameraTracker | 4 | 7035161 | using System;
using UnityEngine;
using UnityEngine.Events;
namespace Events
{
[Serializable]
internal class Event
{
[SerializeField] private float _delayInitialization = 2.0f;
[SerializeField] private UnityEvent _event;
public float delayInitialization => _delayInitialization;
... |
rules/Gendarme.Rules.Design/EnumeratorsShouldBeStronglyTypedRule.cs | JAD-SVK/mono-tools | 2 | 7035162 | //
// Gendarme.Rules.Design.EnumeratorsShouldBeStronglyTypedRule
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2010 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software wit... |
src/ResourceManagement/ContainerService/Generated/Models/ManagedClusterPodIdentityException.cs | yevster/azure-libraries-for-net | 365 | 7035163 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.ContainerService.F... |
Src/Feature/FOS.Website.Feature/Feature/ComponentBlock/Controllers/ComponentBlockController.cs | friskisosvettis/from-valtech | 0 | 7035164 | using FOS.Website.Feature.Summary;
using FOS.Website.Feature.Summary.Models;
using Sitecore.Mvc.Presentation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FOS.Website.Feature.ComponentBlock.Models;
using FOS.Website.Feature.Navigation.Data;
using Synt... |
src/Optimat.EveO/BerictAusDsLeeser.cs | botengine-de/Optimat.EO | 8 | 7035165 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Bib3;
namespace Optimat.EveOnline
{
public class SictBerictAusDsLeeserFund
{
readonly public FileSyst... |
src_sample/Sample_AspNetCore/Startup.cs | sav68/micro-serilog-sinks-rabbitmq | 1 | 7035166 | <filename>src_sample/Sample_AspNetCore/Startup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Micro.Serilog.Sinks.RabbitMQ;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;... |
Homework8/Homework8/OrderService/OrderService.cs | LSX-s-Software/DotNetHomework | 0 | 7035167 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
namespace Homework8
{
public class OrderService
{
private List<Order> OrderList;
public List<Order> orderList { get => OrderList; }
public List<Customer> CustomerList { g... |
Master/ASTRA.EMSG.IntegrationTests/StepDefinitions/ReportSteps.cs | astra-emsg/ASTRA.EMSG | 4 | 7035168 | <reponame>astra-emsg/ASTRA.EMSG
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using ASTRA.EMSG.Business.Entities;
using ASTRA.EMSG.Business.Entities.Common;
using ASTRA.EMSG.Business.Entities.Summarisch;
using ASTRA.EMSG.Business.Infrastructure.Repo... |
BLS.SQLiteStorage/SqLiteStorageProvider.cs | aguskov1987/BLS | 1 | 7035170 | <reponame>aguskov1987/BLS
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using BLS.Syncing;
[assembly: InternalsVisibleTo("BLS.SQLiteStorage.Tests")]
namespace BLS.SQLiteStorage
{
/// <summary>
/// This is an implementation of the <see cref="IBlStorageProvider"/> using ... |
Assets/scripts/Instanciador.cs | E-restrepo14/untouchable | 0 | 7035171 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Instanciador : MonoBehaviour
{
// en este script estan almacenados por array... los obstaculos, adornos y sus respectivas posiciones en los cuales se instanciarán al azar, por un random range.
public static In... |
HAP/Plugins/HAP.Timetable/Register.cs | techienickb/hap | 8 | 7035172 | using HAP.Web.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HAP.Timetable
{
public class Register : IRegister
{
public RegistrationPath[] RegisterCSS()
{
return new RegistrationPath[] {
new Registrati... |
tests/MockServerClientNet.Tests/BodyContentTest.cs | alex-held/mockserver-client-net | 16 | 7035173 | using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Mime;
using System.Threading.Tasks;
using MockServerClientNet.Model;
using MockServerClientNet.Model.Body;
using Xunit;
using static MockServerClientNet.Model.Body.Contents;
using static MockServerClientNet.Model.HttpResponse;
usin... |
Assets/RogueTemplate/Scripts/Skills/MoveEffect.cs | zenanon/rogue-template | 10 | 7035174 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RogueTemplate
{
[CreateAssetMenu(fileName = "MoveEffect", menuName = "RogueTemplate/Skills/Effects/MoveEffect")]
public class MoveEffect : RLSkillEffect
{
public override void DoEffect(RLBaseActor user, RLBaseT... |
TuShareHttpSDKLibrary/Model/Bond/ResultsOfConvertibleBondToEquitySwap/CbShareRequestModel.cs | PasuHx/TuShareHttpSDK | 2 | 7035175 | using System;
using System.Collections.Generic;
using System.Text;
using TuShareHttpSDKLibrary.Attributes;
namespace TuShareHttpSDKLibrary.Model.ResultsOfConvertibleBondToEquitySwap
{
/// <summary>
/// 接口:cb_share<br/>描述:获取可转债转股结果<br/>限量:单次最大2000,总量不限制<br/>权限:用户需要至少2000积分才可以调取,但有流量控制,... |
Controllers/UserController.cs | HZRelaper2020/HospitalMachine | 0 | 7035176 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using HospitalMachine.DB;
using HospitalMachine.entry;
using Microsoft.AspNetCore.Mvc;
using static HospitalMachine.DB.UserInt;
// For more informa... |
samples/SampleApp/ImageFragment.cs | wcoder/Xamarin.BlurView | 27 | 7035177 | <reponame>wcoder/Xamarin.BlurView
namespace SampleApp
{
public class ImageFragment : BaseFragment
{
protected override int LayoutId => Resource.Layout.fragment_image;
public override string Title => "Static";
}
}
|
src/Servant.Web/Views/Sites/Error.cshtml | Bloemert/servant | 0 | 7035178 | <reponame>Bloemert/servant
@using System
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
@{
Layout = "Sites/_Details.cshtml";
ViewBag.ActiveSubmenuItem = "errors";
}
<h3>Exception details</h3>
<p class="margin-top30">
@if (Model.Site == null)
{
@: This exception c... |
Blazor.Client/Widgets/Layout/LayoutOperationMessage.cs | akobr/blazor.widgetised | 5 | 7035179 | <gh_stars>1-10
using Blazor.Widgetised.Messaging;
namespace Blazor.Client.Widgets.Layout
{
public class LayoutOperationMessage : IMessage
{
public string TargetContainer { get; set; }
public string TargetWidgetVariant { get; set; }
}
}
|
src/VisualStudio/VisualStudioTokenProvider.cs | kdcllc/AppAuthentication | 1 | 7035180 | <reponame>kdcllc/AppAuthentication
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace AppAuthentication.VisualStudio
{
/// <sum... |
JieLinkDevOpsApp/PartialView/PartialViewOtherToJieLink/Models/TBaseMcCardInfoModel.cs | HalfAmazing/JieLink.DevOps | 2 | 7035181 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PartialViewOtherToJieLink.Models
{
/// <summary>
/// G3主表卡数据
/// </summary>
public class TBaseMcCardInfoModel
{
public int ID { get; set; }
... |
ListsMoreExercisesExtended/5. NoteStatistics/NoteStatistics.cs | Sotirovgym/C---Collections---Exercises | 0 | 7035182 | using System;
using System.Collections.Generic;
using System.Linq;
class NoteStatistics
{
static void Main(string[] args)
{
var inputFrequencies = Console.ReadLine().Split(' ').Select(double.Parse).ToList();
var frequencies = new List<double> { 261.63, 277.18, 293.66, 311.13, 329.63, 349.23, ... |
syskey/Settings.cs | pazuzu156/Fake-Syskey | 19 | 7035183 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Web.Script.Serialization;
namespace syskey
{
public class Settings
{
private static Settings _instance;
private string _dumpLocation;
private string _settingsFile;
public SettingsData data;
//public messages... |
queries/RayIntersection.cs | corefan/geometry3Sharp | 3 | 7035184 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace g3
{
public class RayIntersection
{
private RayIntersection()
{
}
// basic ray-sphere intersection
public static bool Sphere(Vector3f vOrigin, Vector3f vDirection, Vector3f... |
src/FluentSpotifyApi/Model/Playlists/SimplifiedPlaylist.cs | dotnetfan/FluentSpotifyApi | 26 | 7035185 | using System.Text.Json.Serialization;
namespace FluentSpotifyApi.Model.Playlists
{
/// <summary>
/// The simplified playlist.
/// </summary>
/// <seealso cref="PlaylistBase" />
public class SimplifiedPlaylist : PlaylistBase
{
/// <summary>
/// A collection containing a link ( <... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.