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 |
|---|---|---|---|---|
Server/TwainCloudServer/ApiModels/TCScannerRegisterInput.cs | yushulx/document-cloud-scan | 0 | 7030148 |
namespace TwainCloudServer.ApiModels
{
public class TCScannerRegisterInput
{
public string name;
public string description;
public string manufacturer;
public string model;
public string serial_number;
}
} |
module/ASC.Thrdparty/ASC.Thrdparty/Twitter/TwitterConsumer.cs | dev-nm/CommunityServer | 0 | 7030149 | <filename>module/ASC.Thrdparty/ASC.Thrdparty/Twitter/TwitterConsumer.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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:/... |
Storage/AzureDocumentDb/CollectionBase.cs | tmeadlin/ShoppingCartMSDN | 11 | 7030150 | <filename>Storage/AzureDocumentDb/CollectionBase.cs
using System.Threading.Tasks;
using AzureDocumentDb.Models;
namespace AzureDocumentDb
{
public class CollectionBase<T> : AzureDocCollection<T>, IDocumentCollection<T> where T : CollectionItemEntity
{
public CollectionBase(IAzureDocDatabase database... |
yafsrc/ServiceStack/ServiceStack/Interfaces/Web/IStreamWriter.cs | YAFNET/YAFNET | 390 | 7030151 | <reponame>YAFNET/YAFNET<filename>yafsrc/ServiceStack/ServiceStack/Interfaces/Web/IStreamWriter.cs
// ***********************************************************************
// <copyright file="IStreamWriter.cs" company="ServiceStack, Inc.">
// Copyright (c) ServiceStack, Inc. All Rights Reserved.
// </copyright... |
tests/JabberNet.Test/bedrock/collections/TrieNodeTest.cs | ForNeVeR/Jabber-Net | 38 | 7030152 | /* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.cursive.ne... |
samples/HotelBookingService/src/HotelBooking.Application/Commands/Handlers/CancelHotelBookingCommandHandler.cs | brenpike/Chatter | 1 | 7030153 | using Chatter.CQRS;
using Chatter.CQRS.Context;
using System;
using System.Threading.Tasks;
namespace HotelBooking.Application.Commands.Handlers
{
public class CancelHotelBookingCommandHandler : IMessageHandler<CancelHotelBookingCommand>
{
public Task Handle(CancelHotelBookingCommand message, IMessage... |
FactoryMode/AbstractMode/FemaleYellowHuman.cs | sikla/factory-mode | 0 | 7030154 | <reponame>sikla/factory-mode
using System;
namespace AbstractMode
{
public class FemaleYellowHuman : AbstractYellowHuman
{
public override void getSex()
{
Console.WriteLine("female");
}
}
} |
src/Rendering/SortingLayer.cs | Joonaxii/Console-Physics-Math-Demo-Thing | 0 | 7030155 | using System;
using System.Runtime.InteropServices;
namespace Joonaxii.Physics.Demo.Rendering
{
[StructLayout(LayoutKind.Explicit, Size = 4)]
public struct SortingLayer : IComparable<SortingLayer>
{
private static readonly string[] LAYERS = new string[] { "Default", "Background", "Foreground", "UI... |
SharpMapTracker/Share/Connection.cs | Codex-NG/sharpmaptracker | 27 | 7030156 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using SharpTibiaProxy.Network;
namespace SharpMapTracker.Share
{
public class Connection
{
private string host;
private int port;
private Socket socket;
public Conn... |
Chocolatey.Explorer/View/Forms/Settings.cs | mwrock/ChocolateyGUI | 1 | 7030157 | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Chocolatey.Explorer.CommandPattern;
using Chocolatey.Explorer.Commands;
using Chocolatey.Explorer.Extensions;
using Chocolatey.Explorer.Model;
using Chocolatey.Explorer.Services.PackagesService;
using Chocolatey.Explorer.Services.Setting... |
GUI/WpfMidiOrganPedals/UI/DataGridBehavior.cs | bjornhellander/MidiOrganPedals | 0 | 7030158 | <filename>GUI/WpfMidiOrganPedals/UI/DataGridBehavior.cs
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Windows;
using System.Windows.Controls;
namespace WpfMidiOrganPedals.UI
{
public static class DataGridBehavior
{
public static readonly DependencyP... |
Assets/Modeler/Code/Scripts/Selection.cs | karl-/simple_modeler | 4 | 7030159 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Modeler
{
/**
* Static class holds list of selected objects.
*/
public static class Selection
{
public static Dictionary<GameObject, ElementSelection> gameObjects = new Dictionary<GameObject, ElementSelection>();
publ... |
Scripts/hide.cs | adrianomatousek/Evade | 0 | 7030160 | <filename>Scripts/hide.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class hide : MonoBehaviour {
// Use this for initialization
void Start () {
StartCoroutine ("hidee");
}
// Update is called once per frame
public IEnumerator hidee () {
yield return new WaitFo... |
test/OSECore.Test/Object/TestObjectConverters.cs | opensharedearth/OSECore | 0 | 7030161 | using OSECore.Object;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using Xunit;
namespace OSECoreTest.Object
{
public class TestObjectConverters
{
[Fact]
public void TestAdd()
{
ObjectConverters.Add(new ObjectConverter(typeof(Sys... |
Assets/UI/JoinGameScreen.cs | NTC/Unity-DOTS-Multiplayer-XR-Sample | 15 | 7030162 | using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Net.NetworkInformation;
using System.Collections;
using System.Threading.Tasks;
using System.Threading;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
using Unity.Entities;
using Unity.NetCode;... |
src/EdFi.RtI.Core/Services/Catalogs/ICatalogService.cs | EdWire/Response-to-Intervention | 1 | 7030163 | <gh_stars>1-10
using EdFi.Ods.Api.Client.Models;
using EdFi.RtI.Core.DomainServiceProvider;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace EdFi.RtI.Core.Services.Catalogs
{
public interface ICatalogService : IDomainService
{
Task<School> GetS... |
sdk/src/Services/LexModelsV2/Generated/Model/DescribeBotVersionResponse.cs | ChristopherButtars/aws-sdk-net | 1,705 | 7030164 | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
src/Practice/CozyKxlol.Network/Msg/Msg_AgarSync.cs | zpublic/cozy | 48 | 7030165 | <filename>src/Practice/CozyKxlol.Network/Msg/Msg_AgarSync.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lidgren.Network;
namespace CozyKxlol.Network.Msg
{
public class Msg_AgarSync : MsgBase
{
public int Id { get { return MsgId.AgarSync; } }
pu... |
src/Shared/Recruit.Vacancies.Client/Infrastructure/OuterApi/OuterApiClient.cs | uk-gov-mirror/SkillsFundingAgency.das-recruit | 0 | 7030166 | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
namespace Esfa.Recruit.Vacancies.Client.Infrastructure.OuterApi
{
public class OuterApiClient : IOuterApiClient
{
private readonly Http... |
src/IO.Swagger.Test/Model/HotelCancellationResponseBookingHotelTests.cs | algebratec/travel-api-sdk-csharp | 0 | 7030167 | <reponame>algebratec/travel-api-sdk-csharp<gh_stars>0
/*
* Algebratec API
*
* Learn and test our api with ease
*
* OpenAPI spec version: 1.0.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
usin... |
FamilyTree.Application/Media/Videos/ViewModels/VideoVm.cs | VuacheslavSichkarenko/FamilyTree | 1 | 7030168 | <reponame>VuacheslavSichkarenko/FamilyTree
using System.IO;
namespace FamilyTree.Application.Media.Videos.ViewModels
{
public class VideoVm
{
public FileStream FileStream { get; set; }
public string FileType { get; set; }
}
}
|
Sources/Entities/Features/ApplicatedGame/IKifuParserAState.cs | muzudho/Kifuwarabe_DenouT2 | 0 | 7030169 | using Grayscale.Kifuwarane.Entities.ApplicatedGame.Architecture;
namespace Grayscale.Kifuwarane.Entities.ApplicatedGame
{
public interface IKifuParserAState
{
string Execute(string inputLine, TreeDocument kifuD, out IKifuParserAState nextState, IKifuParserA owner, ref bool toBreak, string hint);
... |
src/GoCardless.Api/Subscriptions/Subscription.cs | john-hartley/GoCardless.Api | 2 | 7030170 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace GoCardlessApi.Subscriptions
{
public class Subscription
{
public string Id { get; set; }
public int Amount { get; set; }
public int? AppFee { get; set; }
public int? Count { get; set; }
public Date... |
SmartValley.Data.SQL/Migrations/20180607142619_AllotmentEventHasBeenAdded.cs | SmartValleyEcosystem/smartvalley | 4 | 7030171 | <reponame>SmartValleyEcosystem/smartvalley
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SmartValley.Data.SQL.Migrations
{
public partial class AllotmentEventHasBeenAdded : Migration
{
protected override void Up(MigrationBuilder m... |
src/Xander.PasswordValidator/PasswordValidationSettings.cs | colinangusmackay/Xander.PasswordValidator | 4 | 7030172 | #region Copyright notice
/******************************************************************************
* Copyright (C) 2013 <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 ... |
PM/SysFolder/Common/RoleTree.aspx.cs | chen1993nian/CPMPlatform | 0 | 7030173 | using EIS.AppBase;
using EIS.DataAccess;
using EIS.Permission.Access;
using EIS.Permission.Model;
using EIS.Permission.Service;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Web.UI;
namespace EIS.Web.SysFolder.Common
{
public partial c... |
herental.BL/Commands/UpdateCart.cs | deemoowoor/herental | 0 | 7030174 | using herental.BL.Interfaces;
using log4net;
using System;
namespace herental.BL.Commands
{
public class UpdateCart : ICommand
{
public object Result
{
get
{
return null;
}
}
private readonly ILog Log = LogMan... |
samples/snippets/csharp/VS_Snippets_Remoting/WebClient_UploadValues/CS/webclient_uploadvalues.cs | broken240/dotnet-api-docs | 1 | 7030175 | // System.Net.WebClient.UploadValues(String,NameValueCollection)
/*
This program demonstrates the 'UploadValues(String,NameValueCollection)' method of "WebClient" class.
It accepts an Uri.Forms a 'NameValueCollection' instance using
a set of pre-defined name-value pairs. These are posted to the Uri provided as in... |
frameworks/CSharp/aspnet-mono-ngx/src/Views/Fortunes.cshtml | xsoheilalizadeh/FrameworkBenchmarks | 6 | 7030176 | @model IEnumerable<Benchmarks.AspNet.Models.Fortune>
<!DOCTYPE html>
<html>
<head>
<title>Fortunes</title>
</head>
<body>
<table>
<tr>
<th>id</th>
<th>message</th>
</tr>
@foreach (var fortune in Model)
{
<tr>
<td>@fortune.ID</td>
<td>@fortune.Message</td>
</tr>
}
</table>
</body>
</html>
|
Runtime/Logic/PlayerDetector.cs | studentutu/traVRsal-sdk | 29 | 7030177 | using UnityEngine;
namespace traVRsal.SDK
{
[AddComponentMenu("traVRsal/Player Detector")]
public class PlayerDetector : ExecutorConfig
{
public bool limitDetectionRadius = true;
[Tooltip("Cone of vision in case limit detection is activated")]
public float maxAngle = 70f;
... |
DoubleSocket.Example.Client/MainWindow.xaml.cs | Trigary/DoubleSocket | 1 | 7030178 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Net;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
using DoubleSocket.Client;
using DoubleSocket.Protocol;
using DoubleSo... |
TrashMob/Controllers/PartnerStatusesController.cs | ambientlight/TrashMob | 0 | 7030180 | <filename>TrashMob/Controllers/PartnerStatusesController.cs
namespace TrashMob.Controllers
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TrashMob.Shared.Persistence;
[ApiController]
[Route("api/partnerstatuses")]
public class PartnerStatusesController : ControllerBase
... |
src/BKind.Web/Areas/Editor/Pages/Domain/SavePageHandler.cs | hudo/b-kind | 4 | 7030181 | using System;
using System.Linq;
using System.Threading.Tasks;
using BKind.Web.Areas.Editor.Pages.Models;
using BKind.Web.Core;
using BKind.Web.Core.StandardQueries;
using BKind.Web.Infrastructure.Helpers;
using BKind.Web.Model;
using MediatR;
namespace BKind.Web.Areas.Editor.Pages.Domain
{
public class SavePageH... |
minotaur/src/Content/Readers/NullableReader.cs | mlunnay/minotaur | 1 | 7030182 | <filename>minotaur/src/Content/Readers/NullableReader.cs<gh_stars>1-10
using System;
using Minotaur.Core;
namespace Minotaur.Content
{
public class NullableReader<T> : ContentTypeReader<Nullable<T>> where T : struct
{
private ContentTypeReader typeReader;
public NullableReader()
: base(new Guid("544... |
src/Discord.Net/API/Client/Rest/SendFile.cs | jarveson/Discord.Net | 1 | 7030183 | <filename>src/Discord.Net/API/Client/Rest/SendFile.cs
using Newtonsoft.Json;
using System.IO;
namespace Discord.API.Client.Rest
{
[JsonObject(MemberSerialization.OptIn)]
public sealed class SendFileRequest : IRestFileRequest<Message>
{
string IRestRequest.Method => "POST";
string IRestRequ... |
Server/backend/Migrations/20210906150838_Initial.cs | aslakjohansen/ScalableTeachingInSTEM-VM-Deployment | 1 | 7030184 | <reponame>aslakjohansen/ScalableTeachingInSTEM-VM-Deployment<gh_stars>1-10
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace ScalableTeaching.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migr... |
kRPClient/MainWindow.xaml.cs | HukehrsEngineering/FlightDisplay | 0 | 7030185 | <filename>kRPClient/MainWindow.xaml.cs
using kRPCLib.Viewmodels;
using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using System;
using System.Net;
using System.Windows;
namespace kRPClient
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class M... |
src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/RemoteRazorProjectFileSystem.cs | adrianwright109/razor-tooling | 0 | 7030186 | <reponame>adrianwright109/razor-tooling<filename>src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/RemoteRazorProjectFileSystem.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
#nullable disable
using Syste... |
src/Persistence/MassTransit.EntityFrameworkCoreIntegration.Tests/ContextFactory.cs | felipecaputo/MassTransit | 1 | 7030187 | namespace MassTransit.EntityFrameworkCoreIntegration.Tests
{
using System.Reflection;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
public class ContextFactory : IDesignTimeDbContextFactory<SimpleSagaDbContext>
{
public SimpleSagaDbContext CreateDbContext... |
OpenSim/Tests/Common/Mock/TestHttpClientContext.cs | SignpostMarv/opensim | 24 | 7030188 | <filename>OpenSim/Tests/Common/Mock/TestHttpClientContext.cs
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... |
AlexaTVInfoSkill.Service/AppCache.cs | kmcoulson/AlexaTvInfoSkill | 0 | 7030189 | using System;
using System.Runtime.Caching;
namespace AlexaTVInfoSkill.Service
{
public class AppCache
{
public static bool Contains(string key)
{
return MemoryCache.Default.Contains(key);
}
public static object Get(string key)
{
return MemoryCa... |
C#/C# 2/3. Methods-HW/Say-Hello/SayHello.cs | petyakostova/Telerik-Academy | 15 | 7030190 | /* 1. Say Hello
Write a method that asks the user for his name and prints Hello, <name>!.
Write a program to test this method.
Example:
input output
Peter Hello, Peter!
*/
using System;
class SayHello
{
static void Main()
{
string inputName = Console.R... |
src/Roadkill.Web/Views/Help/MediaWikiReference.cshtml | coderIML/850.roadkillwiki.net | 329 | 7030191 | @model IEnumerable<TextToken>
@{
Layout = "~/Views/Shared/_Blank.cshtml";
}
<table id="helptable">
<thead>
<tr>
<th colspan="2">
MEDIA WIKI MARKUP REFERENCE
</th>
</tr>
</thead>
<tr>
<td class="bold">Bold</td>
<td>'''bold'''</td>
</tr>
<tr>
<td class="bold">Italic</td>
<td>... |
Engine/Results/RegressionResultHandler.cs | dmitriysychev/Lean | 1 | 7030192 | <reponame>dmitriysychev/Lean
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
ASCIITeam-ERP-2018-2019/ERP-ASCIITeam/ERP/Presentacion/Categories/DeleteCategorie.cs | jcalzadog/ASCIITeamERP | 0 | 7030193 | <reponame>jcalzadog/ASCIITeamERP<gh_stars>0
using ERP.Dominio;
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;
namespace ERP.Presentacion.Categories
{
... |
1. Desktop app calls Web API/TodoListService/Controllers/TodoListController.cs | eriawan/eriawan-active-directory-dotnet-native-aspnetcore-v2 | 1 | 7030194 | /*
The MIT License (MIT)
Copyright (c) 2018 Microsoft 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 the rights
to use, copy, modi... |
Fluffle.Main.Communication/Sync/ImageSyncModel.cs | NoppesTheFolf/Fluffle | 0 | 7030195 | <gh_stars>0
using MessagePack;
using Noppes.Fluffle.Constants;
using System.Collections.Generic;
namespace Noppes.Fluffle.Main.Communication
{
[MessagePackObject]
public class ImagesSyncModel : ITrackableModel<ImagesSyncModel.ImageModel>
{
[MessagePackObject]
public class ImageModel
... |
DiscordChatExporter.Cli/Verbs/ExportChannelVerb.cs | CryptoSwapper/DiscordChatExporter | 0 | 7030196 | <filename>DiscordChatExporter.Cli/Verbs/ExportChannelVerb.cs
using System;
using System.IO;
using System.Threading.Tasks;
using DiscordChatExporter.Cli.Internal;
using DiscordChatExporter.Cli.Verbs.Options;
using DiscordChatExporter.Core.Helpers;
using DiscordChatExporter.Core.Services;
using Tyrrrz.Extensions;
names... |
Test/HyperTooltips.Form.Test/Program.cs | vlastimil-construsoft/TeklaApplicationLibrary | 25 | 7030197 | #region Copyright (C) Tekla Corporation 2007
//
// All rights are reserved. Reproduction or transmission in whole or in part, in
// any form or by any means, electronic, mechanical or otherwise, is prohibited
// without the prior written permission of the copyright owner.
//
// Filename: Program.cs
//
#endregion
using... |
sources/DevExpress.MailClient.Win/Helpers/Accounts/Account.cs | svlcode/MailClient | 0 | 7030198 | namespace DevExpress.MailClient.Win.Helpers.Accounts
{
public class Account
{
public string Type { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Incoming { get; set; }
public string Outgoing { get; set; }
pu... |
src/sdk/entities/oa/TargetBroadcastGender.cs | zaloplatform/ZaloDotNetSDK | 5 | 7030199 | using System;
using System.Collections.Generic;
using System.Text;
namespace ZaloDotNetSDK.entities.oa
{
public class TargetBroadcastGender
{
private string value;
private TargetBroadcastGender(string value)
{
this.value = value;
}
public st... |
Assets/UniNotes/ProjectPrefs/Editor/ProjectPrefs.cs | Apelsin/CVRLabSJSU | 0 | 7030200 | using RotaryHeart.Lib.IniParser;
using System;
using UnityEngine;
namespace RotaryHeart.Lib.ProjectPreferences
{
public class ProjectPrefs
{
//Path to the .ini file where the data is going to be saved.
public static string AssetPath;
//Holds the reference for the parser.
priva... |
test/Arbor.KVConfiguration.Tests.Unit/Urn/when_getting_single_named_simple_instance_by_generic_type_and_multiple_sources.cs | niklaslundberg/Arbor.KVConfiguration | 5 | 7030201 | <gh_stars>1-10
using System.Collections.Immutable;
using System.Collections.Specialized;
using Arbor.KVConfiguration.Core;
using Arbor.KVConfiguration.Urns;
using Machine.Specifications;
namespace Arbor.KVConfiguration.Tests.Unit.Urn
{
[Subject(typeof(UrnKeyValueExtensions))]
public class when_getting_single_n... |
Utility/StringExtensions.cs | rougemeilland/ZipArchiveNormalizer | 0 | 7030202 | using System;
using System.Text;
using System.Collections.Generic;
using System.Collections;
using System.IO;
using System.Linq;
namespace Utility
{
public static class StringExtensions
{
private class StringEnumerable
: IEnumerable<char>
{
private class Enumerator
... |
ImageTools/Components/Draw/HatchPen.cs | psarras/Image-Tools | 0 | 7030204 | <gh_stars>0
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
using System.Drawing;
using System.Drawing.Drawing2D;
using Grasshopper.Kernel.Parameters;
using ImageTools.Utilities;
using ImageTools.Properties;
namespace ImageTools.Components.Draw
{
public class Hatch... |
src/VMelnalksnis.ISO20022DotNet/MessageSets/BankToCustomerCashManagement/V2/AccountReport/TransactionAgents2.cs | VMelnalksnis/ISO20022DotNet | 2 | 7030205 | <reponame>VMelnalksnis/ISO20022DotNet<filename>src/VMelnalksnis.ISO20022DotNet/MessageSets/BankToCustomerCashManagement/V2/AccountReport/TransactionAgents2.cs
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
namespace VMelnalksnis.ISO2... |
Shoko.Server/FileHelper/Subtitles/VobSubSubtitles.cs | notnyt/ShokoServer | 0 | 7030206 | <reponame>notnyt/ShokoServer
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using Shoko.Models.Server;
using NutzCode.CloudFileSystem;
using Shoko.Server.Models;
using Stream = Shoko.Models.PlexAndKodi.Stream;
namespace Shoko.Server.FileHelper.Subtitles
{
public class Vob... |
src/Autofac/ContainerBuilder.cs | alsami/Autofac | 3,740 | 7030207 | // Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using Autofac.Builder;
using Autofac.Core;
using Autofac.Core.Registration;
using Autofac.Features.Collections;
using Autof... |
Xen3D/Core/IDrawable3D.cs | raphaelmun/Xen | 2 | 7030208 | <reponame>raphaelmun/Xen<filename>Xen3D/Core/IDrawable3D.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Xen3D
{
/// <summary>
/// Reduced version of Microsoft.Xna.Framework.IDrawable.
/// </summary>
public interface IDrawable3D : I3DDisplayModifiers
{
... |
TankLib/STU/Types/STU_E45DEC4A.cs | Mike111177/OWLib | 1 | 7030209 | <filename>TankLib/STU/Types/STU_E45DEC4A.cs
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xE45DEC4A)]
public class STU_E45DEC4A : STU_1A4F2ADE {
}
}
|
src/ServerApi/Adnc.WebApi.Shared/Middleware/CustomAuthenticationMiddleware.cs | yushangbo/Adnc | 0 | 7030211 | <gh_stars>0
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Caching.Distributed;
using ... |
ETHDINFKBot/Handlers/SlashHandler.cs | steinraf/ETH-DINFK-Bot | 0 | 7030212 | using Discord;
using Discord.Rest;
using Discord.WebSocket;
using Discord.Interactions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord.Commands;
namespace ETHDINFKBot.Handlers
{
public class SlashHandler : InteractionModuleBase<Soc... |
LiveScoreCrawler/LSDataConnector/LSDatabase.cs | SXTrader/SXTrader | 2 | 7030213 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using MySql.Data.MySqlClient;
using System.Collections;
using System.Data;
using LSCommonObjects;
using System.ServiceModel;
using System.Net;
using System.IO;
using System.Xml;
using System.Threading;
namespace LSDataConnector
{
... |
src/Neo4jClient.Extension/Cypher/FluentConfig.cs | xafero/Neo4jClient.Extension | 13 | 7030214 | <gh_stars>10-100
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threa... |
source/R5T.T0073.Construction/Code/Documentation.cs | SafetyCone/R5T.T0073 | 0 | 7030215 | using System;
namespace R5T.T0073.Construction
{
/// <summary>
/// Construction project for IHasConfigureConfiguration interface..
/// </summary>
public static class Documentation
{
}
} |
System.ServiceModel/System/ServiceModel/Configuration/ComMethodElementCollection.cs | cnork/referencesource | 911 | 7030216 | //------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System.Collections;
using System.Co... |
src/KubeClient/Models/generated/HostAliasV1.cs | ahmelsayed/dotnet-kube-client | 0 | 7030217 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using YamlDotNet.Serialization;
namespace KubeClient.Models
{
/// <summary>
/// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
/// </summary>
public partial class ... |
Projects/Dotmim.Sync.Core/Serialization/DmBinaryConverter/DmUtils.cs | Violet26/Dotmim.Sync | 1 | 7030218 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Linq;
using System.Collections;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization;
using System.Diagnostics;
using System.Runtime... |
test/Dashboard.UnitTests/Indexers/FakeFunctionIndexVersionManager.cs | alpaix/azure-jobs | 0 | 7030219 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Dashboard.Data;
namespace Dashboard.UnitTests.Indexers
{
internal class FakeFunctionIndexVersionManager : IFu... |
tests/MassTransit.Containers.Tests/StructureMap_Tests/StructureMap_ConsumeContext.cs | steliyan/MassTransit | 0 | 7030220 | namespace MassTransit.Containers.Tests.StructureMap_Tests
{
using System.Threading.Tasks;
using Common_Tests;
using Common_Tests.ConsumeContextTestSubjects;
using NUnit.Framework;
using StructureMap;
public class StructureMap_ConsumeContext :
Common_ConsumeContext
{
readonl... |
Assets/Scripts/Notes/Note.cs | katout/NoteEditor | 261 | 7030221 | namespace NoteEditor.Notes
{
public class Note
{
public NotePosition position = NotePosition.None;
public NoteTypes type = NoteTypes.Single;
public NotePosition next = NotePosition.None;
public NotePosition prev = NotePosition.None;
public Note(NotePosition position, No... |
Assets/[Scripts]/EnemyBehavior.cs | LucasKrespi/GAME_2014_F2021_Lab7 | 0 | 7030222 | <filename>Assets/[Scripts]/EnemyBehavior.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyBehavior : MonoBehaviour
{
[Header("Movement")]
public float runForce;
public Transform lookAhead;
public Transform lookForward;
public LayerMask groundLayer... |
current/ReactWindows/ReactNative.Shared/Bridge/InvokeCallback.cs | tom-un/react-native-windows | 5 | 7030223 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Newtonsoft.Json.Linq;
namespace ReactNative.Bridge
{
/// <summary>
/// Delegate used to invoke JavaScript callbacks.
/// </summary>
/// <param name="callbackId">The callback identifier.</param>
//... |
PDFView(32bit Office) v2/PDFView(32bit Office) v2/PDFView(32bit Office) v2/ExcelAddIn4/Model2.Designer.cs | aaronuhmgmailcom/Financel | 2 | 7030224 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
src/MvvmDialogs.Avalonia/ViewWrapper.cs | mysteryx93/mvvm-dialogs | 1 | 7030225 | <reponame>mysteryx93/mvvm-dialogs
using Avalonia;
using MvvmDialogs.Wpf;
namespace MvvmDialogs.Avalonia;
/// <summary>
/// Holds a weak reference to a FrameworkElement.
/// </summary>
public class ViewWrapper : ViewBase
{
/// <summary>
/// Initializes a new instance of the <see cref="ViewWrapper"/> class and... |
ThreeSheeps.Tiled.PipelineExts/TxxObjectGroupContent.cs | dev-zzo/Spritesse | 0 | 7030226 | <reponame>dev-zzo/Spritesse
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace ThreeSheeps.Tiled
{
/// <summary>
/// The object entity, represented by the <object> tag.
/// </summary>
public class TxxObjectContent
{
/// <summary>
/// Object ID; unique.
... |
Pat.Subscriber.StructureMap4DependencyResolution/Logging/LoggerInstanceFactory.cs | codemonkeycornwall/Pat.Subscriber | 4 | 7030227 | <gh_stars>1-10
using System;
using Microsoft.Extensions.Logging;
using StructureMap.Building;
using StructureMap.Pipeline;
namespace Pat.Subscriber.StructureMap4DependencyResolution.Logging
{
public class LoggerInstanceFactory : Instance
{
public override IDependencySource ToDependencySource(Type plugi... |
src/Common/OfficeDrawing/Shapetypes/Seal24Type.cs | datadiode/B2XTranslator | 0 | 7030228 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace DIaLOGIKa.b2xtranslator.OfficeDrawing.Shapetypes
{
[OfficeShapeTypeAttribute(92)]
class Seal24Type : ShapeType
{
public Seal24Type()
{
this.ShapeConcentricFill = true;
... |
Passingwind.Blog.Core/Data/Domains/Post.cs | jxnkwlp/Passingwind.Blog | 5 | 7030229 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Passingwind.Blog.Data.Domains
{
public class Post : AuditTimeEntity
{
[Required, MaxLength(512)]
public string Title { get; set; }
[Required, MaxLength(256)]
public string Slug { get; set; }
public str... |
C# OOP Advanced/09-ExamPreparation-RecyclingStation/RecyclingStation/BusinessLayer/Data/ProcessingData.cs | Rusev12/Software-University-SoftUni | 0 | 7030230 | using RecyclingStation.WasteDisposal.Interfaces;
namespace RecyclingStation.BusinessLayer.Data
{
public class ProcessingData : IProcessingData
{
private double energyBalance;
private double capitalBalance;
public ProcessingData(double energyBalance, double capitalBalance)
{
... |
src/Forms/Prism.Forms.Regions/Regions/Adapters/FlyoutPageRegionAdapter.cs | bakerhillpins/Prism | 0 | 7030231 | <filename>src/Forms/Prism.Forms.Regions/Regions/Adapters/FlyoutPageRegionAdapter.cs
using Prism.Ioc;
using Prism.Regions.Behaviors;
using Xamarin.Forms;
namespace Prism.Regions.Adapters
{
internal class FlyoutPageRegionAdapter : RegionAdapterBase<FlyoutPage>
{
private readonly IContainerProvider _cont... |
Utilities.Media/Media/Image/BarCode/Symbologies/Code128B.cs | JoySky/Craig-s-Utility-Library | 2 | 7030232 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utilities.Media.Image.BarCode.Interfaces;
namespace Utilities.Media.Image.BarCode.Symbologies
{
public class Code128B : ISymbology
{
public Code128B(string Data)
{ }
... |
Solution/DirectoriesComparator/Win32/Utils.cs | scumware/DirectoriesComparator | 2 | 7030233 | using System;
using System.Runtime;
using System.Runtime.InteropServices.ComTypes;
namespace DirectoriesComparator.Win32
{
public static class Utils
{
[TargetedPatchingOptOut( "Performance critical to inline across NGen image boundaries" )]
public static System.Int64 ConcatenateItegers( System.Int32... |
SimpleCMS/SimpleCMS/Views/Page/CreateOrEdit.cshtml | bnji/SimpleCMS | 0 | 7030234 | @model SimpleCMS.ViewModels.PageCreateOrEditViewModel
@if (!@Request.IsAjaxRequest())
{
ViewBag.Title = @SimpleCMS.SimpleCMS.Resources.Blog.Resources.Create;
<h2>@SimpleCMS.SimpleCMS.Resources.Blog.Resources.Create</h2>
}
@using (Html.BeginForm(null, null, FormMethod.Post, new { @id = "CreatePage" }))
{
@... |
src/Rocks.SimpleInjector.Tests/NotThreadSafeCheck/Suts/SutWithMutableMembersWithThreadSafeAttribute.cs | JTOne123/Rocks.SimpleInjector | 0 | 7030235 | using System;
using System.Collections.Generic;
using Rocks.SimpleInjector.Attributes;
namespace Rocks.SimpleInjector.Tests.NotThreadSafeCheck.Suts
{
internal class SutWithMutableMembersWithThreadSafeAttribute
{
#pragma warning disable 169
[ThreadSafe]
private List<string> member;
#pragma warn... |
DddInPractice.Logic/Utils/SessionFactory.cs | Heucles/ddd-review-dot-net-core | 0 | 7030236 | using System.Reflection;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.AcceptanceCriteria;
using FluentNHibernate.Conventions.Helpers;
using FluentNHibernate.Conventions.Instances;
using NHibernate;
// This "using" statement i... |
DNN Platform/Library/Services/SystemDateTime/SystemDateTime.cs | liffeyd/Dnn.Platform | 941 | 7030237 | // 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 DotNetNuke.Services.SystemDateTime
{
using System;
using DotNetNuke.Data;
/// <summary>
... |
src/Stripe.net/Entities/Sources/StripeThreeDSecure.cs | tawfikkh/stripe-dotnet | 0 | 7030239 | using Newtonsoft.Json;
namespace Stripe
{
public class StripeThreeDSecure : StripeEntity
{
[JsonProperty("card")]
public string CardId { get; set; }
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("authenticated")]
public bool A... |
Projectiles/jungleblossomproj.cs | Fortanono/HavenMod | 2 | 7030240 | <filename>Projectiles/jungleblossomproj.cs
using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace HavenMod.Projectiles
{
public class jungleblossomproj : ModProjectile
{
public override void SetDefaults()
{
projectile.aiSt... |
BetterCrafting/BetterCraftingPage.cs | PhantomGamers/BetterCrafting | 2 | 7030241 | <gh_stars>1-10
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using StardewModdingAPI;
using StardewValley;
using StardewValley.Menus;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using s... |
ARDAL/Data/FechaMesCollectionWrite.cs | aamartin2k/AReporte | 0 | 7030242 | using AReport.Support.Interface;
using AReport.Support.Entity;
using System.Collections.ObjectModel;
using AReport.DAL.Writer;
using System;
namespace AReport.DAL.Data
{
class FechaMesCollectionWrite : CollectionWriteBase<FechaMes>, ICollectionWrite<FechaMes>
{
public bool WriteCollection(Co... |
src/Areas/Manage/Controllers/ActivitiesController.cs | FosolSolutions/coevent.api | 1 | 7030243 | <filename>src/Areas/Manage/Controllers/ActivitiesController.cs
using CoEvent.Core.Mvc;
using CoEvent.Core.Mvc.Filters;
using CoEvent.Data.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
namespace CoEvent.Api.Areas.Manage.Controllers
{
/// <summary>
/// Activ... |
Cloud Enter/Epi.Web.Common/Message/TokenRequest.cs | 82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing | 1 | 7030244 | <filename>Cloud Enter/Epi.Web.Common/Message/TokenRequest.cs
using System.Runtime.Serialization;
using Epi.Web.Enter.Common.MessageBase;
namespace Epi.Web.Enter.Common.Message
{
/// <summary>
/// Respresents a security token request message from client to web service.
/// </summary>
[DataContract(Name... |
src/MethodBoundaryAspect.Fody/Ordering/InvalidAspectConfigurationException.cs | NilFusion/MethodBoundaryAspect.Fody | 141 | 7030245 | <reponame>NilFusion/MethodBoundaryAspect.Fody<filename>src/MethodBoundaryAspect.Fody/Ordering/InvalidAspectConfigurationException.cs
using System;
namespace MethodBoundaryAspect.Fody.Ordering
{
public class InvalidAspectConfigurationException : Exception
{
public InvalidAspectConfigurationException(str... |
ITVComponents.UserInterface.DefaultLayouts/Config/DockLayoutItemCollection.cs | ITVenture/ITVComponents | 0 | 7030246 | <filename>ITVComponents.UserInterface.DefaultLayouts/Config/DockLayoutItemCollection.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ITVComponents.UserInterface.DefaultLayouts.Config
{
[Serializable]
public class DockLayoutItemCollection : L... |
mcs/errors/cs0418-4.cs | lefb766/mono | 469 | 7030247 | // CS0418: `Foo': an abstract class cannot be sealed or static
// Line: 3
public abstract partial class Foo
{
public string myId;
}
public sealed partial class Foo
{
public string Id { get { return myId; } }
}
public class PartialAbstractCompilationError
{
public static void Main ()
{
System.Console.WriteLine (... |
Tests/TableDependency.SqlClient.IntegrationTest/Issue53Test.cs | rubensro/tableD | 1 | 7030249 | <reponame>rubensro/tableD
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TableDependency.Enums;
using TableDependency.EventArgs;
using TableDependency.SqlClient.BaseTests;
na... |
MultiMiner.Stats.Tests/ApiContextTests.cs | larrycameron80/MultiMiner-1 | 0 | 7030250 | <reponame>larrycameron80/MultiMiner-1<filename>MultiMiner.Stats.Tests/ApiContextTests.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MultiMiner.Stats.Data;
namespace MultiMiner.Stats.Api.Tests
{
[TestClass]
public class ApiContextTests
{
[TestMethod]
public void... |
src/NAME.Core/NAMEContext.cs | Mozcatel/name-sdk | 14 | 7030251 | using System;
using System.Collections.Generic;
using System.Text;
namespace NAME.Core
{
/// <summary>
/// Represents the current NAME context.
/// </summary>
public class NAMEContext
{
/// <summary>
/// Gets or sets the service dependency current number of hops.
/// </summ... |
Public/Src/Utilities/Configuration/ContainerIsolationLevel.cs | miniksa/BuildXL | 448 | 7030252 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace BuildXL.Utilities.Configuration
{
/// <summary>
/// The level of isolation for a given process when running in a container
/// </summary>
[Flags]
public enum ContainerI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.