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 |
|---|---|---|---|---|
InterfaceAbstractDemo/InterfaceAbstractDemo/Entities/Customer.cs | Murat-ALTUNKAYA/CoffeeShopDemo | 0 | 7033827 | <gh_stars>0
using InterfaceAbstractDemo.Abstract;
using System;
namespace InterfaceAbstractDemo.Entities
{
public class Customer : IEntity
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime DateOfBirth { get;... |
src/Manta.MsSql/SqlConnectionExtensionsForReading.cs | GetManta/Manta | 6 | 7033828 | using System.Data;
using System.Data.SqlClient;
namespace Manta.MsSql
{
internal static class SqlConnectionExtensionsForReading
{
private const string paramStreamName = "@StreamName";
private const string paramFromVersion = "@FromVersion";
private const string paramMessageVersion = "@M... |
Core/Runtime/Scripts/Core/Types/Request/Response/ClimateState.cs | atx-barnes/unity-tesla-kit | 2 | 7033829 | <filename>Core/Runtime/Scripts/Core/Types/Request/Response/ClimateState.cs
using System;
namespace Tesla.API.Core {
[Serializable]
public class ClimateState : State {
public ClimateStateResponse Response { get; set; }
[Serializable]
public class ClimateStateResponse {
pu... |
DirectN/DirectN/Generated/WMPLibraryType.cs | riQQ/DirectN | 1 | 7033830 | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\wmp.h(10546,1)
namespace DirectN
{
public enum WMPLibraryType
{
wmpltUnknown = 0,
wmpltAll = 1,
wmpltLocal = 2,
wmpltRemote = 3,
wmpltDisc = 4,
wmpltPortableDevice = 5,
}
}
|
Cecilifier.Core/Misc/TypeResolverImpl.cs | 54k1/cecilifier | 0 | 7033831 | using System.Linq;
using Cecilifier.Core.AST;
using Microsoft.CodeAnalysis;
namespace Cecilifier.Core.Misc
{
internal class TypeResolverImpl : ITypeResolver
{
private readonly CecilifierContext _context;
public TypeResolverImpl(CecilifierContext context)
{
_context = contex... |
Railgun/Grammar/ParseException.cs | UpcraftLP/Railgun | 12 | 7033833 | using System;
namespace Railgun.Grammar
{
public class ParseException : Exception
{
public int Index { get; }
public ParseException(string message, int index) : base(message)
{
Index = index;
}
}
} |
src/BeUtl.Graphics/Animation/Easings/BounceEaseOut.cs | YiB-PC/BeUtl | 19 | 7033834 | <filename>src/BeUtl.Graphics/Animation/Easings/BounceEaseOut.cs
namespace BeUtl.Animation.Easings;
public sealed class BounceEaseOut : Easing
{
public override float Ease(float progress)
{
return Funcs.BounceEaseOut(progress);
}
}
|
Orm/Xtensive.Orm.Tests/Issues/Issue0276_DuplicateIndex.cs | commit-n-run/dataobjects-net | 41 | 7033835 | <reponame>commit-n-run/dataobjects-net
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2009.09.29
using System;
using NUnit.Framework;
using Xtensive.Orm.Configuration;
using Xtensive.Orm.Model;
using Xtensive... |
src/System.Abstract/ServiceCache/CacheItemPriority.cs | BclEx/System.Abstract | 0 | 7033836 | <gh_stars>0
#region License
/*
The MIT License
Copyright (c) 2008 <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 u... |
Utilities/BuildTasks/XmlDelete.cs | SNBnani/Xian | 1 | 7033837 | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Xml;
using Microsoft... |
src/SpeakerMeet.Core/DTOs/PaginationInfo.cs | sclurb/SpeakerMeet.Api | 0 | 7033838 | namespace SpeakerMeet.Core.DTOs
{
public class PaginationInfo
{
public int TotalItems { get; set; }
public int ItemsPerPage { get; set; }
public int ActualPage { get; set; }
public int TotalPages { get; set; }
}
}
|
Evernote.Entities/Models/User.cs | dornevaj/Dorne-Menus-Note | 0 | 7033839 | using Evernote.Entities.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Evernote.Entities.Models
{
public class User : BaseEntity
{
public User()
{
this.Comments = new List<Comment>();
this.Notes = new List<... |
MoatGate/TagHelpers/HelpTagHelper.cs | rafaelvascc/moatgate | 0 | 7033840 | <gh_stars>0
using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MoatGate.TagHelpers
{
public class HelpTagHelper : TagHelper
{
public string Text { get; set; }
public override void Process(TagH... |
Fred/Templates/BombTemplate.cs | Evorlor/F.R.E.D. | 0 | 7033841 | <filename>Fred/Templates/BombTemplate.cs
using Artemis;
using Artemis.Attributes;
using Artemis.Interface;
using Fred.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fred.Templates
{
[ArtemisEntityTemplate(Name)]
class BombTemplate : IEntityTemplate
... |
UtilityWpf/Utility/DependencyPropertyHelper.cs | dtwk2/UtilityWpfCore | 0 | 7033842 | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Windows;
namespace UtilityWpf.Utility
{
public static class DependencyPropertyHelper
{
public static DependencyProperty? FindDependencyProperty(this DependencyObject target, string propName)
{... |
FluentSecurity/FluentSecurity.Specification/Helpers/NameHelper.cs | pvivera/FluentSecurity.Nancy | 58 | 7033843 | using System.Web.Mvc;
using FluentSecurity.Policy;
namespace FluentSecurity.Specification.Helpers
{
internal static class NameHelper
{
public static string Controller<TController>() where TController : IController
{
return typeof (TController).FullName;
}
public static string Policy<TPolicy>(... |
outlays/IEmployee.cs | KarmaScripter/Ninja | 1 | 7033844 | <filename>outlays/IEmployee.cs
// <copyright file = "IEmployee.cs" company = "<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace BudgetExecution
{
using System.Collections.Generic;
using System.Data;
/// <summary>
///
/// </summary>
public interface IEmployee
... |
VRTK-3.2.1/Assets/Scripts/HealthController.cs | RyanTanWJ/LCOTNDBIVR | 0 | 7033846 | <reponame>RyanTanWJ/LCOTNDBIVR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthController {
int maxHealth;
int currHealth;
public HealthController(int max){
maxHealth = max;
currHealth = max;
}
public int Health
{
get { return currHealth; }
}
public ... |
test/Xerris.DotNet.Core.Test/Core/Extensions/CompressionExtensionsTest.cs | xerris/Xerris.DotNet.Core | 2 | 7033847 | using Xerris.DotNet.Core.Extensions;
using Xerris.DotNet.Core.Validations;
using Xunit;
namespace Xerris.DotNet.Core.Test.Core.Extensions
{
[Collection("base")]
public class CompressionExtensionsTest
{
const string Original = "Hi there";
[Fact]
public void Base64()
... |
Viewer/src/figure/channels/ChannelSystem.cs | pimmelpansen/Frische-Haut | 48 | 7033848 | <filename>Viewer/src/figure/channels/ChannelSystem.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class ChannelSystem {
private readonly ChannelSystem parent;
private readonly List<Channel> channels;
private readonly Dictionary<string, ... |
Signum.Engine/Administrator.cs | ControlExpert/framework | 2 | 7033849 | <gh_stars>1-10
using Signum.Engine;
using Signum.Engine.Engine;
using Signum.Engine.Linq;
using Signum.Engine.Maps;
using Signum.Engine.PostgresCatalog;
using Signum.Engine.SchemaInfoTables;
using Signum.Entities;
using Signum.Utilities;
using Signum.Utilities.ExpressionTrees;
using System;
using System.Colle... |
src/IO.Ably.Tests.Shared/Realtime/ConnectionStateTests/InitializedStateSpecs.cs | dpflucas/ably-dotnet | 0 | 7033850 | using System.Threading.Tasks;
using FluentAssertions;
using IO.Ably.Realtime;
using IO.Ably.Realtime.Workflow;
using IO.Ably.Transport.States.Connection;
using IO.Ably.Types;
using Xunit;
using Xunit.Abstractions;
namespace IO.Ably.Tests
{
public class InitializedStateSpecs : AblySpecs
{
private FakeCo... |
Project Amsterdam/Core/IPixel.cs | festivaldev/project-amsterdam | 0 | 7033851 | <filename>Project Amsterdam/Core/IPixel.cs
using System.Drawing;
namespace Amsterdam.Core
{
/// <summary>
/// Contains all the needed information to style a pixel of an <see cref="IMatrix"/>.
/// </summary>
public interface IPixel
{
bool Active { get; set; }
bool Invalidated { ... |
Teaching.Certification.OA/Teaching.Certification.OA.AspNetMvc/Views/Personnel/Branches.cshtml | librame/teaching-certification | 0 | 7033852 | @model IPageable<Branch>
@{
ViewData["Title"] = "机构管理";
}
<!-- Branches -->
<div class="row">
<div class="col-sm-6">
<form method="post" class="login-form" asp-controller="Personnel" asp-action="Branches">
<div class="form-group">
<input name="id" type="hidden" value="" />... |
2017-01-09-dotnetkit-io-filesystem/DotNetKit.IO.FileSystem/IO/FileSystem/FilePath/RelativeDirectoryPath.cs | vain0/playground | 0 | 7033853 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetKit.IO
{
sealed class RelativeDirectoryPath
: RelativeFileObjectPath
, IRelativeDirectoryPath
{
public RelativeDirectoryPath(IReadOnlyLis... |
Assets/Unisave/Components/OverrideUnisavePreferences.cs | Jirka-Mayer/Unisave | 2 | 7033854 | <filename>Assets/Unisave/Components/OverrideUnisavePreferences.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unisave;
using Unisave.Facades;
using Unisave.Foundation;
namespace Unisave.Components
{
[ExecuteInEditMode]
public class OverrideUnisa... |
Rocks.Wasabee.Mobile.Core/Messages/MessageFor.cs | ruharen/Wasabee-Mobile-Xamarin | 7 | 7033855 | <gh_stars>1-10
using MvvmCross.Plugin.Messenger;
using Rocks.Wasabee.Mobile.Core.ViewModels;
namespace Rocks.Wasabee.Mobile.Core.Messages
{
public class MessageFor<T> : MvxMessage where T : BaseViewModel
{
public MessageFor(object sender) : base(sender)
{
}
}
} |
Tools/CrudHelper/BlazorHeroHelper/Templates/IEntityManager.cs | d-oit/Course.Doit.Finance | 0 | 7033856 | namespace BlazorHeroHelper.Templates
{
public class IEntityManager
{
public const string TemplateCode1 = @"using $_ADD_EDIT_CQRS_NAMESPACE_$;
using $_GET_ALL_PAGED_CQRS_NAMESPACE_$;
using $_GET_MODEL_BY_ID_CQRS_NAMESPACE_$;
using $_REQUEST_NAMESPACE_$;
using $_SHARED_WRAPPER_NAMESPACE_$;
using System.T... |
OnlineWallet.Infrastructure/Queries/Transactions/GetTransactionsWithDetails.cs | webprasanth/online-wallet | 1 | 7033857 | using System;
using System.ComponentModel.DataAnnotations;
namespace OnlineWallet.Infrastructure.Queries.Transactions
{
public class GetTransactionsWithDetails : IQuery
{
public Guid UserId { get; set; }
public string Type { get; set; }
[RegularExpression(@"[0-9]+(\.[0-9][0-9]?)?", E... |
sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ResourcePoolTests.cs | gjy5885/azure-sdk-for-net | 0 | 7033858 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
using Azure.ResourceManager.ConnectedVMwarevSphere.Models;
using Azure.ResourceManager.ConnectedVMwarevSphere.Tests.Helpers;
... |
BUILDLet.JbigImageReader/ImageSourceTransferClient.cs | buildlet/BUILDLet.JbigImageViewer | 0 | 7033859 | <reponame>buildlet/BUILDLet.JbigImageViewer
/***************************************************************************************************
The MIT License (MIT)
Copyright 2021 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation file... |
Controls/OkCancelView.xaml.cs | Jamiras/Core | 0 | 7033860 | using System.Windows;
using System.Windows.Controls;
namespace Jamiras.Controls
{
/// <summary>
/// Interaction logic for OkCancelView.xaml
/// </summary>
public partial class OkCancelView : ContentControl
{
/// <summary>
/// Constructs a new <see cref="OkCancelView"/>.
///... |
CharlieBackend.Core/DTO/StudentGroups/CreateStudentGroupDto.cs | BobinMathew/WhatBackend | 0 | 7033861 | <filename>CharlieBackend.Core/DTO/StudentGroups/CreateStudentGroupDto.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Text.Json.Serialization;
namespace CharlieBackend.Core.DTO.StudentGroups
{
public class CreateStudentGroupDto
{... |
Shared/Tools/ParsingTools.cs | zznty/performance-improvements | 0 | 7033862 | using System;
namespace Shared.Patches
{
public static class ParsingTools
{
public static bool TryParseBool(string str, out bool result)
{
if (bool.TryParse(str, out result))
return true;
if (str.Equals("1", StringComparison.Ordinal) ||
... |
Noob.Core/Settings/ISettingEncryptionService.cs | noobwu/DncZeus | 0 | 7033863 | // ***********************************************************************
// Assembly : Noob.Core
// Author : Administrator
// Created : 2020-05-03
//
// Last Modified By : Administrator
// Last Modified On : 2020-05-03
// ********************************************************************... |
BetsApi_Models/ViewModels/ViewWager.cs | Not-Fight-Club/not-fight-club-bets | 0 | 7033864 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BetsApi_Models.ViewModels {
public class ViewWager {
/// <summary>
/// The UserId is stored as a Guid and uniquely identifies a User with other microservices
/// </... |
src/Routine/Core/ApplicationModel.cs | multinetinventiv/routine | 3 | 7033865 | <filename>src/Routine/Core/ApplicationModel.cs
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Routine.Core
{
public class ApplicationModel
{
internal Dictionary<string, ObjectModel> Model { get; private set; }
public ApplicationModel()
: this(new Dictionary<string, o... |
JSNLog.Tests/UnitTests/LoggingUrlHelpersTests.cs | mperdeck/jsnlog.Tests | 0 | 7033866 | using System;
using Xunit;
using JSNLog.Infrastructure;
using JSNLog.Tests.Common;
namespace JSNLog.Tests.UnitTests
{
[Collection("JSNLog")]
public class LoggingUrlHelpersTests
{
[Fact]
public void IsLoggingUrl_NoUrlsConfigured()
{
string configXml = @"
... |
src/ThemesOfDotNet/Data/Tree.cs | kzu/themesof.net | 4 | 7033868 | <filename>src/ThemesOfDotNet/Data/Tree.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
namespace ThemesOfDotNet.Data
{
public sealed class Tree
{
public static Tree Empty { get; } = new Tree(Array.Empty<TreeNode>());
pu... |
Adyen/Model/Checkout/FraudCheckResult.cs | Katie-Shields/adyen-dotnet-api-library | 0 | 7033869 | <reponame>Katie-Shields/adyen-dotnet-api-library<filename>Adyen/Model/Checkout/FraudCheckResult.cs
#region License
// /*
// * ######
// * ######
// * ############ ####( ###### #####. ###### ############ ############
// * ############# #####( ###### #####. ######... |
NGit.Test/NGit.Storage.File/T0003_BasicTest.cs | ashmind/ngit | 1 | 7033870 | <reponame>ashmind/ngit
/*
This code is derived from jgit (http://eclipse.org/jgit).
Copyright owners are documented in jgit's IP log.
This program and the accompanying materials are made available
under the terms of the Eclipse Distribution License v1.0 which
accompanies this distribution, is reproduced below, and is
... |
DOOM 2016+1/Doom2016/IncidentWorker_DOOMSpawner.cs | Mehni/SideProjects | 1 | 7033871 | <filename>DOOM 2016+1/Doom2016/IncidentWorker_DOOMSpawner.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse;
using UnityEngine;
using Harmony;
namespace Doom2016
{
public class IncidentWorker_DOOMSpawner : IncidentWorker
{
protected o... |
C#/Biblioteca01/Biblioteca01/Biblioteca01/F_CadLivro.Designer.cs | Ryan-Menezes/TCCBiblioteca | 3 | 7033872 | namespace Biblioteca01
{
partial class F_CadLivro
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... |
01 C# Intro, basic syntax and datatypes/EXE_IntroToCSharp/EXE_IntroMoreExercises/BPM/BPM.cs | stStoyanov93/SoftUni-TechModule-ProgrammingFundamentals-2017 | 0 | 7033873 | <reponame>stStoyanov93/SoftUni-TechModule-ProgrammingFundamentals-2017
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPM
{
class BPM
{
static void Main(string[] args)
{
int bpm = int.Parse(Console.ReadL... |
Assets/Scripts/System/LanguageManager.cs | DoubleAMJunior/EndlessGame | 0 | 7033874 | using System;
using System.Collections;
using UnityEngine;
public class LanguageManager : MonoBehaviour
{
private static LanguageManager _instance;
public static LanguageManager Instance
{
get
{
if (_instance==null)
{
GameObject go=GameObject.Find("... |
Ams.Utils/Document/Excel/NPOI/HSSF/Extractor/EventBasedExcelExtractor.cs | SkyGrass/hippos_api_vm | 0 | 7033875 | <filename>Ams.Utils/Document/Excel/NPOI/HSSF/Extractor/EventBasedExcelExtractor.cs
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for addit... |
FpvAngleMix/FpvAngleMix.cs | agehall/UCR-Plugins | 29 | 7033876 | using System.Reflection;
using HidWizards.UCR.Core.Attributes;
using HidWizards.UCR.Core.Models;
using HidWizards.UCR.Core.Models.Binding;
using HidWizards.UCR.Core.Utilities;
namespace FpvAngleMix
{
[Plugin("FPV Angle Mix", Group = "Axis", Description = "Simulate BetaFlight's feature of the same name")]
[Plu... |
SocialCareCaseViewerApi/V1/Boundary/Response/Phone.cs | moarpheus/social-care-case-viewer-api | 1 | 7033877 | namespace SocialCareCaseViewerApi.V1.Boundary.Response
{
public class Phone
{
/// <example>
/// 0123456789
/// </example>
public string PhoneNumber { get; set; }
/// <example>
/// Mobile
/// </example>
public string PhoneType { get; set; }
}
}
|
src/MDSCore/Organization/Routing/DistributionStrategyBase.cs | andmattia/dotnetmq | 189 | 7033878 | <reponame>andmattia/dotnetmq
/*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 <NAME>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (... |
Senai.Code.Solution/Senai.CodeTur.Dominio/Interfaces/Repositorio/IUsuarioRepositorio.cs | GabrielMelegaro/1s2020-3T-Codetur-Tarde | 0 | 7033879 | using Senai.CodeTur.Dominio.Entidades;
using System;
using System.Collections.Generic;
using System.Text;
namespace Senai.CodeTur.Dominio.Interfaces.Repositorio
{
public interface IUsuarioRepositorio
{
UsuarioDominio EfetuarLogin(string email, string senha);
}
}
|
Samples/DirectWrite/CustomLayout/CustomLayoutForm.Designer.cs | shoelzer/SharpDX | 0 | 7033880 | namespace CustomLayout
{
partial class CustomLayoutForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... |
test/DotnetDocument.Tests/Strategies/ConstructorStrategyTestsBase.cs | Selectorsvt/dotnet-document | 39 | 7033881 | using DotnetDocument.Configuration;
using DotnetDocument.Format;
using DotnetDocument.Strategies;
using DotnetDocument.Syntax;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Logging.Abstractions;
using Shouldly;
using Xunit;
namespace DotnetDocument.Tests.Strategies
{
/// <summary>
/// ... |
src/Legacy/Backends/Enrollment/Client/SwaggerDateConverter.cs | PelionIoT/mbed-cloud-sdk-dotnet | 8 | 7033883 | /*
* <auto-generated>
* Enrollment API
*
* Connect Enrollment Service allows users to claim the ownership of a device which is not yet assigned to an account. A device without an assigned account can be a device purchased from the open market (OEM dealer) or a device transferred from an account to another. More in... |
src/BlazorMobile.UWP/Services/ApplicationStoreService.cs | ScriptBox99/BlazorMobile | 429 | 7033884 | using BlazorMobile.Common.Helpers;
using BlazorMobile.Interop;
using BlazorMobile.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Streams;
using Xamarin.Forms.Internals;
namespac... |
Allfiles/Mod13/Labfiles/Starter/Contoso.Events/Contoso.Events.Worker/TableStorageQueueHelper.cs | MisinformedDNA/20532-DevelopingMicrosoftAzureSolutions | 0 | 7033885 | using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
namespace Contoso.Events.Worker
{
/// TODO: Exercise 10.2: Retrieving Messages from Azure Queue Storage
public class TableStorageQueueHelper : StorageHelper, IQueueHelper<CloudQueueMessage>
{
... |
test/Microsoft.AspNetCore.SignalR.Common.Tests/Internal/Protocol/MemoryBufferWriterTests.cs | ncthbrt/SignalR | 0 | 7033886 | <filename>test/Microsoft.AspNetCore.SignalR.Common.Tests/Internal/Protocol/MemoryBufferWriterTests.cs<gh_stars>0
// 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 System;
using System.Buffers;
usi... |
TCC.Core/Parsing/Messages/S_USER_STATUS.cs | sarisia/Tera-custom-cooldowns | 0 | 7033887 | using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_USER_STATUS : ParsedMessage
{
public bool IsInCombat { get; private set; }
public ulong EntityId { get; private set; }
public S_USER_STATUS(TeraMessageReader reader... |
CSharp/C# vol.1/OperatorsAndExpressions/CheckABitAtGive Position/BitAtGivePosition.cs | Nayaata/TelerikAcademyOnline_2015 | 0 | 7033888 | <reponame>Nayaata/TelerikAcademyOnline_2015
/* Problem 13. Check a Bit at Given Position
Write a Boolean expression that returns if the bit at position p (counting from 0, starting from the right)
in given integer number n, has value of 1. */
using System;
class BitAtGivenPosition
{
static void Main()
{
... |
River.Orqa.Editor/Dialogs/IPrintOptionsDialog.cs | stevencohn/Orqa | 2 | 7033889 | namespace River.Orqa.Editor.Dialogs
{
using River.Orqa.Editor;
using System;
using System.Windows.Forms;
public interface IPrintOptionsDialog
{
// Methods
void ResetAllowedOptions();
void ResetOptions();
DialogResult ShowDialog();
// Properties
Pr... |
EngineeringAcoustics.CurveControl/CurveControl/AppContainer.cs | EngineeringAcousticsInc/EngineeringAcoustics.CurveEditor | 422 | 7033890 | #region File Description
//-----------------------------------------------------------------------------
// AppContainer.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
... |
Assets/HUD/SkillButton.cs | Sebo2205/Sanic-Kolours | 1 | 7033891 | using UnityEngine;
using UnityEngine.UI;
public class SkillButton : MonoBehaviour {
public SkillSelect container;
public Text skillName;
public Image skillIcon;
Button btn;
public bool selected = false;
public int idx = 0;
void Start() {
btn = GetComponent<Button>();
if (!ski... |
src/Nager.Country.Translation/CountryTranslations/CongoCountryTranslation.cs | nager/Nager.Country | 40 | 7033892 | <reponame>nager/Nager.Country
namespace Nager.Country.Translation.CountryInfos
{
/// <summary>
/// DR Congo
/// </summary>
public class CongoCountryTranslation : ICountryTranslation
{
///<inheritdoc/>
public TranslationInfo[] Translations => new []
{
new Translati... |
src/Cosmos.Logging/Cosmos/Logging/Future/IFutureLogger.cs | alexinea/Cosmos.Logging | 1 | 7033893 | using System;
using Cosmos.Logging.Core;
using Cosmos.Logging.Core.LogFields;
using Cosmos.Logging.Events;
namespace Cosmos.Logging.Future {
/// <summary>
/// Future logger
/// </summary>
public interface IFutureLogger {
/// <summary>
/// Use fields
/// </summary>
/// <... |
Cognition.Shared/Configuration/IPermissionTokenProvider.cs | mdsol/cognition | 3 | 7033894 | <reponame>mdsol/cognition<filename>Cognition.Shared/Configuration/IPermissionTokenProvider.cs
namespace Cognition.Shared.Configuration
{
public interface IPermissionTokenProvider
{
string GetTokensForViewPublic();
string GetTokensForViewInternal();
string GetTokenForEdit();
stri... |
Assets/Scripts/GenerateHairMesh.cs | SiTae9317/PhotoAvatarTest | 0 | 7033895 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class GenerateHairMesh : MonoBehaviour
{
public GameObject point;
public Color manyUseColor = Color.black;
//public Texture2D testTex;
int width;
int height;
private Texture2D ha... |
src/Saunter/Generation/Filters/IChannelItemFilter.cs | RicoSuter/saunter | 107 | 7033896 | <filename>src/Saunter/Generation/Filters/IChannelItemFilter.cs
using System.Reflection;
using NJsonSchema.Generation;
using Saunter.AsyncApiSchema.v2;
using Saunter.Attributes;
namespace Saunter.Generation.Filters
{
public interface IChannelItemFilter
{
void Apply(ChannelItem channelItem, ChannelItemFi... |
GISShare.Controls.WinForm/WFNew/Forms/Interface/InterfaceNC/IUICollectionItemNC.cs | llzzhh/GISShare.Controls.WinForm | 6 | 7033897 | <filename>GISShare.Controls.WinForm/WFNew/Forms/Interface/InterfaceNC/IUICollectionItemNC.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace GISShare.Controls.WinForm.WFNew.Forms
{
public interface IUICollectionItemNC : IOffsetNC, ICollectionItem2, ICollectionItem3
{
bool H... |
Assets/Package/Tuntenfisch/Commons/Scripts/Attributes/Shaders/Editor/ShowIfDecorator.cs | Tuntenfisch/Tuntenfisch-Commons-Package | 0 | 7033898 | using System;
using System.Collections;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace Tuntenfisch.Commons.Attributes.Shaders.Editor
{
public class ShowIfDecorator : MaterialPropertyDrawer
{
#region Private Fields
private string m_keyword;
p... |
TournamentBracket/Data/DataContext.cs | QuinntyneBrown/tournament-bracket | 0 | 7033899 | using System.Data.Entity;
namespace TournamentBracket.Data
{
public class DataContext: DbContext, IDbContext
{
public DataContext()
: base(nameOrConnectionString: "TournamentBracketDataContext")
{
Configuration.ProxyCreationEnabled = false;
Configuration.Lazy... |
Tests/Routines.Test/Injected/LoggingConfiguration.cs | xsysfan/Routines | 4 | 7033900 | namespace DashboardCode.Routines.Logging.Test
{
public class LoggingConfiguration
{
public bool ActivityStart {get; set;} = true;
public decimal ActivityThresholdMSec {get; set; } = 0;
public bool BufferVerbose { get; set; } = true;
public bool VerboseWithStackTrace { get; ... |
Jw.Windows/OS.cs | wuqinchao/JwControls | 2 | 7033901 | <reponame>wuqinchao/JwControls<gh_stars>1-10
using Jw.Share;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Principal;
using System.Text;
namespace Jw.Windows
{
public class OS
{
public static System.OperatingSystem osInfo = System.En... |
sourceCode/dotNet4.6/wpf/src/Base/MS/Internal/IO/Packaging/XmlSignatureProperties.cs | csoap/csoap.github.io | 5 | 7033902 | <gh_stars>1-10
//-----------------------------------------------------------------------------
//
// <copyright file="XmlSignatureProperties.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved.
// </copyright>
//
// Description:
// Helper for XmlDigitalSignatureProcessor.
// Gener... |
ThreadingEssential/CAsync/02Threads.cs | iAvinashVarma/ThreadingEssential | 0 | 7033903 | <reponame>iAvinashVarma/ThreadingEssential
using LearnInfra.Interface;
using System;
using System.Threading;
namespace ThreadingEssential.CAsync
{
public class Threads : ILearner
{
private int total = 0;
private Random random = new Random();
public void Practice(string[] args)
{
Console.WriteLine("Start... |
HeroesData.Writer/Writers/MountData/MountDataWriter.cs | koliva8245/HeroesDataParser | 24 | 7033904 | <gh_stars>10-100
using Heroes.Models;
namespace HeroesData.FileWriter.Writers.MountData
{
internal abstract class MountDataWriter<T, TU> : WriterBase<Mount, T>
where T : class
where TU : class
{
protected MountDataWriter(FileOutputType fileOutputType)
: base(nameof(MountDat... |
ScadaServer/ScadaServer/ScadaServerCommon/Archives/CurrentArchiveLogic.cs | RapidScada/scada-v6 | 47 | 7033905 | /*
* Copyright 2021 Rapid Software 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... |
AtidRegister/Areas/Admin/Models/BulkCreateUsersViewModel.cs | avivnaaman/UnboxingTheFuture | 0 | 7033906 | using AtidRegister.Models;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AtidRegister.Areas.Admin.Models
{
/// <summary>
/// a ViewModel for bulk student creation in admin... |
src/NetCoreForce.Models/SfMailmergeTemplate.cs | nater540/NetCoreForce | 69 | 7033907 | <reponame>nater540/NetCoreForce
// SF API version v50.0
// Custom fields included: False
// Relationship objects included: True
using System;
using NetCoreForce.Client.Models;
using NetCoreForce.Client.Attributes;
using Newtonsoft.Json;
namespace NetCoreForce.Models
{
///<summary>
/// Mail Merge Template
///<para>... |
SharedLibraryCore/Helpers/PlayerHistory.cs | codadmin1/IW4M-Admin | 1 | 7033908 | using System;
namespace SharedLibraryCore.Helpers
{
public class PlayerHistory
{
// how many minutes between updates
public static readonly int UpdateInterval = 5;
public PlayerHistory(int cNum)
{
DateTime t = DateTime.UtcNow;
When = new DateTime(t.Year... |
KlaxRenderer/Scene/Commands/CreateUniqueMaterialCommand.cs | HenningAx/KlaxGameEngine | 1 | 7033909 | <gh_stars>1-10
using KlaxRenderer.RenderNodes;
using SharpDX.Direct3D11;
namespace KlaxRenderer.Scene.Commands
{
public class CCreateUniqueMaterialCommand : IRenderSceneCommand
{
public CCreateUniqueMaterialCommand(CMeshRenderNode targetNode)
{
m_targetNode = targetNode;
}
public bool TryExecute(Device ... |
Code/XpressTest/IVoidMockVerifier.cs | JonnyOrman/XpressTest | 0 | 7033910 | using System.Linq.Expressions;
namespace XpressTest;
public interface IVoidMockVerifier<TSut, TMock>
{
IMockCountVerifier<IVoidAsserter<TSut>> Should<TMockResult>(
Expression<Func<TMock, TMockResult>> expression
);
IMockCountVerifier<IVoidAsserter<TSut>> Should(
Func<IReadArrangement,... |
Main/Types/Blocks/Cobblestone_stairsBlock.cs | SharpenedMinecraft/SM1 | 0 | 7033911 | <reponame>SharpenedMinecraft/SM1
using SharpenedMinecraft.Types.Items;
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpenedMinecraft.Types.Blocks
{
public class Cobblestone_stairsBlock : Block
{
public override string BlockId => "minecraft:cobblestone_stairs";
... |
lib/Microsoft.Data.Services.Client/WCFDataService/Client/System/Data/Services/Client/SimpleLazy.cs | tapika/choco | 3 | 7033912 | // OData .NET Libraries ver. 5.6.3
// 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 withou... |
MovingCastles/Maps/TerrainSpawning.cs | AnotherEpigone/moving-castles | 0 | 7033913 | using GoRogue;
using GoRogue.GameFramework;
using Microsoft.Xna.Framework;
using MovingCastles.Fonts;
using SadConsole;
namespace MovingCastles.Maps
{
public static class TerrainSpawning
{
public static IGameObject SpawnDungeonTerrain(Coord position, bool mapGenValue)
{
return mapG... |
MachineLearningScroesSystem/GUI/Data/DataSet.cs | Palenoff/MLScoresSystem | 0 | 7033914 | using Python.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp.Data
{
public class DataSet
{
PyObject _dataset;
int _start;
int _finish;
int _max;
bool _t... |
src/KeyVault/KeyVault/Models/TagsHelper.cs | mbentancour/azure-powershell | 3,336 | 7033915 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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... |
src/OrchardCore.Modules/OrchardCore.Google/Startup.cs | zhangke4300/OrchardCore | 3 | 7033916 | using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Google;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Options;
using Orcha... |
src/Services/Catalog/Catalog.Domain/Entities/ModifierGroup.cs | caohoangtg/levafood | 0 | 7033917 | <filename>src/Services/Catalog/Catalog.Domain/Entities/ModifierGroup.cs
using Catalog.Domain.Common;
namespace Catalog.Domain.Entities
{
public class ModifierGroup : EntityBase
{
public string Name { get; private set; }
public ICollection<ProductModifierGroup> Products { get; private set; }
... |
GradeBook.DAL/Migrations/20180528192807_EnableCascadeDelete.cs | DenHaydash/gradebook-svc | 0 | 7033918 | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace GradeBook.DAL.Migrations
{
public partial class EnableCascadeDelete : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKe... |
Mustern/core-releases-v1.3/OsmSharp.Test/Osm/PBF/Streams/PBFOsmStreamTargetTests.cs | fakit/OSM-AutoCAD | 0 | 7033919 | <reponame>fakit/OSM-AutoCAD
// OsmSharp - OpenStreetMap (OSM) SDK
// Copyright (C) 2015 <NAME>
//
// This file is part of OsmSharp.
//
// OsmSharp is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either ve... |
templates/LogoFX.Templates.WPF/LogoFX.Templates.WPF.Model/DataService.cs | FeodorFitsner/cli-dotnet | 1 | 7033920 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using LogoFX.Client.Core;
using LogoFX.Core;
using LogoFX.Templates.WPF.Data.Contracts.Providers;
using LogoFX.Templates.WPF.Model.Contracts;
using LogoFX.Templates.WPF.Model.Mappers;
namespace LogoFX.Templ... |
Assets/Editor/TgaManager.cs | dreamsilver/HotUpdateSolution | 30 | 7033921 | <reponame>dreamsilver/HotUpdateSolution
using UnityEngine;
using UnityEditor;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
public class TgaManager {
private static Rege... |
Plugins/Lpp.Dns.HealthCare.Conditions/Data/ReportSelectionList.cs | Missouri-BMI/popmednet | 9 | 7033922 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lpp.Dns.HealthCare.Conditions.Data
{
public class ReportSelectionList
{
public readonly static ReportSelectionList age = new ReportSelectionList("AgeStratification", "Age", (int)ReportSelectionCode.Age);
... |
Src/Localization/LanguageCompatibleItem.cs | funwaywang/Banlan | 1 | 7033923 | <reponame>funwaywang/Banlan
using System;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Banlan
{
public class LanguageCompatibleItem
{
public LanguageCompatibleItem()
{
}
public LanguageCompatibleItem(CultureInfo cult... |
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Acm/AlibabaCloud/SDK/ROS/CDK/Acm/RosNamespaceProps.cs | aliyun/Resource-Orchestration-Service-Cloud-Development-K | 15 | 7033924 | <gh_stars>10-100
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Acm
{
#pragma warning disable CS8618
/// <summary>Properties for defining a `ALIYUN::ACM::Namespace`.</summary>
[JsiiByValue(fqn: "@alicloud/ros-cdk-acm.RosNamespaceProps")]
... |
tests/SlackConnector.Tests.Unit/SlackConnectionTests/SetChannelPurposeTests.cs | nadsmoo/SlackConnector | 0 | 7033925 | <filename>tests/SlackConnector.Tests.Unit/SlackConnectionTests/SetChannelPurposeTests.cs
using System;
using System.Threading.Tasks;
using Moq;
using Ploeh.AutoFixture.Xunit2;
using SlackConnector.Connections;
using SlackConnector.Connections.Clients.Channel;
using SlackConnector.Connections.Sockets;
using SlackConnec... |
BRGAME/Assets/Devdog/InventoryPro/Scripts/Integration/NodeCanvas/Tasks/Actions/ShowHideUIWindow.cs | PotentialGames/Cal-tEspa-l | 0 | 7033926 | #if NODE_CANVAS
using NodeCanvas.Framework;
using ParadoxNotion.Design;
using Devdog.General.UI;
namespace Devdog.InventoryPro.Integration.NodeCanvas{
[Category("InventoryPro")]
[Icon("InventoryPro", true)]
public class ShowHideUIWindow : ActionTask{
[RequiredField]
public BBParameter<UIWindow> window;
pub... |
Distributed-eStore.Services.Identity/src/Domain/User.cs | KrishnaVadlamudi44/Distributed-eStore | 104 | 7033927 | <reponame>KrishnaVadlamudi44/Distributed-eStore
using System;
using System.Text.RegularExpressions;
using DistributedEStore.Common.Types;
using Microsoft.AspNetCore.Identity;
namespace DistributedEStore.Services.Identity.Domain
{
public class User : IIdentifiable
{
private static readonly Regex EmailRe... |
src/Compilers/Core/Portable/Symbols/SymbolVisitor.cs | myblindy/roslyn | 8 | 7033928 | <filename>src/Compilers/Core/Portable/Symbols/SymbolVisitor.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
namespace Microsoft.CodeAnalysis
{... |
CoreSharp.NHibernate/Conventions/LazyLoadAttributeConvention.cs | maca88/CoreSharp | 7 | 7033929 | <reponame>maca88/CoreSharp
using System.Reflection;
using CoreSharp.DataAccess.Attributes;
using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.Instances;
namespace CoreSharp.NHibernate.Conventions
{
public class LazyLoadAttributeConvention : AttributePropertyConvention<LazyLoadAttribute>, IRefe... |
StateMachineLib/StateMachine/Exceptions/DuplicateStateException.cs | MaxLevs/META_FA | 0 | 7033930 | namespace StateMachineLib.StateMachine.Exceptions
{
public class DuplicateStateException : CoreSMException
{
public override string Message { get; }
public DuplicateStateException(State state, Machine machine)
{
Message = $"There almost is another state with the same name in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.