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 |
|---|---|---|---|---|
Chroma/Graphics/Accelerated/ShaderException.cs | ElijahZAwesome/Chroma | 10 | 7068848 | using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Chroma.Graphics.Accelerated
{
public class ShaderException : GraphicsException
{
public List<string> GlslErrors { get; }
internal ShaderException(string message, string rawGlslError)
: base(message)... |
src/Microsoft.Health.Fhir.SqlServer/Features/Search/Expressions/Visitors/DateTimeBoundedRangeRewriter.cs | gauravgupta98/fhir-server | 677 | 7068849 | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
Battleships/Battleships/Utilities/Position.cs | cheficha/1stProject-BattleShips- | 0 | 7068850 | <filename>Battleships/Battleships/Utilities/Position.cs
using System.Text;
using Battleships.Utilities.Contracts;
namespace Battleships.Utilities
{
public struct Position : IPosition
{
public Position(IPosition position)
{
this.Row = position.Row;
this.Col = position.Co... |
backend/VolontApp.DAL/RavenSettings.cs | wearespacey/volontapp | 0 | 7068851 | namespace VolontApp.DAL
{
public class RavenSettings
{
public string[] Urls { get; set; }
public string Database { get; set; }
public string CertificatePath { get; set; }
public string CertificatePassword { get; set; }
}
}
|
src/MyLab.Search.Indexer/DataContract/DataSourcePropertyValue.cs | mylab-search-fx/indexer | 0 | 7068852 | <filename>src/MyLab.Search.Indexer/DataContract/DataSourcePropertyValue.cs
namespace MyLab.Search.Indexer.DataContract
{
public class DataSourcePropertyValue
{
public string PropertyTypeReason{ get; set; }
public DataSourcePropertyType DbType { get; set; }
public string Value { get; set;... |
DotNet/DotNet/UE4/Generated/Engine/StaticMeshOptimizationSettings.cs | UE4DotNet/Plugin | 2 | 7068853 | // 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;
namespace UE4.Engine{
... |
Assets/Sources/Novel/Command/TestSources/CLTest.cs | ShuheiOi/AdolescenceNovel | 0 | 7068854 | using UnityEngine;
namespace AdolescenceNovel
{
public class CLTest : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
SystemData.instance.command.Add(new Ld(new StringValue("c"), new StringValue(TestConst.instance.TESTIMAGEPATH + "te... |
Revo.Core/Types/VersionedTypeRegistry.cs | chengliang-git/Revo | 290 | 7068855 | <reponame>chengliang-git/Revo<filename>Revo.Core/Types/VersionedTypeRegistry.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Revo.Core.Types
{
public class VersionedTypeRegistry : IVersionedTypeRegistry
{
... |
MultiAdmin/ServerIO/OutputHandler.cs | js6pak/MultiAdminPlus | 0 | 7068856 | using System;
using System.Drawing;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using MultiAdmin.ConsoleTools;
using MultiAdmin.Utility;
namespace MultiAdmin.ServerIO
{
public class OutputHandler : IDisposable
{
public static readonly Regex SmodRegex =
new Regex(@"\[(DEBUG|INF... |
src/TfsDeployer/DeployAgent/DeployAgentResult.cs | mitchdenny/tfsdeployer | 0 | 7068858 | using System;
namespace TfsDeployer.DeployAgent
{
[Serializable]
public class DeployAgentResult
{
public bool HasErrors { get; set; }
public string Output { get; set; }
}
} |
PerformanceTrakFunctions/Util/NewUser.cs | Schenz/PerformanceTrak | 0 | 7068859 | <gh_stars>0
using System;
using System.IO;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage;
using Newtonsoft.Json;
using PerformanceTrakFunctions.Models;
using PerformanceTrakFunctions.Repository;
using PerformanceTrakFun... |
sdk/src/Services/AppSync/Generated/Model/ApiAssociation.cs | dariolingotti/aws-sdk-net | 1,705 | 7068860 | <reponame>dariolingotti/aws-sdk-net<gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws... |
Assets/Blocks/Base/Scripts/Player/Builder.cs | anueves1/Blocks | 2 | 7068861 | using UnityEngine;
namespace Blocks
{
public class Builder : MonoBehaviour
{
[Header("Build Settings")]
[Space(5f)]
[SerializeField]
private GameObject m_Prefab;
[SerializeField]
private float m_BuildDistance = 20f;
private int m_Mode;
priva... |
source/Calamari.Aws/Integration/S3/S3UploadResult.cs | tfly0072/Calamari | 198 | 7068862 | using Amazon.S3.Model;
using Octopus.CoreUtilities;
namespace Calamari.Aws.Integration.S3
{
public class S3UploadResult
{
private PutObjectRequest Request { get; }
private Maybe<PutObjectResponse> Response { get; }
public S3UploadResult(PutObjectRequest request, Maybe<PutObjectResponse... |
Orbis.BLL.UnitTests/Simulators/GameSimulatorTests.cs | Coding-Journey/orbis | 0 | 7068863 | <filename>Orbis.BLL.UnitTests/Simulators/GameSimulatorTests.cs
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using OrbisTennisSimulator.BLL.Simulators;
namespace OrbisTennisSimulator.BLL.UnitTests.Simulators
{
[TestFixture]
internal class GameSimulatorTests
{
private MockRepos... |
src/compiler/api/Domain/AST/Expressions/AstChar.cs | rbtech/uno | 84 | 7068864 | namespace Uno.Compiler.API.Domain.AST.Expressions
{
public sealed class AstChar : AstExpression
{
public readonly char Value;
public override AstExpressionType ExpressionType => AstExpressionType.Char;
public AstChar(Source src, char value)
: base(src)
{
... |
Source/Controllers/PainelController.cs | TsplayerT/BancoVirtualEstudantilWeb | 0 | 7068865 | using Microsoft.AspNetCore.Mvc;
namespace BancoVirtualEstudantilWeb.Controllers
{
public class PainelController : Controller
{
public IActionResult Index()
{
return RedirectToAction("Versao1");
}
public IActionResult Versao1()
{
return View();
... |
Assets/uPalette/Runtime/Core/ColorSetters/OutlineColorSetter.cs | Haruma-K/uPalette | 83 | 7068866 | using UnityEngine;
using UnityEngine.UI;
namespace uPalette.Runtime.Core.ColorSetters
{
[AddComponentMenu("")]
[DisallowMultipleComponent]
[RequireComponent(typeof(Outline))]
[ColorSetter(typeof(Outline), "Color")]
public class OutlineColorSetter : ColorSetter
{
[SerializeField] [HideI... |
samples/SampleApp/Form1.cs | MagicAndre1981/WindowsFormsLifetime | 6 | 7068867 | using WindowsFormsLifetime;
namespace SampleApp
{
public partial class Form1 : Form
{
private readonly ILogger<Form1> _logger;
private readonly IFormProvider _formProvider;
public Form1(ILogger<Form1> logger, IFormProvider formProvider)
{
InitializeComponent();
... |
ResourceManagment/Data/Filtering/ResourceFilters/RoleFilter.cs | Omnicrola/ResourceManager | 0 | 7068869 | using DataApi.Models;
using ResourceManagment.Windows.AlterResourceBlock;
using ResourceManagment.Windows.ManageWeeklySchedule;
namespace ResourceManagment.Data.Filtering.ResourceFilters
{
public class RoleFilter : IResourceFilter
{
private string name;
private Role targetRole;
public... |
src/Services/Campaign/Campaign.Application/Campaigns/Queries/GetCampaignsByMerchantId/GetCampaignsByMerchantIdQuery.cs | MesutAtasoy/Joker | 38 | 7068870 | <filename>src/Services/Campaign/Campaign.Application/Campaigns/Queries/GetCampaignsByMerchantId/GetCampaignsByMerchantIdQuery.cs
using Campaign.Application.Campaigns.Dto;
using Joker.Extensions.Models;
using MediatR;
namespace Campaign.Application.Campaigns.Queries.GetCampaignsByMerchantId;
public class GetCampaignsB... |
source/ChromeDevTools/Protocol/iOS/CSS/GetSupportedCSSPropertiesCommand.cs | vadik007/ChromeDevTools | 0 | 7068871 | using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.CSS
{
/// <summary>
/// Returns all supported CSS property names.
/// </summary>
[Command(ProtocolName.CSS.GetSupportedCSSProperties)]
[SupportedBy("iOS")]
public class GetSu... |
NinetyNineProblems.Tests/Lists/P04Test.cs | Frederick-S/NinetyNineProblems | 0 | 7068872 | <filename>NinetyNineProblems.Tests/Lists/P04Test.cs
using System.Collections.Generic;
using System.Linq;
using NinetyNineProblems.Lists;
using Xunit;
namespace NinetyNineProblems.Tests.Lists
{
public class P04Test
{
[Fact]
public void ShouldReturn3()
{
Assert.Equal(3, P04.My... |
EFQ.Web/Migrations/20210806180407_FirstParametersJson.cs | jdege/EFQ | 0 | 7068873 | using Microsoft.EntityFrameworkCore.Migrations;
namespace JDege.EFQ.Web.Migrations
{
public partial class FirstParametersJson : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "StoredQuery",
... |
Microsoft.Research/Contracts/System.Windows.Browser/System.Windows.Browser.ScriptObject.cs | jeroen-mostert/CodeContracts | 778 | 7068875 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
Items/Throwables/Base/BaseThrowableAtMobile.cs | ruaduck/Core | 13 | 7068876 | #region Header
// Vorspire _,-'/-'/ BaseThrowableAtMobile.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2018 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============- # -... |
Source/UnitTests/ConsoleApp.Core.Tests/Helpers/ConflictingArgsCommand.cs | rickardn/Consolas | 18 | 7068877 | <gh_stars>10-100
namespace Consolas.Core.Tests.Helpers
{
public class ConflictingArgs2
{
public int Arg { get; set; }
}
public class ConflictingArgs1
{
public int Arg { get; set; }
public int Arg2 { get; set; }
}
public class ConflictingArgsCommand
{
pu... |
src/TFS-Word-Add-In/Library.Test/UnitTest/FlowControllerWorkItemImportTests.cs | ALM-Rangers/Sample-Code | 1 | 7068879 | //---------------------------------------------------------------------
// <copyright file="FlowControllerWorkItemImportTests.cs" company="Microsoft">
// Copyright © ALM | DevOps Ranger Contributors. All rights reserved.
// This code is licensed under the MIT License.
// THE SOFTWARE IS PROVIDED "AS IS", WITH... |
src/Picodex.Unity/UnityEngine/Texture.cs | objuan/picodex | 0 | 7068880 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UnityEngine
{
public enum TextureWrapMode
{
Repeat,
Clamp
}
public enum TextureFormat
{
RGBA32
}
public enum FilterMode
{
Point,
Bilinear,
... |
Sources/GenieLamp.Core/Patterns/SecurityPattern.cs | arbinada-com/genie-lamp | 1 | 7068881 | using System;
using System.Xml;
using System.Collections.Generic;
using GenieLamp.Core.Metamodel;
using GenieLamp.Core.Utils;
using GenieLamp.Core.Exceptions;
namespace GenieLamp.Core.Patterns
{
class SecurityPattern : PatternConfig, ISecurityPattern
{
public const string NodeName = "Security";
#... |
TestApp/Form1.cs | Swazimodo/TCPUtility | 7 | 7068882 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using NetworkUtility.Tcp.Transport;
namespace TestApp
{
public partial clas... |
src/Rinsen.IdentityProvider/LoginResult.cs | Rinsen/IdentityProvider | 0 | 7068883 | <reponame>Rinsen/IdentityProvider
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Rinsen.IdentityProvider
{
public class LoginResult
{
public ClaimsPrincipal Principal { get; private set; }
public bool Suc... |
src/M.Challenge.Read.Api/Startup.OData.cs | dmarins/challenge-m-read | 0 | 7068884 | using Microsoft.AspNet.OData.Extensions;
using Microsoft.Extensions.DependencyInjection;
namespace M.Challenge.Read.Api
{
public partial class Startup
{
private static void ConfigureOData(IServiceCollection services)
{
services.AddOData();
}
}
}
|
Assets/Scripts/Anchors/AnchorScript.cs | Namerian/DSI_ClimbToTheMoon | 0 | 7068885 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnchorScript : AbstractAnchorScript
{
[SerializeField]
private List<Sprite> _sprites;
void Start()
{
if (_sprites != null && _sprites.Count > 0)
{
this.trans... |
TestCase/Main.cs | libla/Exprtmpl | 0 | 7068886 | <reponame>libla/Exprtmpl<filename>TestCase/Main.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using CommandLine;
using CommandLine.Text;
[AttributeUs... |
KotoriServer/Controllers/SiteController.cs | kotorihq/kotori-server | 0 | 7068887 | <reponame>kotorihq/kotori-server<filename>KotoriServer/Controllers/SiteController.cs
using KotoriServer.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System.Diagnostics;
using KotoriCore;
namespace KotoriServer.Controllers
{
public class SiteController : Controller
{
... |
Server/Config/JsonObjects/OldJsonObjects/OldUsersConfig.cs | zabszk/AGH-ZgadnijSlowo | 1 | 7068889 | <filename>Server/Config/JsonObjects/OldJsonObjects/OldUsersConfig.cs
using System;
using System.Collections.Generic;
using Utf8Json;
namespace Server.Config.JsonObjects.OldJsonObjects
{
public readonly struct OldUsersConfig : IEquatable<OldUsersConfig>
{
public readonly Dictionary<string, User> Users;... |
CodeContracts.Fody/ContractInjectResolvers/IInvariantResolver.cs | NickRusinov/CodeContracts.Fody | 2 | 7068890 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeContracts.Fody.ContractDefinitions;
using Mono.Cecil;
namespace CodeContracts.Fody.ContractInjectResolvers
{
/// <summary>
/// Resolv... |
Assets/Scripts/Bosses/BossAttackScriptable.cs | adoankim/bugazor | 0 | 7068892 | using UnityEngine;
[CreateAssetMenu(fileName = "BossAttackClass", menuName = "ScriptableObjects/BossAttackClass", order = 2)]
public class BossAttackScriptable : ScriptableObject
{
public string attackName;
public int multiplier;
public int damage;
public GameObject prefab;
public bool destroyAfte... |
Samples/Presence/PresenceGrainInterfaces/HeartbeatData.cs | lfraile/orleans | 0 | 7068893 | <reponame>lfraile/orleans
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... |
examples/csharp/visualstudio/engine/builders.cs | arturania/swisseph | 12 | 7068894 | <filename>examples/csharp/visualstudio/engine/builders.cs
/***************************************************************************
Copyright (C) 2008 RadixPro/<NAME> (http://radixpro.org).
This program is free software; you can redistribu... |
TwitchLeecher/TwitchLeecher.Gui/Converters/InverseBooleanToVisibilityConverter.cs | Protiguous/TwitchLeecher | 0 | 7068895 | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace TwitchLeecher.Gui.Converters {
public class InverseBooleanToVisibilityConverter : IValueConverter {
public object Convert( object value, Type targetType, object parameter, CultureInfo culture ) {
... |
OpenDreamShared/Network/Messages/MsgAlert.cs | TheFakeElon/OpenDream | 2 | 7068896 | <gh_stars>1-10
using Lidgren.Network;
using Robust.Shared.Network;
namespace OpenDreamShared.Network.Messages
{
public sealed class MsgAlert : NetMessage
{
public override MsgGroups MsgGroup => MsgGroups.EntityEvent;
public int PromptId;
public string Title;
public string Mess... |
Programming/2.CSharpPartTwo/8.StringsAndTextProcessing/8.ExtractSentencesContainingWord/Program.cs | trinityimma/TelerikAcademy | 0 | 7068897 | <filename>Programming/2.CSharpPartTwo/8.StringsAndTextProcessing/8.ExtractSentencesContainingWord/Program.cs<gh_stars>0
using System;
using System.Text.RegularExpressions;
class Program
{
static void Main()
{
string str = "We are living in a yellow submarine. We don't have anything else. Inside the su... |
Mercury.Clients/Mercury.Clients.Web/Mercury.Web/Application/Forms/FormEditor/FormEditor.ascx.designer.cs | Quebe/Mercury-Care-Management | 0 | 7068898 | //------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
Assets/Scripts/UI/Pages/AlchemyPage.cs | Sumrix/DAZVillage | 0 | 7068899 | using UnityEngine;
using Collections;
namespace GameUI
{
public class AlchemyPage :
ItemPage
{
[SerializeField]
[RequiredField]
private CollectionView _resourcesView;
private ObservableCollection<InspectorItem> _resources;
private void Awake()
{
... |
ReflectionBinarySerializer/BinarySerializer.cs | TwoTenPvP/ReflectionBinarySerializer | 2 | 7068900 | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace ReflectionBinarySerializer
{
public static class BinarySerializer
{
private static Dictionary<string, FieldInfo[]> cachedFields = new Dictionary<string, FieldInfo[]>();
... |
src/Sphere10.Framework.Windows.Forms/BitmapButton.cs | Sphere10/Framework | 1 | 7068901 | <reponame>Sphere10/Framework
//-----------------------------------------------------------------------
// <copyright file="BitmapButton.cs" company="Sphere 10 Software">
//
// Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com)
//
// Distributed under the MIT software license, see the accom... |
src/aspnetcore/test/Scorpio.AspNetCore.Tests/Scorpio/AspNetCore/Auditing/AspNetCoreAuditContributor_Tests.cs | project-scorpio/Scorpio | 11 | 7068902 | <gh_stars>10-100
using System;
using Microsoft.AspNetCore.Http;
using NSubstitute;
using NSubstitute.Extensions;
using Scorpio.Auditing;
using Shouldly;
using Xunit;
namespace Scorpio.AspNetCore.Auditing
{
public class AspNetCoreAuditContributor_Tests
{
[Fact]
public void PreContribute_N(... |
Gestao-Composicoes-Autorais-Api/Gestao-Composicoes-Autorais-Tests/ServiceTests/MusicaConverter_Conversion_Test.cs | rochajario/Gestao-Composicoes-Autorais | 1 | 7068903 | using Gestao_Composicoes_Autorais_Src.Exceptions;
using Gestao_Composicoes_Autorais_Src.Model.Enums;
using Gestao_Composicoes_Autorais_Src.Model.Forms;
using Gestao_Composicoes_Autorais_Src.Service.Converter;
using ServiceStack.Host;
using System.Net;
using Xunit;
namespace Gestao_Composicoes_Autorais_Tests.ServiceTe... |
Assets/Root/Scripts/Application/Dictionaries/DirectionDictionary.cs | kyuuzou/warcraft | 0 | 7068904 | <gh_stars>0
using UnityEngine;
public class DirectionDictionary : InspectorDictionary<DirectionDictionary, Direction, DirectionData> {
public Direction GetKey(Vector2Int offset) {
foreach (DirectionData entry in this.Entries) {
if (entry.Offset == offset) {
return entry.Key;
... |
Sizmon.Agent/Sizmon.Agent.Web/Controllers/ProcessesController.cs | sizzles/Sizmon | 5 | 7068906 | namespace Sizmon.Agent.Web.Controllers
{
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using Sizmon.Agent.BusinessService;
[Route("api/[controller]")]
public class ProcessesController : Controller
{
private IProcessMonitor processMonitor;
p... |
src/RouteJs.Tests.AspNet/RouteJsTests.cs | Daniel15/RouteJs | 67 | 7068907 | using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Routing;
using Moq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Xunit;
namespace Rout... |
src/FastRange/IRangeSearch.cs | WalkingDisaster/FastRange | 0 | 7068908 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace FastRange;
public interface IRangeSearch<TObject, TIndex>
where TIndex : IComparable
{
Task<CheckResult> CheckAsync(Action<IRangeCheck<TIndex>> check, CancellationToken cancellationToken);
Task AddAsync(TObject toAdd, IRangeEle... |
Assets/Editor/Scripts/Slots/TextSlot.cs | simeonradivoev/Code-Node-Editor | 94 | 7068909 | <reponame>simeonradivoev/Code-Node-Editor<gh_stars>10-100
using NodeEditor;
using UnityEngine.Experimental.UIElements;
namespace Assets.Editor.Scripts.Slots
{
public class TextSlot : ValueSlot<string>
{
public override VisualElement InstantiateControl()
{
var textField = new TextField();
textField.value =... |
XenShim/XenVirtualMachine.cs | cmu-sei/virtualization-abstraction-layer | 3 | 7068910 | <reponame>cmu-sei/virtualization-abstraction-layer
// Virtualization Abstraction Layer
//
// Copyright 2018 <NAME>. All Rights Reserved.
//
// NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY ... |
Src/TheNeoGeoArchive.Persistence/Repositories/IPlatformsRepository.cs | CarloMicieli/TheNeoGeoArchive | 0 | 7068911 | <filename>Src/TheNeoGeoArchive.Persistence/Repositories/IPlatformsRepository.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TheNeoGeoArchive.Persistence.Domain;
namespace TheNeoGeoArchive.Persistence.Repositories
{
public interface IPlatformsRepository
{
... |
HiP-EventStoreLib.Tests/Foo.cs | HiP-App/HiP-EventStoreLib | 1 | 7068912 | <gh_stars>1-10
using System.Collections.Generic;
namespace PaderbornUniversity.SILab.Hip.EventSourcing.Tests
{
public class Foo : IEntity<int>
{
public int Id { get; set; }
public string Name { get; set; }
public int Parent { get; set; }
public List<int> Bars { get; set; }
... |
src/MockingData/Generators/Extensions/ExtensionService.cs | JohanOhlin/MockingData | 1 | 7068913 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using MockingData.Generators.Extensions.Interfaces;
using MockingData.Generators.Random.Interfaces;
namespace MockingData.Generators.Extensions
{
public class ExtensionService : IExtens... |
backend/buildeR.DAL/Entities/CommandArgument.cs | BinaryStudioAcademy/bsa-2020-buildeR | 6 | 7068915 | <gh_stars>1-10
using buildeR.DAL.Entities.Common;
namespace buildeR.DAL.Entities
{
public class CommandArgument : Entity
{
public string Key { get; set; }
public string Value { get; set; }
public int BuildStepId { get; set; }
public BuildStep BuildStep { get; set; }
}
}
|
aspnet-core/src/Odco.PointOfSales.Application/StockBalances/StockBalanceAppService.cs | CipherLabz/Odco-PointOfSales-Material | 0 | 7068916 | using Abp.Application.Services;
using Abp.Domain.Repositories;
using Microsoft.EntityFrameworkCore;
using Odco.PointOfSales.Application.Inventory.StockBalances;
using Odco.PointOfSales.Core.Inventory;
using Odco.PointOfSales.Core.Productions;
using System;
using System.Collections.Generic;
using System.Linq;
using Sys... |
College Jam/Assets/Scripts/Player/Player.cs | ryanakann/college-jam-2021 | 0 | 7068917 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Graphs.Nodes;
using Moves;
[System.Serializable]
public class Player {
public Faction faction;
public string colorName;
public Color color;
public bool isHuman;
public int nodeCount;
public List<NodeState> nod... |
src/Microsoft.AspNet.WebHooks.Receivers.VSTS/Payloads/GitPushLinks.cs | smunish/AspNetWebHooks | 97 | 7068918 | <filename>src/Microsoft.AspNet.WebHooks.Receivers.VSTS/Payloads/GitPushLinks.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Newtonsoft.Json;
namespace Microsoft.AspNet.WebHooks.Payloads
{
... |
Client/MacomberMapClient/Data Elements/Physical/MM_KVLevel.cs | geek96/MacomberMap | 2 | 7068919 | <reponame>geek96/MacomberMap
using MacomberMapClient.Data_Elements.Display;
using MacomberMapClient.Integration;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Common;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.... |
ShopCoreApp.Infrastructure/Interfaces/IHasSeoMetaData.cs | thanhxuanhd/ShopCoreApp | 0 | 7068920 | <filename>ShopCoreApp.Infrastructure/Interfaces/IHasSeoMetaData.cs<gh_stars>0
namespace ShopCoreApp.Infrastructure.Interfaces
{
public interface IHasSeoMetaData
{
string SeoPageTitle { get; set; }
string SeoAlias { get; set; }
string SeoKeywords { get; set; }
string SeoDescripti... |
Assets/UG-UI/Script/Popup/UGPopup.cs | sunal/Client-Online-Quiz | 3 | 7068921 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// UGPopup altındaki RUIPopupChild yöneten ekrana ufak bildirimleri ve hataları bamamız için kullana bileceğimiz yapılardır .
/// </summary>
///
[DefaultExecutionOrder(-135)]
public class UGPopup : MonoBehaviour
{
#regio... |
motor-controler/edit-file.cs | WillWelker/arduino-sketches | 0 | 7068922 | <gh_stars>0
//I use this CS file to copy/paste bits of code into for more advanced Sublime Text abilties
int pot_0 = A0; //hand sensor to control servo claw
int pot_1 = A1; //not used yet
int pot_2 = A2; //elbow arm sensor
int pot_3 = A3; //elbow robot sensor
int pot_4 = A4; //shoulder robot sensor
int pot_6 = A6; //b... |
ABU_Cards/Cards/Base/CardCollector.cs | Cambloid/ABU_Cards | 0 | 7068923 | using ABU_Cards.Cards.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ABU_Cards.Cards.Base
{
public class CardCollector
{
private List<ABUCardBase> cardCollection;
public CardCollector... |
src/Atlas.Data.SqlBuilder/Attributes/ColumnAttribute.cs | samibeyoglu/SqlBuilder | 5 | 7068924 | using System;
namespace Atlas.Data.SqlBuilder
{
[AttributeUsage(AttributeTargets.Property)]
public class ColumnAttribute : Attribute
{
public string ColumnName { get; set; }
}
}
|
TicketCheckStation/Entity/model/BaseDataModel.cs | crazywolfcode/Ticket | 0 | 7068925 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TicketCheckStation
{
public class BaseDataModel
{
private static String DateTimeFormat = "yyyy-MM-dd HH:mm:ss";
public static String GetSql(TableSync table)... |
src/Compiling/Services/DefaultCompilingService.cs | Eskat0n/NArms | 1 | 7068926 | <gh_stars>1-10
using System;
using System.Text;
using NArms.Compiling.Services.Runs;
namespace NArms.Compiling.Services
{
internal class DefaultCompilingService : CompilingServiceBase
{
public override DynamicRun Compile(string code)
{
var results = CompileAssembly(Create... |
Assets/Asset Packs/Devion Games/Utilities/Scripts/Runtime/MoveForward.cs | jlarnett/WinstonLakeV2 | 0 | 7068927 | <reponame>jlarnett/WinstonLakeV2
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DevionGames
{
public class MoveForward : MonoBehaviour
{
[SerializeField]
private float m_Speed = 5f;
[SerializeField]
private bool m_AutoDestruct = true;
... |
Test/FunctionalTests/Tests/Validations/OptionValidationTests.cs | rushfive/RunInfoBuilder | 41 | 7068928 | using R5.RunInfoBuilder.FunctionalTests.Models;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace R5.RunInfoBuilder.FunctionalTests.Tests.Validations
{
public class OptionValidationTests
{
private static RunInfoBuilder GetBuilder()
{
return new RunInfoBuilder();
}
... |
Unickq.SpecFlow.Selenium.Plugin/WebDriverGrid/RemoteWebDriver.cs | unickq/Contrib.SpecFlow.Selenium.NUnit2 | 6 | 7068929 | <reponame>unickq/Contrib.SpecFlow.Selenium.NUnit2<gh_stars>1-10
using System;
using System.Collections.Generic;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
namespace Unickq.SpecFlow.Selenium.WebDriverGrid
{
public class RemoteWebDriver : OpenQA.Selenium.Remote.RemoteWebDriver
{
publi... |
SampleConsole/Models/HomeModel.cs | mhusseini/Dryv | 3 | 7068930 | namespace Dryv.SampleConsole.Models
{
public class HomeModel
{
public Address BillingAddress { get; set; }
public Person Person { get; set; }
public Address ShippingAddress { get; set; }
}
} |
AhoraCore/AhoraCore/Core/Utils/IndexedList.cs | YuryStrelkov/AhoraCore | 0 | 7068931 | using AhoraCore.Core.Buffers.DataStorraging.StorrageTemplate;
using OpenTK;
using System.Collections.Generic;
using System;
namespace AhoraCore.Core.Utils
{
public struct ListIteam<KeyType>
{
public int StartPosition { get; set; }
public int Length { get; set; }
public void shif... |
SPICA.WinForms/Formats/GFOWCharaModel.cs | EddyK28/SPICA | 85 | 7068932 | using SPICA.Formats.CtrH3D;
using SPICA.Formats.CtrH3D.Animation;
using SPICA.Formats.CtrH3D.Model;
using SPICA.Formats.GFL;
using SPICA.Formats.GFL.Motion;
using System.IO;
namespace SPICA.WinForms.Formats
{
class GFOWCharaModel
{
public static H3D OpenAsH3D(Stream Input, GFPackage.Header Header)
... |
1.2/Source/DDLib/Misc/CompTargetableLocation/CompTargetableLocation.cs | Aether-Guild/Dragons-Descent | 1 | 7068933 | using RimWorld;
using System.Collections.Generic;
using UnityEngine;
using Verse;
namespace DD
{
public class CompTargetableLocation : CompUseEffect
{
private TargetInfo target;
public CompProperties_Targetable Props => (CompProperties_Targetable)props;
protected virtual bool PlayerC... |
test/FunctionalTests/Taupo/Source/Taupo.Astoria/Client/SaveChangesSingleRequestCalculator.cs | Sreejithpin/odata.net | 1 | 7068934 | //---------------------------------------------------------------------
// <copyright file="SaveChangesSingleRequestCalculator.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------... |
Scripts/Attributes/EnumValuesAttribute.cs | liuwenjiexx/Unity.GuiExtensions | 0 | 7068935 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace System.Configure
{
public abstract class EnumableAttribute : Attribute
{
public bool IsMask { get; set; }
public string Separator { get; set; }
public abstract object[] GetValues();
... |
server/Giantnodes.Worker/src/Giantnodes.Worker.Api/Configuration/ApplicationConfiguration.cs | PHILLIPS71/library-optimiser-backend | 0 | 7068936 | <gh_stars>0
namespace Giantnodes.Worker.Api
{
public class ApplicationConfiguration
{
public DatabaseConfiguration Database { get; set; } = new DatabaseConfiguration();
}
}
|
src/Infrastructure/LeanCode.ViewRenderer.Razor/ViewBase/AttributeValue.cs | leancodepl/corelibrary | 18 | 7068937 | <filename>src/Infrastructure/LeanCode.ViewRenderer.Razor/ViewBase/AttributeValue.cs
using System;
namespace LeanCode.ViewRenderer.Razor.ViewBase
{
public class AttributeValue
{
public string Prefix { get; }
public object Value { get; }
public bool Literal { get; }
public Attrib... |
src/Foundation/MSSDK/code/Vision/Models/ContentModerator/OCRCandidate.cs | markstiles/SitecoreCognitiveServices.Core | 0 | 7068938 | <filename>src/Foundation/MSSDK/code/Vision/Models/ContentModerator/OCRCandidate.cs<gh_stars>0
namespace SitecoreCognitiveServices.Foundation.MSSDK.Vision.Models.ContentModerator
{
public class OCRCandidate
{
public string Text { get; set; }
public double Confidence { get; set; }
}
} |
src/AlbyOnContainers.IdentityServer/Controllers/Passwords/PasswordsController.cs | alby-corp/alby-on-containers | 1 | 7068939 | <filename>src/AlbyOnContainers.IdentityServer/Controllers/Passwords/PasswordsController.cs
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using AlbyOnContainers.Messages;
using IdentityServer.Models;
using IdentityServer.Options;
using IdentityServer.Publishers;
using IdentityServer.V... |
src/FubuMVC.Core/Registration/IActionSource.cs | RyanHauert/fubumvc | 100 | 7068940 | <reponame>RyanHauert/fubumvc
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using FubuMVC.Core.Registration.Nodes;
namespace FubuMVC.Core.Registration
{
/// <summary>
/// Implementations of this contract inspect a given <see cref="TypePool"/>
/// and provi... |
Client/Web/Saml/Saml2.Authentication.Core/Authentication/Saml2Handler.cs | muaddibco/O10city | 1 | 7068941 | <filename>Client/Web/Saml/Saml2.Authentication.Core/Authentication/Saml2Handler.cs<gh_stars>1-10
namespace Saml2.Authentication.Core.Authentication
{
using System;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Bindings;
using Configuration;
using Ex... |
Assets/VRVServer/Script/Test/QRImage.cs | seri-prg/VRVServer | 1 | 7068942 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class QRImage : MonoBehaviour
{
private Image _image = null;
void Start()
{
_image = this.GetComponent<Image>();
NetworkSender.Instance.NetIO.OnConnected += NetIO_OnConnected;
this.StartCorout... |
source/UGTS.Log4NetCleaner.UnitTest/DirectoryCleanerTests.cs | bensiron/UGTS.Log4NetCleaner | 0 | 7068943 | using System;
using System.Collections.Generic;
using System.IO;
using log4net.Appender;
using Moq;
using NUnit.Framework;
using UGTS.Log4NetCleaner.Interfaces;
using UGTS.Testing;
namespace UGTS.Log4NetCleaner.UnitTest
{
[TestFixture]
public class DirectoryCleanerTests : TestBase<DirectoryCleaner>
{
... |
TextClustering/ClusterConfig.cs | doxakis/TextClustering | 0 | 7068944 | namespace TextClustering
{
public class ClusterConfig
{
internal char[] WordsSeparator { get; private set; } =
{
' ', '.', '?', '\n', '\r', '\t', ',', '!', '(', ')', ';', '"', ':', '-', '\\', '/', '[', ']', '{', '}', '0',
'1', '2', '3', '4', '5', '6', '7', '8', '9', '\''
... |
src/PetEvoTip.cs | moto2002/tianqi_src | 5 | 7068945 | <reponame>moto2002/tianqi_src<gh_stars>1-10
using GameData;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PetEvoTip : UIBase
{
private const int attrLineCount = 4;
public void Init(int talentId)
{
int skillLv = PetEvoGlobal.GetSkillLv(PetBasicUIViewModel.Pe... |
SourceParser.cs | marcussacana/WrapperGenerator | 10 | 7068946 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
namespace WrapperGenerator
{
internal class SourceParser
{
string[] Lines;
public SourceParser(string[] Lines)
{
this.Lines = Lines;
}
... |
docs/nakama/examples/unity/nakama-showreel/Assets/Nakama/Plugins/Nakama/NStorageListMessage.cs | LucasGaspar/nakama-docs | 49 | 7068947 | /**
* Copyright 2017 The Nakama Authors
*
* 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 agree... |
src/Nancy.LeakyBucket/Internal/SystemClock.cs | mrstebo/Nancy.LeakyBucket | 7 | 7068948 | <filename>src/Nancy.LeakyBucket/Internal/SystemClock.cs
using System;
namespace Nancy.LeakyBucket.Internal
{
internal interface ISystemClock
{
DateTime UtcNow { get; }
}
internal class SystemClock : ISystemClock
{
public DateTime UtcNow => DateTime.UtcNow;
}
}
|
ASP.NET Web Forms/Introduction to ASP.NET Homework/WebFormsSumator/Sums.aspx.cs | NikitoG/TelerikAcademyHomeworks | 0 | 7068949 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebFormsSumator
{
public partial class Sums : System.Web.UI.Page
{
protected void ButtonCalculateSum_Click(object sender, EventArgs e)
{
... |
Ryujinx.Graphics.Gpu/Shader/Cache/Definition/HostShaderCacheHeader.cs | BSoDGamingYT/Ryujinx | 11,580 | 7068950 | using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.Gpu.Shader.Cache.Definition
{
/// <summary>
/// The header of a shader program in the guest cache.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 0x1, Size = 0x10)]
struct HostShaderCacheHeader
{
/// <summary>... |
CoMutator.Adept/Program.cs | idormenco/Co-Mutator | 0 | 7068951 | using System;
using Akka.Actor;
using Akka.Configuration;
using Akka.DI.Core;
using Akka.DI.Ninject;
using CoMutator.Common;
namespace CoMutator.Adept
{
public class Program
{
static void Main(string[] args)
{
var config = ConfigurationFactory.ParseString(@"
akka {
acto... |
src/Modules/CottonCandy.Repositories/CurtidasRepository.cs | carolinebraz/CottonCandy | 11 | 7068952 | using CottonCandy.Domain.Entities;
using CottonCandy.Domain.Interfaces;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace CottonCandy.Repositories
{
public class CurtidasRepository : ICurtidasReposito... |
src/Tranquire/IQuestion.cs | gitter-badger/tranquire | 31 | 7068953 | using System;
namespace Tranquire
{
/// <summary>
/// Represent a question
/// </summary>
/// <typeparam name="TAnswer">The answer's type</typeparam>
public interface IQuestion<out TAnswer> : INamed
{
/// <summary>
/// Answers the question
/// </summary>
/// <pa... |
src/SqlBob/Joins/RightJoin.cs | Corniel/SqlBob | 0 | 7068954 | namespace SqlBob
{
/// <summary>Represents a SQL RIGHT (OUTER) JOIN.</summary>
public class RightJoin : Join<RightJoin>
{
/// <inherritdoc/>
public RightJoin(object expression)
: base(expression) { }
/// <inherritdoc/>
public override Keyword JoinType => "RIGHT ... |
NIST_STS/Tests/ITest.cs | LazyBall/Scrypt | 0 | 7068955 | using System;
using System.Collections;
namespace NIST_STS.Tests
{
public interface ITest : IEquatable<ITest>
{
/// <summary>
/// Метод запуска теста.
/// </summary>
/// <param name="sequence">Тестируемая последовательность бит.</param>
/// <returns>Результат прохождени... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.