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 |
|---|---|---|---|---|
ListExtensions.cs | AltBuild/AltBuild.BaseExtensions | 0 | 7046963 | <filename>ListExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.CompilerServices;
namespace AltBuild.BaseExtensions
{
public static class ListExtensions
{
/// <summary>
/// 同じアイテムが複数入らない様にリストを再生成する
/// </summary>
... |
Okta.Core/Clients/AppGroupsClient.cs | YoungRyuCode/OKTA.Core | 0 | 7046964 | namespace Okta.Core.Clients
{
using Okta.Core.Models;
/// <summary>
/// A client to manage <see cref="App"/>s for a <see cref="Group"/>
/// </summary>
public class AppGroupsClient : ApiClient<AppGroup>
{
public AppGroupsClient(App app, IOktaHttpClient clientWrapper) : base(clientWrappe... |
Interactables/Lift.cs | DavidJAbb/unity-shooter | 0 | 7046966 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lift : InteractableReciever
{
public LiftPlatform liftPlatform;
// Start is called before the first frame update
void Start()
{
canRecieve = true;
// IsOn = false;
}
// TODO this doen'... |
mainline/SqlAgentScheduleView.Website/Models/JobScheduleModel.cs | rmlalves/sql-agent-schedule-view | 0 | 7046967 | <gh_stars>0
using SqlAgentScheduleView.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SqlAgentScheduleView.Website
{
public class JobScheduleModel
{
public List<JobServerModel> JobServerList { get; set; }
public List<SQLServerAgentJobResult... |
src/ResourceManagement/Automation/AutomationManagement/Generated/JobScheduleOperationsExtensions.cs | cwickham3/azure-sdk-for-net | 1 | 7046968 | <reponame>cwickham3/azure-sdk-for-net
//
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/li... |
SkinSelfie.WebAPI/Models/StudyEnrolment.cs | GSDan/MySkinSelfie | 2 | 7046969 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SkinSelfie.WebAPI.Models
{
public class StudyEnrolment
{
public int Id { get; set; }
public int StudyId { get; set; }
public int UserId { get; set; }
public DateTime Cr... |
src/UXR.Studies.Models/Commands/NodeUpdateCommandsHandler.cs | uxifiit/UXR | 2 | 7046970 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UXI.CQRS.Commands;
using UXR.Common;
using UXR.Studies.Models;
namespace UXR.Studies.Models.Commands
{
public class NodeStatusCommandsHandler
: ICommandHandler<UpdateNode... |
Token/TokenEntry.cs | lucasfmateus/XAML-TokenEntry | 0 | 7046971 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace Token
{
public partial class TokenEntry : ContentView
{
public static readonly BindableProperty EntrysProperty =
BindableProperty.Create(nameof(Grid), typeof(Grid), typ... |
Core.PetaPocoServer/demo/UserInfo.cs | ludycool/NetCore.Admin | 0 | 7046972 | <reponame>ludycool/NetCore.Admin
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Core.PetaPocoServer
{
/// <summary>
/// 使用petapoco实体样板,加表名,和主键名 自增, 哪些字段不映射,哪些字段映射
/// </summary>
[TableName("userinfo")]
[PrimaryKey("id", autoIncrement = true)]
[Ex... |
CSharpGL/GLObjects/Texture/PixelStore/PixelStoref.cs | baho-s/CSharpGL | 565 | 7046973 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpGL
{
/// <summary>
/// glPixelStoref();
/// </summary>
public class PixelStoref : PixelStore
{
/// <summary>
///
/// </summary>
public float PValue { get; set; }
... |
Stp.Data/TestingDbContext.cs | softority/stp-testing-api | 1 | 7046974 | using Microsoft.EntityFrameworkCore;
using Stp.Data.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Stp.Data
{
// cd <path to Stp.Data folder>
// dotnet ef migrations add <Migration name> -o Migrations
// dotnet ef database update
// to remove last added migrati... |
Pivet/Data/Processors/MessageCatalogProcessor.cs | ripleymj/Pivet | 21 | 7046975 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Oracle.ManagedDataAccess.Client;
using System.IO;
using Newtonsoft.Json;
namespace Pivet.Data.Processors
{
internal class MessageCatalogProcessor : IDataProcessor
{
List<MessageCat... |
WebApiClient/Parameterables/MulitpartText.cs | bao2314483/WebApiClient | 0 | 7046976 | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using WebApiClient.Contexts;
namespace WebApiClient.Parameterables
{
/// <summary>
/// 表示将自身作为multipart/form-data的一个文本项
/// </summary>
[DebuggerDisplay("{stringValue}")]
public class MulitpartText : IApiParameterable
... |
Sigil/Operation.cs | cameronism/Sigil | 810 | 7046977 | <filename>Sigil/Operation.cs
using Sigil.Impl;
using System;
using System.Collections.Generic;
using System.Reflection.Emit;
namespace Sigil
{
/// <summary>
/// Represents a call to an Emit, used when providing introspection details about the generated IL stream.
/// </summary>
public class Operation<... |
src/Opserver.Core/Data/SQL/SQLServerEngine.cs | g3rv4/Opserver | 0 | 7046978 | using System;
namespace Opserver.Data.SQL
{
public readonly struct SQLServerEngine
{
public SQLServerEngine(Version version, SQLServerEditions edition)
{
Version = version;
Edition = edition;
}
public Version Version { get; }
public SQLServerEdi... |
Assets/Scripts/TimeSpanAccurate.cs | nopponaim603/BMP-U | 74 | 7046979 | <filename>Assets/Scripts/TimeSpanAccurate.cs
using System;
public static class TimeSpanAccurate {
// For constants defined below, assume 1 year = 365.25 days
// 1 century = 100 years
public const long TicksPerCentury = TimeSpan.TicksPerDay * 36525L;
public const long TicksPerYear = TimeSpan.TicksPerHo... |
Source/MaidBeats/Models/BeatSaver/Song.cs | mika-f/MaidBeats | 0 | 7046980 | <reponame>mika-f/MaidBeats<filename>Source/MaidBeats/Models/BeatSaver/Song.cs
using System.Collections.Generic;
using MaidBeats.Models.BeatSaver;
using Newtonsoft.Json;
namespace MaidBeats.Models
{
// see also : https://github.com/Kylemc1413/SongCore#infodat-explanation
public class Song
{
[Json... |
src/SwaggerWcf.Attributes/Models/CollectionFormat.cs | sachabruttin/swaggerwcf | 141 | 7046981 | <reponame>sachabruttin/swaggerwcf<gh_stars>100-1000
namespace SwaggerWcf.Models
{
public enum CollectionFormat
{
Csv = 0,
Ssv = 1,
Tsv = 2,
Pipes = 3,
Multi = 4
}
} |
csharp/10-classes-and-interfaces/ConsoleApp1/ConsoleApp1/CodeFile2.cs | ShadowHD33RUS/zadanki | 1 | 7046982 | <reponame>ShadowHD33RUS/zadanki<filename>csharp/10-classes-and-interfaces/ConsoleApp1/ConsoleApp1/CodeFile2.cs
//int[] intArray = { 9, 13, 231, 0, 92 };
//int lengthForNewArray = 10;
//Console.WriteLine("Print source array\n");
//for (int i = 0; i < intArray.Length; i++)
//{
// Console.WriteLine(intArray[i]);
//... |
Assets/Script/MenuManager.cs | hwirman/ilolo | 0 | 7046983 | <filename>Assets/Script/MenuManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuManager : MonoBehaviour
{
public Animator titleAnim;
public bool fadeToScene;
float pressStartTime = 0;
void Awake()
{
... |
src/Synapse/Synapse/Models/PSNotebook.cs | nimaller/azure-powershell | 3 | 7046984 | <reponame>nimaller/azure-powershell
using Azure.Analytics.Synapse.Artifacts.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Microsoft.Azure.Commands.Synapse.Models
{
... |
ObjectWeb.Asm/ObjectWeb/Asm/Tree/FieldInsnNode.cs | ramidzkh/ObjectWeb.Asm | 5 | 7046985 | <reponame>ramidzkh/ObjectWeb.Asm<filename>ObjectWeb.Asm/ObjectWeb/Asm/Tree/FieldInsnNode.cs
using System.Collections.Generic;
// ASM: a very small and fast Java bytecode manipulation framework
// Copyright (c) 2000-2011 INRIA, France Telecom
// All rights reserved.
//
// Redistribution and use in source and binary for... |
Alipay.AopSdk.Core/Response/AlipayZdataassetsMetadataResponse.cs | gaojunhuang/Alipay.AopSdk.Core | 708 | 7046986 | using System.Collections.Generic;
using Newtonsoft.Json;
using Alipay.AopSdk.Core.Domain;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// AlipayZdataassetsMetadataResponse.
/// </summary>
public class AlipayZdataassetsMetadataResponse : AopResponse
{
/// <summary>
/// 用户标签集合
/// </summary>... |
PopulateSqlData/PopulateSqlData/ReadMeta/Domain/Column/ReferenceColumn.cs | gunivan/gensqldata | 0 | 7046987 | <reponame>gunivan/gensqldata<gh_stars>0
using Newtonsoft.Json;
using PopulateSqlData.ReadMeta.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PopulateSqlData.ReadMeta.Domain.Column
{
[JsonObject]
cla... |
src/BuildMaster.Net/Native/Models/BuildOutputExtended.cs | lvermeulen/BuildMaster.Net | 0 | 7046988 | <gh_stars>0
using System;
// ReSharper disable InconsistentNaming
namespace BuildMaster.Net.Native.Models
{
public class BuildOutputExtended
{
public int Execution_Id { get; set; }
public int Output_Sequence { get; set; }
public string Output_Name { get; set; }
public byte[] O... |
src/protocol/Edelstein.Protocol.Gameplay/Users/Inventories/Modify/ModifyInventoryOperations.cs | R3DIANCE/Edelstein | 0 | 7046989 | namespace Edelstein.Protocol.Gameplay.Users.Inventories.Modify
{
public enum ModifyInventoryOperations
{
Add = 0x0,
UpdateQuantity = 0x1,
Move = 0x2,
Remove = 0x3,
UpdateEXP = 0x4
}
}
|
YetiCommon.Tests/ElfFileUtilTests.cs | googlestadia/vsi-lldb | 28 | 7046990 | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
RZ.Server/RZ.Server/Views/Home/Sponsors.cshtml | stijni/ruckzuck | 0 | 7046991 | @{
ViewData["Title"] = "Sponsors";
}
<h2>@ViewData["Title"]</h2>
<p>RuckZuck is a free community service without commercial interrests. </p>
<p>Our Gold-Sponsors covers the infrastructure costs, to guarantee a stable and powerful service.</p>
<p>Sponsors are not responsible for the content in the package reposito... |
Huobi.Net/Objects/HuobiAccountBalances.cs | kaveh6202/Huobi.Net | 1 | 7046992 | <filename>Huobi.Net/Objects/HuobiAccountBalances.cs
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Huobi.Net.Objects
{
public class HuobiAccountBalances: HuobiAccount
{
/// <summary>
/// The list of balances
/// </summary>
[JsonProperty("list")]
publ... |
RepoDb.SqLite/RepoDb.SqLite.UnitTests/QuotationTest.cs | AkilaeTribe/RepoDb | 0 | 7046993 | <filename>RepoDb.SqLite/RepoDb.SqLite.UnitTests/QuotationTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RepoDb.Extensions;
using System.Data.SQLite;
namespace RepoDb.SqLite.UnitTests
{
[TestClass]
public class QuotationTest
{
[TestInitialize]
public void Initialize()
... |
Homeworks/Programming/OOP/02-DefiningClasses-Part2/Matrix/MatrixTest.cs | TsvetanRazsolkov/Telerik-Academy | 1 | 7046994 | <filename>Homeworks/Programming/OOP/02-DefiningClasses-Part2/Matrix/MatrixTest.cs<gh_stars>1-10
namespace Matrix
{
using System;
class MatrixTest
{
private static readonly string separator = new string('-', Console.WindowWidth);
static void Main()
{
// Testing the bool... |
BumperEngineV1_InkSmith_Branch/Assets/BumperEngineV1/GameplayScripts/PlayerSphysics.cs | Emperor-Rampage/BumperEngine-IS-Branch | 0 | 7046995 | using UnityEngine;
using System.Collections;
public class PlayerSphysics : MonoBehaviour {
public Vector3 XYZSpeed { get; set; }
public Vector3 XYZFloat;
public Vector3 Gravity;
public bool Grounded { get; set; }
public Vector3 GroundNormal { get; set; }
public float SensorsRadius;
publi... |
KabMan Application/Kabman/Forms/System/Home.Designer.cs | abutun/kabman | 1 | 7046996 | namespace KabMan.Forms
{
partial class Home
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... |
Source/Uavcan.NET.Studio/Presentation/DebugMessageModel.cs | kolos450/Uavcan.NET | 0 | 7046998 | <filename>Source/Uavcan.NET.Studio/Presentation/DebugMessageModel.cs
using System;
using Uavcan.NET.Studio.DataTypes.Protocol.Debug;
namespace Uavcan.NET.Studio.Presentation
{
sealed class DebugMessageModel
{
public int NodeId { get; set; }
public DateTime Time { get; set; }
p... |
src/HandySub/Common/SrtHelper.cs | HandyOrg/HandySub | 25 | 7046999 | <reponame>HandyOrg/HandySub
using HandySub.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace HandySub.Common
{
public class SrtHelper
{
//Define a list of ModelList to accept the content read from the file
private static List<SrtModel> mySrtM... |
CSharp-part1/Operators and Expressions/6.Four-DigitNumber/FourDigitNumber.cs | BorisPenev/TelerikAcademy | 0 | 7047000 | <filename>CSharp-part1/Operators and Expressions/6.Four-DigitNumber/FourDigitNumber.cs
using System;
namespace _6.Four_DigitNumber
{
class FourDigitNumber
{
static void Main(string[] args)
{
OperationsOnFourDigitNumber operations = new OperationsOnFourDigitNumber();
}
}... |
libamiibo/Data/Settings/AppData/Games/MarioTennis.cs | JeroenHildering/libamiibo | 43 | 7047001 | /*
* Copyright (C) 2018 <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 without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, di... |
Wearable/Wearable/src/Helpers/WearableBaseAdapter.cs | ProjectInitiative/Dash | 0 | 7047002 | <reponame>ProjectInitiative/Dash
using Android.Views;
using Android.Support.Wearable.Views;
using System.Collections.Generic;
using Android.Content;
using Android.Support.V7.Widget;
namespace Wearable.src.Helpers
{
abstract class WearableBaseAdapter<T> : RecyclerView.Adapter
{
private Context context;... |
src/netstandard2.0/AnySpecification/Fixtures/AbstractObjectWithInterfaceInConstructor.cs | grzesiek-galezowski/any | 10 | 7047003 | using System;
namespace AnySpecification.Fixtures
{
[Serializable]
public abstract class AbstractObjectWithInterfaceInConstructor
{
private readonly int _a;
private readonly string _b;
public readonly ISimple _constructorArgument;
public readonly ObjectWithInterfaceInConstructor _constructorNeste... |
src-native/THNETII.WinApi.Headers.WinNT/WELL_KNOWN_SID_TYPE.cs | couven92/thnetii-windows-api | 5 | 7047004 | using System.Security.Principal;
namespace THNETII.WinApi.Native.WinNT
{
// C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\winnt.h, line 9472
//
// Well known SID definitions for lookup.
//
/// <summary>
/// The <see cref="WELL_KNOWN_SID_TYPE"/> enumeration is a list of commonly... |
src/NHSD.BuyingCatalogue.Solutions.Application/Queries/GetAdditionalServiceByAdditionalServiceId/GetAdditionalServiceByCatalogueItemIdHandler.cs | nhs-digital-gp-it-futures/BuyingCatalogueService | 2 | 7047005 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using NHSD.BuyingCatalogue.Solutions.Application.Persistence;
using NHSD.BuyingCatalogue.Solutions.Contracts;
using NHSD.BuyingCatalogue.Solutions.Contracts.Queries;
namespace NHSD.BuyingCatalogue.... |
Assets/Scripts/_New/_New/BodySpawnerNew.cs | mrshubhamtyagi/snake-vs-blocks | 0 | 7047007 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BodySpawnerNew : MonoBehaviour
{
public Transform bodyPrefab;
public List<Transform> listBody = new List<Transform>(0);
private SnakeNew snake;
private bool firstTime = true;
private void... |
Octokit.GraphQL/Model/SearchResultItemConnection.cs | octokit/octokit.graphql.net | 113 | 7047008 | namespace Octokit.GraphQL.Model
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Octokit.GraphQL.Core;
using Octokit.GraphQL.Core.Builders;
/// <summary>
/// A list of results that matched against a search query.
/// </summary>
public class Sear... |
kutuphaneotomasyonu/FrmUyeIslemleri.Designer.cs | ferhatkorkutata/KutuphaneOtomasyonu | 1 | 7047009 | <gh_stars>1-10
namespace kutuphaneotomasyonu
{
partial class FrmUyeIslemleri
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/... |
Source/Studio.ES2/Amplitude/Unity/Simulation/quest/QuestExecutionTreeNode.cs | Scrivener07/Endless-Studio | 3 | 7047010 | <filename>Source/Studio.ES2/Amplitude/Unity/Simulation/quest/QuestExecutionTreeNode.cs
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
namespace ES2.Amplitude.Unity.Simulation
{
/// <remarks/>
[XmlInclude(typeof(QuestExecutionTreeCo... |
src/domain/YouTubeVideoStatistics.cs | FBoucher/azYouTubeStats | 3 | 7047011 | <reponame>FBoucher/azYouTubeStats
using System.Collections.Generic;
namespace cloud5mins.domain
{
public class YouTubeVideoStatistics
{
public string VideoId { get; set; }
public string Title { get; set; }
public ulong ViewCount { get; set; }
public ulong LikeCount { get; set; }... |
MailChimp.Net/Models/ChimpChatterType.cs | Vivaticket-Australia/MailChimp.Net | 292 | 7047012 | using System.ComponentModel;
namespace MailChimp.Net.Models
{
/// <summary>
/// The type of chimp chatter activity
/// </summary>
public enum ChimpChatterType
{
[Description("lists:new-subscriber")]
NewSubscriber,
[Description("lists:unsubscribes")]
Unsunscribes,
... |
WhetstoneTests/topologicalSort.cs | bentheiii/WhetStone | 10 | 7047013 | <reponame>bentheiii/WhetStone<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NumberStone;
using WhetStone.Looping;
namespace Tests
{
[TestClass]
public class topologicalSort
{
[TestMethod]
public vo... |
src/Console/Commands/CommandUnban.cs | 0HyperCube/server | 0 | 7047014 | <filename>src/Console/Commands/CommandUnban.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading.Tasks;
using GameServer.Database;
using GameServer.Server;
namespace GameServer.Logging.Commands
{
public class CommandUn... |
Asterisk.2013/Asterisk.NET/FastAGI/Command/SetContextCommand.cs | gustavogmoraes/Mega.AsterNet.Server | 0 | 7047016 | using System;
namespace AsterNET.FastAGI.Command
{
/// <summary>
/// Sets the context for continuation upon exiting the application.
/// </summary>
public class SetContextCommand : AGICommand
{
/// <summary> The context for continuation upon exiting the application.</summary>
private string context;
/// <su... |
test/T4Toolbox.TemplateAnalysis.Tests/EqualsTest.cs | blyzer/T4Toolbox | 270 | 7047017 | <reponame>blyzer/T4Toolbox
// <copyright file="EqualsTest.cs" company="<NAME>">
// Copyright © <NAME>. All Rights Reserved.
// </copyright>
namespace T4Toolbox.TemplateAnalysis
{
using NSubstitute;
using Xunit;
public static class EqualsTest
{
[Fact]
public static void Eq... |
src/Equinor.ProCoSys.DbView.WebApi/AuthorizeAnyRoleAttribute.cs | equinor/procosys-dbview-api | 0 | 7047018 | <filename>src/Equinor.ProCoSys.DbView.WebApi/AuthorizeAnyRoleAttribute.cs
using Microsoft.AspNetCore.Authorization;
namespace Equinor.ProCoSys.DbView.WebApi
{
public class AuthorizeAnyRoleAttribute : AuthorizeAttribute
{
public AuthorizeAnyRoleAttribute()
{
}
public AuthorizeA... |
cards/CORE/CS2/Sim_CS2_004e.cs | chi-rei-den/Silverfish | 1 | 7047019 | <gh_stars>1-10
/* _BEGIN_TEMPLATE_
{
"id": "CS2_004e",
"name": [
"真言术:盾",
"Power Word: Shield"
],
"text": [
"+2生命值。",
"+2 Health."
],
"CardClass": "PRIEST",
"type": "ENCHANTMENT",
"cost": null,
"rarity": null,
"set": "CORE",
"collectible": null,
"dbfId": 591
}
_END_TEMPLATE_ */
... |
samples/GraphicsTester.Gtk/StartupTest.cs | junior-ts/Microsoft.Maui.Graphics | 0 | 7047020 | <reponame>junior-ts/Microsoft.Maui.Graphics
using System;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Graphics.Platform.Gtk;
namespace Samples {
public class StartupTest {
public static void InitTests() {
var canvas = new PlatformCanvas();
Console.WriteLine(FontExtensions.Default);
using va... |
XRTK-Core/Assets/XRTK/Utilities/Gltf/Schema/GltfComponentType.cs | hridpath/XRTK-Core | 0 | 7047021 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace XRTK.Utilities.Gltf.Schema
{
public enum GltfComponentType
{
Byte = 5120,
UnsignedByte = 5121,
Short = 5122,
Unsign... |
08. High Quality Code/07. High-Quality Classes/Cohesion-and-Coupling/Figures/Parallelepiped.cs | DimitarGaydardzhiev/TelerikAcademy | 0 | 7047022 | namespace Figures
{
using System;
using Utils;
public class Parallelepiped
{
private const string InvalidWidthMessage = "Width can not be less or equal to 0!";
private const string InvalidHeightMessage = "Height can not be less or equal to 0!";
private const string InvalidDepth... |
src/Amusoft.UI.WPF/Controls/NotificationDisplayItem.cs | taori/Amusoft.UI.WPF | 0 | 7047023 | <filename>src/Amusoft.UI.WPF/Controls/NotificationDisplayItem.cs
using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using Amusoft.UI.WPF.Notifications;
using Amusoft.UI.WPF.Utility... |
hisystems/Interpreter/Constructs/FunctionOperation.cs | fredericaltorres/JSonQueryRunTime | 67 | 7047024 | /* _________________________________________________
(c) Hi-Integrity Systems 2012. All rights reserved.
www.hisystems.com.au - <NAME>
github.com/hisystems/Interpreter
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may... |
src/Limo.Plugins/PluginsManager.cs | s-limo/Plugins | 4 | 7047025 | <reponame>s-limo/Plugins
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
namespace Limo.Plugins
{
/// <su... |
Unity/Assets/scripts/Robot.cs | daniruiz/Cleaning-Robot-AI | 15 | 7047026 | using UnityEngine;
using System.Collections.Generic;
using System;
public class Robot : MonoBehaviour
{
private LearningSceneManager manager;
private float speed;
private float rotationSpeed;
private float robotWidth;
private bool dead = false;
private int negativeFitness = 0;
private in... |
cqhttp.Cyan/ApiCall/Requests/Base/RateLimitableRequest.cs | frank-bots/cqhttp.Cyan | 55 | 7047027 | namespace cqhttp.Cyan.ApiCall.Requests.Base {
/// <summary>
/// 可限速(异步)调用的API
/// </summary>
public class RateLimitableRequest : ApiRequest {
/// <param name="is_ratelimited">是否进行限速</param>
/// <param name="r">API url</param>
public RateLimitableRequest (string r, bool is_ratelim... |
OBeautifulCode.Serialization.Json/SerializationConfiguration/JsonSerializationConfigurationBase/RegisteredContractResolver.cs | OBeautifulCode/OBeautifulCode.Serialization | 0 | 7047028 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="RegisteredContractResolver.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// ------------------------------------------... |
Form1.cs | Al1-mert/Radio-App | 0 | 7047029 | 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.Text.RegularExpressions;
namespace Radyo
{
public partial class Form1 : Form
{
... |
BuckarooSdk/Services/CreditCards/AmericanExpress/Request/AmericanExpressAuthorizeResponse.cs | timvandenhof/BuckarooSdk_DotNet | 2 | 7047030 | <gh_stars>1-10
using System;
namespace BuckarooSdk.Services.CreditCards.AmericanExpress.Request
{
public class AmericanExpressAuthorizeResponse
{
/// <summary>
/// Credit card expiration date.
/// </summary>
public DateTime CardExpirationDate { get; set; }
/// <summary>
/// Last 4 digits of the creditca... |
src/Silverback.Integration.Kafka.Testing/Messaging/Configuration/Kafka/IMockedKafkaOptions.cs | meggima/silverback | 0 | 7047031 | // Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System;
namespace Silverback.Messaging.Configuration.Kafka
{
/// <summary>
/// Stores the mocked Kafka configuration.
/// </summary>
public interface IMockedKafkaOptions
{
/// ... |
SourceCode/Source/EnterpriseLibrary/ExceptionHandling/Tests/Configuration.Manageability/WMI/CustomHandlerSettingFixture.cs | ckalvin-hub/Sheng.Winform.IDE | 227 | 7047032 | /*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.Management;
using Microsoft.Practices.EnterpriseLibrary.Common.C... |
CacheUtility/Models/HomeModel.cs | lurienanofab/cacheutility | 0 | 7047033 | <gh_stars>0
using LNF;
using LNF.Impl.Cache;
using System;
namespace CacheUtility.Models
{
public class HomeModel
{
public string Command { get; set; }
public string Host { get; set; }
public int DatabaseId { get; set; }
public TimeSpan Ping { get; set; }
public string ... |
Source Code/RocketBookWall/PDFViewItem.xaml.cs | kris701/RocketBookWall | 1 | 7047034 | 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;... |
uTinyRipperCore/Converters/Classes/Mesh/StreamInfoConverter.cs | JosephTico/UtinyRipper | 2,066 | 7047035 | <filename>uTinyRipperCore/Converters/Classes/Mesh/StreamInfoConverter.cs
using uTinyRipper;
using uTinyRipper.Classes;
using uTinyRipper.Classes.Meshes;
using uTinyRipper.Classes.Shaders;
namespace uTinyRipper.Converters.Meshes
{
public static class StreamInfoConverter
{
public static ChannelInfo GenerateChannelI... |
src/GitHub.Api/Platform/ProcessEnvironment.cs | dragonfyre23/Unity | 0 | 7047036 | using GitHub.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace GitHub.Unity
{
class ProcessEnvironment : IProcessEnvironment
{
protected IEnvironment Environment { get; private set; }
protected ILogging Logger { get; private set; }
public Proc... |
lab_07/Lab7/ChooseLanguagesWindow.xaml.cs | bmstu-ics7/economics-of-software-engineering | 0 | 7047037 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using Lab7.Exceptions;
namespace Lab7
{
/// <summary>
/// Логика взаимодействия для ChooseLanguagesWindow.xaml
/// </summary>
public partial class ChooseLanguagesWindow : Window
... |
PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreContractsStandard/TypeHandling/Core_TypeHandlingUtils.cs | Platform-Agile-Software/PAF-Community | 0 | 7047038 | //@#$&+
//
//The MIT X11 License
//
//Copyright (c) 2010 - 2017 Icucom Corporation
//
//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... |
Assets/Scripts/GhostSpawner.cs | rustybailey/Grandmothers-House | 0 | 7047039 | using System.Collections;
using UnityEngine;
public class GhostSpawner : MonoBehaviour
{
[SerializeField] GameObject titleGhost;
[SerializeField] Sprite[] ghostSprites;
// Start is called before the first frame update
void Start()
{
StartCoroutine(SpawnGhosts());
}
private IEnume... |
animales/Mamiferos.cs | Karolgonzalez/c-sharp | 0 | 7047040 | <filename>animales/Mamiferos.cs
using System;
public abstract class Mamifero: Metazoos
{
public int Patas { get; set; }
public void Caminar()
{
Console.WriteLine("Caminando, un mamifero va caminando por la playa..");
}
} |
Assets/Scripts/Manger/UI/WND/FangAnMenuWnd.cs | 741645596/batgame | 0 | 7047041 | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// 方案菜单
/// </summary>
public class FangAnMenuWnd : WndBase
{
public FangAnMenuWnd_h MyHead
{
get
{
return (base.BaseHead () as FangAnMenuWnd_h);
}
}
private float m_fMinHeight = 500;
private ... |
src/SNPN/Startup.cs | latestchatty/latest-chatty-uwp-push-notifications | 0 | 7047042 | <reponame>latestchatty/latest-chatty-uwp-push-notifications
using System;
using System.IO;
using System.Net.Http;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Formatting.Compact;
using SNPN.Common;
using SNPN.Data;
using SNPN.Monitor;
using Microsoft.... |
Amazon.PAAPI.WCF/AmazonSigningEndpointBehavior.cs | ron-t/breview-a-crawler | 0 | 7047043 | <gh_stars>0
using System;
using System.Configuration;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
namespace Amazon.PAAPI.WCF
{
public class AmazonSigningEndpointBehavior : IEndpointBehavior {
private string _accessKeyId = "";
private ... |
src/Services/Management/Management.Application/PricingPlans/Queries/GetPricingPlanBySlug/GetPricingPlanBySlugQuery.cs | MesutAtasoy/Joker | 38 | 7047044 | using Management.Core.Entities;
using MediatR;
namespace Management.Application.PricingPlans.Queries.GetPricingPlanBySlug;
public class GetPricingPlanBySlugQuery : IRequest<PricingPlan>
{
public GetPricingPlanBySlugQuery(string slug)
{
Slug = slug;
}
public string Slug { get; }
} |
src/03 Server/Mileage.Server.Infrastructure/Api/Configuration/MileageAssembliesResolver.cs | haefele/Mileage | 0 | 7047045 | <reponame>haefele/Mileage
using System.Collections.Generic;
using System.Reflection;
using System.Web.Http.Dispatcher;
using Mileage.Server.Infrastructure.Api.Controllers;
namespace Mileage.Server.Infrastructure.Api.Configuration
{
public class MileageAssembliesResolver : DefaultAssembliesResolver
{
p... |
Services/CustomMapper.cs | charset/Minimal.Auth | 4 | 7047046 | <reponame>charset/Minimal.Auth
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc;
using Minimal.Auth.MockData;
using Minimal.Auth.Models.Auth;
using System.Security.Claims;
namespace Minimal.Auth.Services {
public static class CustomMapper... |
Samples/Entity workflow/EntityWorkflowSpawnerSimple.cs | ub3132003/ECSLineRenderer | 129 | 7047048 | using System.Runtime.CompilerServices;
using System.Collections.Generic;
using UnityEngine;
using Unity.Mathematics;
using Unity.Entities;
using Unity.Collections;
using Unity.Transforms;
using E7.ECS.LineRenderer;
/// <summary>
/// Instantiates line entities in default World.DefaultGameObjectInjectionWorld
/// </su... |
EquipmentShop/obj/Debug/netcoreapp3.1/Razor/Views/Account/SignUpUser.cshtml.g.cs | zarahatsagortsyan/-Diplomayin | 0 | 7047049 | <reponame>zarahatsagortsyan/-Diplomayin<filename>EquipmentShop/obj/Debug/netcoreapp3.1/Razor/Views/Account/SignUpUser.cshtml.g.cs
#pragma checksum "C:\Desktop\EquipmentShop\EquipmentShop\Views\Account\SignUpUser.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "35be4b0fc3d19e8f8f4d1bf04a8fae680ca1f042"
// <auto-generat... |
WindowsFormsApp1/Form1.Designer.cs | walterstypula/ImageSprites | 0 | 7047050 | using System;
using System.Drawing;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private ListBox lbSourceFiles;
... |
Assets/scripts/sounds/AmbientSound.cs | DeliriumGameworks/Dregus-MageAwakened | 0 | 7047051 | <reponame>DeliriumGameworks/Dregus-MageAwakened
using UnityEngine;
using System.Collections;
public class AmbientSound : SoundEffect {
// Use this for initialization
void Start() {
if (isValid()) {
playLoopRandomAudioClip();
}
}
// Update is called once per frame
void Update() {
}
}
|
ManglingImgui/ManglingImgui/imgui/enums/ImGuiViewportFlags_.cs | ousttrue/ManglingImgui | 0 | 7047052 | // This source code was generated by ClangCaster
namespace ManglingImgui
{
// ../../imgui/imgui.h:2609
public enum ImGuiViewportFlags_
{
_None = 0x0,
_NoDecoration = 0x1,
_NoTaskBarIcon = 0x2,
_NoFocusOnAppearing = 0x4,
_NoFocusOnClick = 0x8,
_NoI... |
src/CooKit.Mobile/CooKit.Mobile/Repositories/Recipes/RecipeRepository.cs | AppsLab2019/CooKit | 2 | 7047053 | <reponame>AppsLab2019/CooKit
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CooKit.Mobile.Contexts;
using CooKit.Mobile.Contexts.Entities;
using CooKit.Mobile.Models;
using Microsoft.EntityFrameworkCore;
namespace CooKit.Mobile.Repositories.Recipes
{
public ... |
SYS.FormUI/AppFunction/FrmAdminManager.Designer.cs | NF-TopSky-Team/TopskyHotelManagerSystem | 6 | 7047054 | <reponame>NF-TopSky-Team/TopskyHotelManagerSystem<filename>SYS.FormUI/AppFunction/FrmAdminManager.Designer.cs
namespace SYS.FormUI
{
partial class FrmAdminManager
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components ... |
Tomat.Framework/Tomat.Framework/Core/Services/Commands/CommandRepository.cs | FuchsiaMC/Hauya | 2 | 7047055 | <filename>Tomat.Framework/Tomat.Framework/Core/Services/Commands/CommandRepository.cs
#region License
// Copyright (C) 2021 Tomat and Contributors, MIT License
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Discord.Commands;
u... |
src/services/common/Services/Models/CalculationType.cs | JonathanAsbury-ACS/azure-iot-platform-dotnet-1 | 10 | 7047056 | // <copyright file="CalculationType.cs" company="3M">
// Copyright (c) 3M. All rights reserved.
// </copyright>
namespace Mmm.Iot.Common.Services.Models
{
public enum CalculationType
{
Average,
Instant,
}
} |
src/Ropufu.Homepage/Ropufu/JavascriptSearch.cs | ropufu/homepage | 0 | 7047057 | <gh_stars>0
using System.Text;
namespace Ropufu.Homepage;
public static class JavascriptSearch
{
public static void Initialize<TKey, TElement>(IEnumerable<IGrouping<TKey, TElement>> groupings,
Func<IGrouping<TKey, TElement>, string> groupingIdSelector,
Func<TElement, string> itemIdSelector,
... |
CSharp Databases - MS SQL Server/Databases Advanced/10. Best Practices and Architecture/PetStore/PetStore.Data/Configurations/ProductEntityConfiguration.cs | A-Manev/SoftUni-Courses-2019-2020 | 3 | 7047058 | <filename>CSharp Databases - MS SQL Server/Databases Advanced/10. Best Practices and Architecture/PetStore/PetStore.Data/Configurations/ProductEntityConfiguration.cs
namespace PetStore.Data.Configurations
{
using PetStore.Models;
using PetStore.Common;
using Microsoft.EntityFrameworkCore;
using Micros... |
_no_namespace/AddressablesImpl.----c__DisplayClass116_0.cs | SinsofSloth/RF5-global-metadata | 1 | 7047059 | <reponame>SinsofSloth/RF5-global-metadata<filename>_no_namespace/AddressablesImpl.----c__DisplayClass116_0.cs
[CompilerGeneratedAttribute] // RVA: 0x13DBB0 Offset: 0x13DCB1 VA: 0x13DBB0
private sealed class AddressablesImpl.<>c__DisplayClass116_0 // TypeDefIndex: 5697
{
// Fields
public AddressablesImpl <>4__this; //... |
src/DotNet.Clipboard/ViewModels/MainWindowViewModel.cs | johelvisguzman/DotNet.Clipboard | 0 | 7047060 | <gh_stars>0
namespace DotNet.Clipboard.ViewModels
{
using DotNetToolkit.Wpf.Commands;
using DotNetToolkit.Wpf.Mvvm;
using Extensions;
using Infrastructure;
using Repositories;
using Services;
using System;
using System.Collections;
using System.Collections.ObjectModel;
using Sys... |
FRBDK/AesEncrypter/AesEncrypter/Program.cs | patridge/FlatRedBall | 110 | 7047061 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AesEncrypter
{
class Program
{
static void Main(string[] args)
{
var response = CommandLineParameters.ValidateArgs(args);
... |
02. Programming Fundamentals Course on C#/Strings and Text Processing Exercises/1. Convert from base-10 to base-N/Converter.cs | flyelmos/Software-University | 1 | 7047062 | <reponame>flyelmos/Software-University<gh_stars>1-10
namespace _1.Convert_from_base_10_to_base_N
{
using System;
using System.Numerics;
public class Converter
{
public static void Main()
{
string[] input = Console.ReadLine()
.Split(' ');
int bas... |
src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/Couchbase/CouchbaseDefaultWrapper.cs | hsinghkalsi/newrelic-dotnet-agent | 0 | 7047063 | <filename>src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/Couchbase/CouchbaseDefaultWrapper.cs
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
using System;
using System.Collections;
using NewRelic.Agent.Extensions.Providers.Wrapper;
using NewRelic.Reflecti... |
Networking/Tests/SemanticDatalUnitTest/OPCUAServerProducerSimulatorUnitTest.cs | BiancoRoyal/OPC-UA-OOI | 137 | 7047064 | <reponame>BiancoRoyal/OPC-UA-OOI<filename>Networking/Tests/SemanticDatalUnitTest/OPCUAServerProducerSimulatorUnitTest.cs<gh_stars>100-1000
//___________________________________________________________________________________
//
// Copyright (C) 2019, <NAME>.
//
// To be in touch join the community at GITTER: https:/... |
src/MiningCore/Persistence/Common/Repositories/StatsRepositoryBase.cs | AltcoinCoop/PoolMiningEngine | 11 | 7047066 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Microsoft.Extensions.Caching.Memory;
using MiningCore.Contracts;
using MiningCore.Persistence.Model;
namespace MiningCore.Persistence.Common.Repositories
{
public class StatsRepositoryBase
{
... |
SteamAccCreator/Web/Steam/Account/SteamDefaultUrls.cs | karutaXkun/steam-account-generator | 0 | 7047067 | namespace SteamAccCreator.Web.Steam
{
public partial class SteamDefaultUrls
{
public const string COMMUNITY_BASE = "https://steamcommunity.com/";
public const string CO_PROFILES = COMMUNITY_BASE + "profiles/";
public const string CO_PROFILE_BY_ID = CO_PROFILES + "{0}/";
public ... |
src/Nest/Enums/GeoDistance.cs | alanprot/elasticsearch-net | 2 | 7047068 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Linq.Expressions;
namespace Nest
{
[JsonConverter(typeof(StringEnumConverter))]
public enum GeoDistance
{
arc,
plane,
factor
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.