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 |
|---|---|---|---|---|
src/Business/MetadataKeys.cs | fpommerening/Statiq.revealjs | 0 | 7040867 | namespace FP.Statiq.RevealJS.Business
{
public class MetadataKeys
{
public const string SlideDeskAccess = "Access";
public const string SlideDeskTitle = "Title";
public const string SlideDeskDescription = "Description";
public const string SlideDeskTheme = "Theme";
publi... |
mcs/tests/gtest-autoproperty-13.cs | lefb766/mono | 469 | 7040868 | <gh_stars>100-1000
using System;
public struct S
{
public int X { get; }
public int Y { get; }
public S ()
{
X = 4;
Y = X;
}
public static int Main()
{
var s = new S ();
if (s.Y != 4)
return 1;
return 0;
}
}
|
Photon PUN 2 Exploration/Assets/mfDev XR/Scripts/Input/Input Listeners/XR2DAxisInputListener.cs | mfitzer/Photon-PUN-2-Exploration | 0 | 7040870 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace mfDev.XR.Input
{
[Serializable]
public abstract class XR2DAxisInputListener : XRInputListener
{
[Tooltip("Which input feature to retrieve 2D axis input from.")]
public XRController2DAxisI... |
Console/ConsoleCandyShop/ConsoleCandyShop/ConsoleCandyShop/Installers/DatabaseContextInstaller.cs | merkelAlbert/CandyShop | 0 | 7040871 | using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using ConsoleCandyShop.DAL;
using ConsoleCandyShop.Interfaces;
using ConsoleCandyShop.Services;
namespace ConsoleCandyShop.Installers
{
public class DatabaseContextInstaller: IWindsorInstaller
{
... |
src/Application/Projects/EventHandlers/ProjectCreated/EmailNotificationHandler.cs | NikiforovAll/ca-template | 8 | 7040872 | // Copyright (c) <NAME>, 2021. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace NikiforovAll.CA.Template.Application.Projects.EventHandlers.ProjectCreated;
using MediatR;
using NikiforovAll.CA.Template.Application.Interface... |
MeLembreFinal/MeLembreFinal/Helpers/Util.cs | keplernicolai/MeLembreFinal | 0 | 7040873 | <reponame>keplernicolai/MeLembreFinal
using Realms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MeLembreFinal.Helpers
{
public class Util
{
public static Realm GetInstanceRealm()
{
var config = new Re... |
Models/ViewModels/WishListItemViewModel.cs | krilliman/Verk2h14 | 0 | 7040874 | namespace BookCave.Models.ViewModels
{
public class WishListItemViewModel
{
public int Id { get; set; }
public int BookId { get; set; }
public string BookName { get; set; }
public int UserId { get; set; }
public string Image { get; set; }
public string Description... |
PerplexKraken/Constants.cs | PerplexInternetmarketing/PerplexKraken | 3 | 7040875 | <gh_stars>1-10
using System.ComponentModel;
namespace Kraken
{
internal enum enmMethod
{
upload,
url,
}
public enum EnmIsKrakable
{
MissingCredentials = 1,
Unkrakable = 2,
Krakable = 3,
Kraked = 4,
Original = 5,
}
internal enum EnmK... |
CSharpTraining/Day2/Code/Lesson5.cs | myopicmage/CSharpTraining | 0 | 7040876 | using System;
using System.Collections.Generic;
namespace CSharpTraining.Day2.Lesson5
{
public class Lesson5
{
public void Exercise()
{
// your code
}
}
} |
src/EFCoreExtend.Redis/EFCache/RedisHelper.cs | stonysong/EFCoreExtend | 13 | 7040877 | <filename>src/EFCoreExtend.Redis/EFCache/RedisHelper.cs<gh_stars>10-100
using Newtonsoft.Json;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EFCoreExtend.Redis.EFCache.Helper
{
public static class ... |
BlitzkriegSoftware.Tenant.FileProvider/FileTenantDataProvider.cs | mjeson/CoreTenantHelpers | 0 | 7040878 | <reponame>mjeson/CoreTenantHelpers<gh_stars>0
using BlitzkriegSoftware.Tenant.Libary;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Text;
namespace BlitzkriegSoftware.Tenant.FileProvider
{
/// <summary>
/// Tenant Da... |
src/Marten/Events/Operations/EstablishTombstoneStream.cs | mkooiman/marten | 0 | 7040879 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
using Marten.Internal;
using Marten.Internal.Operations;
using Marten.Schema;
using Marten.Storage;
using Marten.Util;
using Npgsql;
using NpgsqlTypes;
namespace Marten.Events.Ope... |
TpacTool/ViewModel/ModelViewModel.cs | szszss/TpacTool | 39 | 7040881 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Media3D;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using Microsoft.Win32;
using TpacTool.IO;
using TpacTool.Lib;
using Tpac... |
Source/Skynet.Server.Api/Controllers/CalendarEntryController.cs | aaronphilips/skynet-server | 0 | 7040882 | <filename>Source/Skynet.Server.Api/Controllers/CalendarEntryController.cs
using System.Linq;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Skynet.Server.Core.Requests;
namespace Skynet.Server.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class Ca... |
Source/Mosa.Workspace.Kernel.Debug/Mod/Mosa.Runtime.x86/Mod.Native.cs | arakis/MOSA-Project | 0 | 7040883 | // Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
namespace Mosa.Runtime.x86
{
/// <summary>
/// Provides stub methods for selected x86 native assembly instructions.
/// </summary>
public static unsafe class Native
{
#region Intrinsic
public static void Lidt(uint address)
{... |
src/4. Uncluttering Your Inbox/Views/MessageView.xaml.cs | raudut/Infernet-asthme | 226 | 7040884 | <gh_stars>100-1000
// 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.
namespace UnclutteringYourInbox.Views
{
using System.Collections.Generic;
using System.Co... |
Views/Home/Mantenimiento.cshtml | Khahory/Prog3 | 0 | 7040885 | <reponame>Khahory/Prog3
@{
ViewBag.Title = "Mantenimiento";
}
<h2>Mantenimiento</h2>
<div class="row">
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="https://i.ibb.co/7b3sxJK/3.jpg" alt="3" border="0">
<div class="caption">
<h3>D... |
src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.cs | nimaller/azure-powershell | 3 | 7040886 | namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130
{
using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions;
/// <summary>Resource tags</summary>
public partial class SystemAssignedIdentityTags :
Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.... |
IndustryTower/DAL/ITTContext.cs | MehdiValinejad/industrytower | 1 | 7040887 | <filename>IndustryTower/DAL/ITTContext.cs<gh_stars>1-10
using IndustryTower.Models;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Conventions;
//*************************CopyToSeed ... |
Update/MicroApi.Update/MicroUpdateApi.cs | JonnyOrman/MicroApi | 0 | 7040888 | <filename>Update/MicroApi.Update/MicroUpdateApi.cs
using Microsoft.Extensions.DependencyInjection;
namespace MicroApi.Update;
public static class MicroUpdateApi
{
public static MicroUpdateApiBuilder<T, TKey, TParameters, TUpdater> New<T, TKey, TParameters, TUpdater>(string[] args)
where T : Entity<TKey>
... |
EShop.FrontEnd.Services/ViewModels/RefinementGroup.cs | michael2xiang/EShop.FrontEnd | 0 | 7040890 | using System.Collections.Generic;
namespace EShop.FrontEnd.Services.ViewModels
{
public class RefinementGroup
{
public string Name { get; set; }
public int GroupId { get; set; }
public IEnumerable<Refinement> Refinements { get; set; }
}
}
|
BasicDesk.App/obj/Debug/netcoreapp2.1/Razor/Areas/Management/Pages/Reports/Index.g.cshtml.cs | LyuboslavKrastev/BasicDesk-Project-CSharp-MVC-Frameworks-ASP.NET-Core | 1 | 7040892 | #pragma checksum "C:\Users\Zorko\Documents\BasicDesk\BasicDesk-Project-CSharp-MVC-Frameworks-ASP.NET-Core\BasicDesk.App\Areas\Management\Pages\Reports\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e46e1c7a63893d2669f456e8114750aecc9ac7ee"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Mi... |
tests/CQELight.MVVM.Tests/BaseErrorViewModel.Tests.cs | sputier/CQELight | 0 | 7040893 | using CQELight.TestFramework;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace CQELight.MVVM.Tests
{
public class BaseErrorViewModelTests : BaseUnitTestClass
{
#region Ctor & members
private class TestErrorViewModel : BaseErrorV... |
CompletedDemo/CompletedDemo/Migrations/201402111821286_TweakSPROC.cs | jbrittan/Demo-EF6Simple | 0 | 7040894 | namespace CompletedDemo.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class TweakSPROC : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.BlogCreationLog",
c => new
{
... |
Scripts/PlayerDataHandler.cs | Joseph-King02/Demon-Hunters | 0 | 7040895 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerDataHandler : MonoBehaviour {
private SpriteRenderer PlayerSpriteRenderer; //Stores the objects sprite renderer.
private Color originalColor; //Stores the original color for later use with changing color on hit event... |
TwinsaityEditor/Editors/BehaviorEditor.Designer.cs | TheBetaM/twinsanity-editor | 12 | 7040896 | <filename>TwinsaityEditor/Editors/BehaviorEditor.Designer.cs<gh_stars>10-100
using System.Drawing;
using System.Data;
using System.Diagnostics;
using System.Windows.Forms;
using Microsoft.VisualBasic;
using System.Collections.Generic;
using System.Collections;
using System;
namespace TwinsaityEditor
{
[global::Mic... |
RUCPs/RUCPs/Packets/Channel.cs | yazZ3va/RUCP | 1 | 7040897 | <reponame>yazZ3va/RUCP<filename>RUCPs/RUCPs/Packets/Channel.cs
/* BSD 3-Clause License
*
* Copyright (c) 2020, <NAME> (yazZ3va)
* All rights reserved. */
using System;
using System.Collections.Generic;
using System.Text;
namespace RUCPs.Packets
{
public static class Channel
{
public c... |
MacString/MacStringOption.cs | sazae657/MacString | 0 | 7040898 | <filename>MacString/MacStringOption.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace MacString
{
/// <summary>
/// オプション
/// </summary>
[Flags]
public enum MacStringOption : uint
{
/// <summary>
/// デフォ
/// </summary>
Default = 0... |
samples/CSharp.Sample/Program.cs | joahim/fslugify | 11 | 7040899 | using System;
using System.Collections.Generic;
using Microsoft.FSharp.Collections;
using static FSlugify.SlugGenerator;
namespace CSharp.Sample
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("This is a series of examples on how to use the SlugGenerator!\n");... |
BCVP.Repository/PermissionRepository.cs | fanyinlei123/BCVP | 2 | 7040900 | using BCVP.IRepository;
using BCVP.IRepository.UnitOfWork;
using BCVP.Model.Models;
using BCVP.Repository.Base;
namespace BCVP.Repository
{
public class PermissionRepository : BaseRepository<Permission>, IPermissionRepository
{
public PermissionRepository(IUnitOfWork unitOfWork) : base(unitOfWork)
... |
src/Advanced.CMS.Compare/ContentCompareInitializer.cs | advanced-cms/advanced-compare | 1 | 7040901 | using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using EPiServer.ServiceLocation;
using EPiServer.Web;
namespace Advanced.CMS.Compare
{
[ModuleDependency(typeof(EPiServer.Web.InitializationModule))]
public class ContentCompareInitializer : IConfigurableModule
{
public void Conf... |
HeboTech.Wiper/MainWindow.xaml.cs | hbjorgo/Wiper | 0 | 7040902 | using HeboTech.Wiper.Dialogs;
using HeboTech.Wiper.IO;
using System.Windows;
namespace HeboTech.Wiper
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
... |
Assets/Chinar/Scripts/ChinarDragSwapImage.cs | ChinarG/Swap-icon-locations | 5 | 7040903 | <reponame>ChinarG/Swap-icon-locations<filename>Assets/Chinar/Scripts/ChinarDragSwapImage.cs
// ========================================================
// 描述:Demo 02 —— 通过继承 + 接口实现 图片拖动替换位置。
// 作者:Chinar
// 创建时间:2019-04-29 16:39:11
// 版 本:1.0
// ========================================================
using DG.Tweenin... |
src/DAL/ReconNess.Data.Npgsql/Migrations/20200909214003_AddAgentPlusPlus.cs | slooppe/reconness | 267 | 7040904 | <gh_stars>100-1000
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace ReconNess.Data.Npgsql.Migrations
{
public partial class AddAgentPlusPlus : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
... |
src/AssemblyDefender.PE/PESection.cs | nickyandreev/AssemblyDefender | 8 | 7040905 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using AssemblyDefender.Common.IO;
namespace AssemblyDefender.PE
{
public class PESection
{
#region Fields
private string _name;
private uint _virtualSize;
private uint _vi... |
Source/CompRandomisableRecipe/CompRandomisableProducts.cs | spdskatr/CompRandomisableProducts | 0 | 7040906 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
namespace CompRandomisableProducts
{
public class DefLowUpperTripleWeighted : DefLowUpperTriple
{
public float weight = 1f;
}
public class PickOneOutOfRangeWeighte... |
src/Infrastructure/Riganti.Utils.Infrastructure.Azure.TableStorage/TableEntityMappers/TypeNameTableEntityMapper.cs | Leeemons/infrastructure | 61 | 7040907 | <reponame>Leeemons/infrastructure
using System;
namespace Riganti.Utils.Infrastructure.Azure.TableStorage
{
public class TypeNameTableEntityMapper : TableEntityMapperBase
{
public override string GetTable(Type type)
{
return type.Name;
}
}
}
|
COMCMS.Web/Areas/AdminCP/Views/Member/AddMemberRole.cshtml | AllenBrook/comcms_core | 5 | 7040908 |
@{
ViewBag.title = "添加新用户组";
}
<div class="wrapper wrapper-content ">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>@ViewBag.Title</h5>
<div class="ibox-tools">
</div>
</div>
<div class="ibox-content">
<div class="alert ... |
UnitTests/RegModReadTests.cs | Zapeth/Sharp86 | 1 | 7040909 | <reponame>Zapeth/Sharp86<filename>UnitTests/RegModReadTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using Topten.Sharp86;
namespace UnitTests
{
public class RegModReadTests : CPUUnitTests
{
#region Mode 00
[Fact]
public void... |
EvntrApp/Evntr.Core/Services/INavigationService.cs | guischaurich/Maratona-Xamarin | 72 | 7040910 | <reponame>guischaurich/Maratona-Xamarin
// INavigationService.cs
//
using System;
using System.Threading.Tasks;
using Evntr.Core.ViewModels;
namespace Evntr.Core.Services
{
public interface INavigationService
{
Task InitializeAsync();
Task NavigateToAsync<TViewModel>() where TViewModel : ViewModelBase;
Task ... |
sources/engine/Stride.Rendering/Rendering/Materials/ComputeColors/IComputeColorParameter.cs | hjred/stride | 2,251 | 7040911 | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using Stride.Core.Annotations;
namespace Stride.Re... |
src/Neo.Compiler.MSIL/Optimizer/NefInstruction.cs | NewEconoLab/neo-devpack-dotnet | 1 | 7040912 | <filename>src/Neo.Compiler.MSIL/Optimizer/NefInstruction.cs
using Neo.VM;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Neo.Compiler.Optimizer
{
[DebuggerDisplay("Offset={Offset}, OpCode={OpCode}")]
public class NefInstruction : INefItem
{
private stati... |
ASPPatterns.allcode/ASPPatterns07/ASPPatterns.Chap7.Library/ASPPatterns.Chap7.Library.Services/Mappers/BookExtensionMethods.cs | codeyu/ASPNETCore-Design-Patterns | 4 | 7040913 | <filename>ASPPatterns.allcode/ASPPatterns07/ASPPatterns.Chap7.Library/ASPPatterns.Chap7.Library.Services/Mappers/BookExtensionMethods.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ASPPatterns.Chap7.Library.Services.Views;
using ASPPatterns.Chap7.Library.Model;
n... |
Assets/_SCRIPTS/BackGroundMove.cs | priscillavasconcelos/ChaDeBebe | 0 | 7040914 | <reponame>priscillavasconcelos/ChaDeBebe<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BackGroundMove : MonoBehaviour
{
public Transform criaAqui;
public float velocidade;
public bool primeiro = false;
// Use this for initialization
void Start ()... |
src/Nanomite.Core.Network.Common/Grpc/GrpcResponse.cs | andre-laskawy/nonomite-services-grpc | 0 | 7040915 | <reponame>andre-laskawy/nonomite-services-grpc
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GrpcResponse.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Goog... |
src/GraphQL/Types/ISchema.cs | SebastianStehle/graphql-dotnet | 1 | 7040916 | using System;
using System.Collections.Generic;
using GraphQL.Conversion;
using GraphQL.Introspection;
namespace GraphQL.Types
{
/// <summary>
/// The schema for the GraphQL request. Contains references to the 'query', 'mutation', and 'subscription' base graph types.
/// <br/><br/>
/// Also allows for ... |
Src/DartSharp/Compiler/Parser.cs | tgsstdio/DartSharp | 0 | 7040917 | <filename>Src/DartSharp/Compiler/Parser.cs
namespace DartSharp.Compiler
{
using DartSharp.Commands;
using DartSharp.Expressions;
using DartSharp.Language;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
public class Parser
{
private s... |
ClearScript/HostObject.cs | Nir1812/ClearScript | 1 | 7040918 | <reponame>Nir1812/ClearScript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices.ComTypes;
using Microsoft.ClearScript.Util;
namespace Microsoft.ClearScript
{
internal... |
OpenNefia.Core/Containers/EntInsertedIntoContainerEventArgs.cs | Zechsu/OpenNefia | 38 | 7040919 | <filename>OpenNefia.Core/Containers/EntInsertedIntoContainerEventArgs.cs
using JetBrains.Annotations;
using OpenNefia.Core.GameObjects;
namespace OpenNefia.Core.Containers
{
/// <summary>
/// Raised when an entity is inserted into a container.
/// </summary>
[PublicAPI]
public sealed class EntInser... |
NullCheck.Console/NotNullCondition.cs | MeilCli/NullCheck | 0 | 7040920 | <gh_stars>0
using static System.Console;
namespace NullCheck.Console
{
public static class NotNullCondition
{
public static class Reference
{
public static void NotEqualOperator(string? value)
{
if (value != null)
{
Wr... |
src/Core/Monitor/MessageSourceProvider.cs | snakefoot/Loupe.Agent.Core | 6 | 7040921 | <filename>src/Core/Monitor/MessageSourceProvider.cs
using System.Runtime.CompilerServices;
namespace Gibraltar.Monitor
{
/// <summary>
/// A basic class to determine the source of a log message and act as an IMessageSourceProvider.
/// </summary>
/// <remarks>This class knows how to acquire inform... |
src/Nut.ResxBridge/ResxCodeModel.cs | Archway-SharedLib/Nut.ResxBridge | 0 | 7040922 | <filename>src/Nut.ResxBridge/ResxCodeModel.cs
using Microsoft.CodeAnalysis.CSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Nut.ResxBridge
{
public class ResxCodeModel
{
private List<ResxMemberCodeM... |
PowerAppAdvisorClient/Models/PowerAppsAdvisorResponse.cs | malaker/PowerAppsTools | 0 | 7040923 | namespace Malaker.PowerAppsTools.PowerAppAdvisorClient.Models
{
using System;
public class PowerAppsAdvisorResponse
{
public PowerAppsAdvisorResponse(string tenantId, Guid correlationId)
{
this.TenantId = tenantId;
this.CorrelationId = correlationId;
}
... |
AutoHelp/Views/Dll/_Typebaselist.cshtml | RaynaldM/autohelp | 51 | 7040925 | <script id="typebaselist-template" type="text/x-handlebars-template">
{{#each this}}
<a href="#" data-id="{{Id}}" data-namespace="{{namespace}}" class="list-group-item">
<h5 class="list-group-item-heading hideOverflow">{{Name}}</h5>
<div class="list-group-item-text">
<small>{{Summar... |
App_Code/_common.cshtml | madcompg33k/BuSushi | 0 | 7040926 | <gh_stars>0
@functions{
public static bool IsBeforeToday(string value){
DateTime result;
if (DateTime.TryParse(value.ToString(), out result)){
if (result < DateTime.Now){return true;}
} return false;
}
public static Customer getCustomer(){
Customer c = null;
... |
Microwalk.FrameworkBase/PluginBase.cs | UzL-ITS/Microwalk | 25 | 7040927 | <gh_stars>10-100
namespace Microwalk.FrameworkBase
{
public abstract class PluginBase
{
/// <summary>
/// Registers all framework modules of this plugin.
/// </summary>
public abstract void Register();
}
} |
src/IBM.WatsonDeveloperCloud.PersonalityInsights.v3/IPersonalityInsightsService.cs | anlblci/dotnetwatson | 0 | 7040928 | <reponame>anlblci/dotnetwatson
/**
* Copyright 2018 IBM Corp. 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/licenses/LICENSE-2.0
*
* Unle... |
src/AmplaData/Binding/History/UnconfirmRecordEventDectection.cs | Ampla/Ampla-Data | 0 | 7040929 | using System.Collections.Generic;
using AmplaData.Records;
namespace AmplaData.Binding.History
{
public class UnconfirmRecordEventDectection : RecordEventDectection
{
public UnconfirmRecordEventDectection() : base("Unconfirm record")
{
}
public override List<AmplaRecordChanges... |
Tsu.CLI/Commands/CompiledCommand.cs | GGG-KILLER/GUtils.NET | 1 | 7040930 | // Copyright © 2021 <NAME> <<EMAIL>>
//
// 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,
... |
src/WebSaleDistribute/WebSaleDistribute/Core/InputOption.cs | bezzad/SaleOnlineReporter | 4 | 7040931 | <gh_stars>1-10
using System;
using WebSaleDistribute.Core.Enums;
namespace WebSaleDistribute.Core
{
/// <summary>
/// http://www.w3schools.com/tags/tag_input.asp
/// </summary>
public class InputOption
{
/// <summary>
/// Combo element id attribute
/// </summary>
pu... |
Editor/Editors/StratusSceneLinkTriggerableEditor.cs | Azurelol/Stratus-Core | 0 | 7040932 | <filename>Editor/Editors/StratusSceneLinkTriggerableEditor.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using System;
namespace Stratus.Editor
{
[CustomEditor(typeof(StratusSceneLinkTriggerable))]
public class StratusSceneLinkTriggerableEditor : TriggerableEdi... |
Applications/TestApp.Cli/Commands/HostedServiceCommand.cs | li-rongcheng/NetCoreUtils | 0 | 7040933 | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using TestApp.Cli.HostedServices.Demo;
using Serilog;
using Serilog.Events;
using System;
using System.Collections.Generic;
using System.IO;
using System.Tex... |
Assets/TrackingTools/Runtime/ProjectorFromCameraExtrinsicsEstimator.cs | cecarlsen/TrackingToolsForUnity | 25 | 7040934 | <reponame>cecarlsen/TrackingToolsForUnity<filename>Assets/TrackingTools/Runtime/ProjectorFromCameraExtrinsicsEstimator.cs
/*
Copyright © <NAME> 2020
http://cec.dk
Based on and inspired by the following (but written from scratch).
<NAME> and <NAME> did a workshop in 2011.
http://artandcode.com/3d/workshops/4a-... |
Assets/src code/Characters/NPC/npc_bird.cs | PixelBrownieSoftware/othermind-pipedreamer-ii-src | 0 | 7040935 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class npc_bird : PDII_character
{
public int worms = 0;
new void Start()
{
terminalspd = 25f;
AI = true;
WorldsToAcess.Add("seasonal_forest");
control = true;
jump_height = 25.5f;... |
src/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderAttributes.cs | Realtao/corefx | 3 | 7040936 | <reponame>Realtao/corefx
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
using Xunit;
namespace System.Reflection.Emit.Tes... |
BeeTex.Web/BeeTex.Data/Entity/Enums/WayOfDelivery.cs | kalinailieva/BeeTex | 0 | 7040937 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeeTex.Data.Entity.Enums
{
public enum WayOfDelivery : int
{
ShippungByCourier = 1,
TakeFromTheWarehouse = 2
}
}
|
src/Destiny.Core.Flow/Modules/ApplicationContext.cs | chengxulvtu/Destiny.Core.Flow | 1 | 7040938 | using Destiny.Core.Flow.Dependency;
using Destiny.Core.Flow.Extensions;
using System;
namespace Destiny.Core.Flow.Modules
{
/// <summary>
/// 应用上下文
/// </summary>
public class ApplicationContext : IServiceProviderAccessor
{
public IServiceProvider ServiceProvider { get; set; }
pub... |
src/Unrect.Strategies/Row/TakeToRowStrategy.cs | jasonmcboyd/Unrect | 0 | 7040939 | using System;
using Unrect.Core;
namespace Unrect.Strategies
{
internal class TakeToRowStrategy<TSpace> : IRowStrategy<TSpace>
{
public TakeToRowStrategy(Func<ISpace<TSpace>, uint, bool> predicate, bool keepMatchingRow)
{
Predicate = predicate;
KeepMatchingRow = keepMatchingRow;
}
pri... |
Source/BooLangStudioSpecs/Intellisense/WhenShowingIntellisenseForNamespaceSuggestion.cs | jagregory/boolangstudio | 3 | 7040940 | <filename>Source/BooLangStudioSpecs/Intellisense/WhenShowingIntellisenseForNamespaceSuggestion.cs
using System.Reflection;
using Xunit;
namespace Boo.BooLangStudioSpecs.Intellisense
{
public class WhenShowingIntellisenseForNamespaceSuggestion : BaseCompilerContext
{
[Fact]
public void IncludeSu... |
msftbandlib/src/BandSocketInterface.cs | RavenLiquid/msftbandlib | 0 | 7040941 | <reponame>RavenLiquid/msftbandlib
using System;
using System.Threading.Tasks;
using MSFTBandLib.Command;
namespace MSFTBandLib {
/// <summary>
/// Band socket interface
/// </summary>
public interface BandSocketInterface : IDisposable {
/// <summary>Connect to a Band.</summary>
/// <param name="mac">Ba... |
BackEnd/Timeline/Services/Imaging/ImageException.cs | crupest/Timeline | 5 | 7040942 | <gh_stars>1-10
using System;
using System.Globalization;
namespace Timeline.Services.Imaging
{
[Serializable]
public class ImageException : Exception
{
public enum ErrorReason
{
/// <summary>
/// Decoding image failed.
/// </summary>
... |
backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/Visitors/FilterFactory.cs | andrewcampkin/squidex | 1 | 7040943 | <reponame>andrewcampkin/squidex
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.... |
src/AgentMulder.Containers.Autofac/Patterns/FromAssemblies/BasedOn/AsImplementedInterfaces.cs | SirDuke/AgentMulder | 37 | 7040944 | <reponame>SirDuke/AgentMulder
using System.Collections.Generic;
using System.Linq;
using AgentMulder.ReSharper.Domain.Patterns;
using AgentMulder.ReSharper.Domain.Registrations;
using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch;
using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch.Placeh... |
Colorful.Compression/7Zip/Arguments/Commands.cs | fryg123/Colorful.AspNetCore | 0 | 7040945 | <reponame>fryg123/Colorful.AspNetCore<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SevenZipNET.Arguments
{
/// <summary>
/// The list of commands that can be used with 7za.
/// </summary>
public enum SevenZipCo... |
CornerstoneRemoteControlClient/Helpers/RelayCommand.cs | LECOSoftware/Remote-Control-Client-Application | 2 | 7040946 | <gh_stars>1-10
// Copyright © LECO Corporation 2013. All Rights Reserved.
using System;
using System.Diagnostics;
using System.Windows.Input;
namespace CornerstoneRemoteControlClient.Helpers
{
/// <summary>
/// A command whose sole purpose is to relay its functionality to other
/// objects by in... |
02. C# Part 2/03. Methods/06.FirstLargerThanNeighbours/FirstLargerThanNeighbours.cs | DimitarGaydardzhiev/TelerikAcademy | 0 | 7040947 | /*
Problem 6. First larger than neighbours
Write a method that returns the index of the first element in array that is larger than its neighbours,
or -1 , if there’s no such element.
Use the method from the previous exercise.
*/
using System;
using System.Collections.Generic;
using System.Linq;
class LargerThanNeighb... |
api/src/Units/Moves.cs | sydd2005/CivOne | 14 | 7040948 | // CivOne
//
// To the extent possible under law, the person who associated CC0 with
// CivOne has waived all copyright and related or neighboring rights
// to CivOne.
//
// You should have received a copy of the CC0 legalcode along with this
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
us... |
Uml.Robotics.XmlRpc/HttpHeader.cs | glmnet/ROS.NET | 16 | 7040949 | <gh_stars>10-100
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
namespace Uml.Robotics.XmlRpc
{
internal enum HttpHeaderField
{
Accept = 0,
Accept_Charset = 1,
Accept_Encoding = 2,
Accept_Language = 3,
Accept_Range... |
Bamboo.Base/host/Bamboo.Base.Web.Host/Pages/Index.cshtml.cs | andmattia/bamboomodules | 22 | 7040950 | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
namespace Bamboo.Base.Pages
{
public class IndexModel : BasePageModel
{
public void OnGet()
{
}
public async Task OnPostLoginAsync()
{
await HttpContext.ChallengeAsync("oi... |
UnityProject/Assets/HoloToolkit/Input/Scripts/InputSources/IInputSource.cs | h3mpti/QrCodes | 4 | 7040951 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using UnityEngine;
namespace HoloToolkit.Unity.InputModule
{
/// <summary>
/// Flags used to indicate which input events are supported by an i... |
Source/Miriwaku.Target.cs | TheHoodieGuy02/Miriwaku | 1 | 7040952 | // Idol Model (C) BANDAI NAMCO ENTERTAINMENT Inc. Code (C) THG
using UnrealBuildTool;
using System.Collections.Generic;
public class MiriwakuTarget : TargetRules
{
public MiriwakuTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.V2;
ExtraModuleName... |
src/Kaponata.Multimedia/FFmpeg/UnixError.cs | kaponata-io/kaponata | 10 | 7040953 | <filename>src/Kaponata.Multimedia/FFmpeg/UnixError.cs
// <copyright file="UnixError.cs" company="Quamotion bv">
// Copyright (c) Quamotion bv. All rights reserved.
// </copyright>
namespace Kaponata.Multimedia.FFmpeg
{
/// <summary>
/// Lists common Unix error codes.
/// </summary>
public enum UnixErr... |
src/GroupDocs.Viewer.UI.Core/IFileCache.cs | groupdocs-viewer/GroupDocs.Viewer-for-.NET-UI | 1 | 7040954 | <filename>src/GroupDocs.Viewer.UI.Core/IFileCache.cs
using System.Threading.Tasks;
namespace GroupDocs.Viewer.UI.Core
{
public interface IFileCache
{
TEntry TryGetValue<TEntry>(string cacheKey, string filePath);
Task<TEntry> TryGetValueAsync<TEntry>(string cacheKey, string filePath);
... |
src/Windows/lxssex.WindowManager/Systems/ApplicationState.cs | DjArt/lxssex | 3 | 7040955 | using System;
namespace lxssex.WindowManager.Systems
{
[Flags]
public enum ApplicationState : uint
{
Suspended = 0x0,
Background = 0x1,
Foreground = 0x2,
Stopped = 0x4,
}
}
|
src/SFA.DAS.EAS.Support.ApplicationServices/Services/AccountHandler.cs | SkillsFundingAgency/das-support-employerapprenticeshipservice | 1 | 7040956 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SFA.DAS.EAS.Support.ApplicationServices.Models;
using SFA.DAS.EAS.Support.Core.Models;
using SFA.DAS.EAS.Support.Infrastructure.Services;
using SFA.DAS.Support.Shared.SearchIndexModel;
namespace SFA.DAS.EAS.Support.ApplicationSer... |
src/Skimur.Web/Views/Shared/_LoginModal.cshtml | skimurio/Skimur | 1 | 7040957 | <div id="login-modal" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a href="#signin-tab" aria-controls="home" role="tab" data-toggle="tab">Login... |
myFirstGameXNA/Pong.cs | TZCraft-NSR/myFirstXNAGame | 1 | 7040958 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framewo... |
src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Semantic/Services/SemanticTokensEditsDiffer.cs | dotnet/aspnetcore-tooling | 68 | 7040959 | <filename>src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Semantic/Services/SemanticTokensEditsDiffer.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using ... |
PTK/Components/2_Element.cs | CSDG-DDL/PTK | 12 | 7040960 | using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using Rhino.Geometry;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PTK
{
public class PTK_Element : GH_Component
{
public PTK_Element()
: base("Element", "Ele... |
MysterySpam/GUI.cs | MysterY-official/MysterySpam | 0 | 7040961 | <gh_stars>0
using MaterialSkin;
using MaterialSkin.Controls;
using System;
using System.Windows.Forms;
using System.Windows.Input;
using GlobalHotKey;
using System.Threading;
using WindowsInput;
using WindowsInput.Native;
using System.Linq;
using System.Runtime.InteropServices;
namespace MysterySpam
{
public part... |
zUnitTestsForSolution/addin testing/AddInTesting.cs | BrentKnowles/YourOtherMind | 1 | 7040962 | // AddInTesting.cs
//
// Copyright (c) 2013 <NAME> (http://www.brentknowles.com)
//
// 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 r... |
Enterprise/Desktop/UserSummaryComponent.cs | econmed/ImageServer20 | 1 | 7040963 | #region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright not... |
Source/TrainEngine/EngineClasses/Engine.cs | PGBSNH20/the-train-track-barista-group-3 | 0 | 7040964 | <filename>Source/TrainEngine/EngineClasses/Engine.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace TrainEngine
{
public class Engine : IEngine
{
private bool isRunning;
public Engine()
{
isRunning = false;
}
public void Start(... |
Docs/SQL/Project/Model/Aluno.cs | LuisGuerraa/CollegeWork | 4 | 7040965 | <filename>Docs/SQL/Project/Model/Aluno.cs
using System;
namespace TP2.Model
{
public class Aluno
{
public Aluno() { }
public int Numero { get; set; }
public String CC { get; set; }
public String Nome { get; set; }
public String Morada { get; set; }
public DateT... |
test/Spring/Spring.Data.Tests/Data/Core/TxScopeTransactionManagerTests.cs | swalters/spring-net | 697 | 7040966 | <reponame>swalters/spring-net
#region License
/*
* Copyright � 2002-2011 the original author or 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.a... |
code/Core/Instructions/Instruction.cs | wingez/G-CPU | 0 | 7040967 | <reponame>wingez/G-CPU<filename>code/Core/Instructions/Instruction.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Instructions
{
public class Instruction
{
public string Name { get; set; }
public ... |
MalwareMultiScan.Backends/Backends/ClamavScanBackend.cs | bhardwajRahul/MalwareMultiScan | 265 | 7040968 | <reponame>bhardwajRahul/MalwareMultiScan
using System.Text.RegularExpressions;
using MalwareMultiScan.Backends.Backends.Abstracts;
using MalwareMultiScan.Backends.Services.Interfaces;
namespace MalwareMultiScan.Backends.Backends
{
/// <inheritdoc />
public class ClamavScanBackend : AbstractLocalProcessScanBack... |
src/DebugLogger.cs | Tricklebyte/SQLProcTester | 0 | 7040969 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace SQLProcTester
{
public static class DebugLogger
{
public static string CreateErrorDetail(string objectName, string exception, string innerException = null)
{
string errMsg = $"ERR... |
ReqIFSharp/AttributeValue/ExternalObject.cs | philipparndt/reqifsharp | 0 | 7040970 | // -------------------------------------------------------------------------------------------------
// <copyright file="ExternalObject.cs" company="RHEA System S.A.">
//
// Copyright 2017 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ex... |
src/Lupusec2Mqtt/Mqtt/Homeassistant/Devices/Switch.cs | ChrisKeck/Lupusec2Mqtt | 4 | 7040971 | using Lupusec2Mqtt.Lupusec;
using Lupusec2Mqtt.Lupusec.Dtos;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lupusec2Mqtt.Mqtt.Homeassistant.Devices
{
public class Switch : Device, IDevice, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.