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 |
|---|---|---|---|---|
Solutions/Corvus.Leasing.InMemory/Corvus/Leasing/Internal/InMemoryLeaseProvider.cs | corvus-dotnet/Corvus.Leasing | 0 | 7034456 | // <copyright file="InMemoryLeaseProvider.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Corvus.Leasing.Internal
{
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Corvus.Leasing.Exceptions;
/// ... |
OracleConnect.cs | Nelli-Venkatesh/OracleConnect | 0 | 7034457 | <reponame>Nelli-Venkatesh/OracleConnect<filename>OracleConnect.cs
using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OracleConnect
{
public class db
{
public static Orac... |
VerlofVerzoekVerwerkerDemo/VVV.UI/Views/Shared/_Huisstijl/_KEMBITLayout.cshtml | mischarouleaux/VerlofVerzoekVerwerkerDemo | 0 | 7034458 | <filename>VerlofVerzoekVerwerkerDemo/VVV.UI/Views/Shared/_Huisstijl/_KEMBITLayout.cshtml
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KEMBIT ExpenseClaim - @ViewBag.Title</title>
<link rel="apple-touch-icon" sizes=... |
SeeGitApp/Models/GitEdge.cs | g0t4/SeeGit | 0 | 7034459 | <filename>SeeGitApp/Models/GitEdge.cs
namespace SeeGit.Models
{
using System.Collections.Generic;
using System.Linq;
using BclExtensionMethods;
using QuickGraph;
using Vertices;
public class GitEdge : TaggedEdge<GitVertex, IList<string>>
{
public GitEdge(GitVertex source, GitVertex ta... |
MsgReader/Rtf/DomShape.cs | seppu/EWSAsposePDFDemo | 0 | 7034460 | namespace MsgReader.Rtf
{
/// <summary>
/// Rtf shape element
/// </summary>
internal class DomShape : DomElement
{
#region Properties
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
/// <summary>
/// Left ... |
Assets/02.Scripts/AppTrackingTransparency/AppTrackingTransparency.cs | BuffStudio-PublicDev/UnityBridgeAppTracking | 15 | 7034461 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.InteropServices;
using AOT;
namespace Util.AD
{
public class AppTrackingTransparency
{
public class AppTrackingCallBackData
{
public int statusCode;
}
... |
aspnet-core/src/MyTestingProject.Application/Services/TimeModel.cs | dejanjaredic/TestProjectForLogging | 1 | 7034462 | using System;
using System.Collections.Generic;
using System.Text;
using Abp.Domain.Entities;
namespace MyTestingProject.Services
{
public class TimeModel : Entity
{
public DateTime DateTime { get; set; }
}
}
|
Tests/Base/TestProvName.cs | Arithmomaniac/linq2db | 0 | 7034463 | <filename>Tests/Base/TestProvName.cs
using System;
namespace Tests
{
public static class TestProvName
{
public const string SqlAzure = "SqlAzure.2012";
public const string MariaDB = "MariaDB";
public const string MySql57 = "MySql57";
public const string Firebird3 ... |
src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.JsonTranscoding/Internal/Json/AnyConverter.cs | lbosquett/aspnetcore | 8,570 | 7034464 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text.Json;
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using Grpc.Shared;
using Type = System.Type;
namespace Microsoft.AspNetCore.Grpc.JsonTranscoding... |
tests/Faker.Tests/Common/AddressTests.cs | AdmiringWorm/Faker.NET.Portable | 17 | 7034465 | using NUnit.Framework;
namespace Faker.Tests.Common
{
public class AddressTests
{
[Test]
[Repeat(1000)]
public void Should_Get_City_Prefix()
{
string[] existingPrefixies = Resources.Address.CityPrefix.Split(Config.SEPARATOR);
string prefix = Address.CityPrefix();
Assert.That(new[] { prefix }, Is.... |
src/RefinedQuery/Querying/IQueryPredicateBuilder.cs | edujtm/RefinedQuery | 1 | 7034466 | <filename>src/RefinedQuery/Querying/IQueryPredicateBuilder.cs
using System;
using System.Linq.Expressions;
namespace RefinedQuery.Querying
{
public interface IQueryPredicateBuilder<T, TProperty, Q, QProperty>
{
void ThatMatches(Expression<Func<TProperty, QProperty, bool>> predicate);
}
}
|
src/ExternalApiExamples/Clients/Programmes/SchoolCoursesExternalExtensions.cs | kmdstudica/external-api-examples | 1 | 7034467 | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Kmd.Studica.Programmes.Client
{
using Models;
using System.Threading;
using System.Threading.Tasks;
///... |
Pilot.Web/Model/DataObjects/PObject.cs | Rubius/Pilot.Web | 4 | 7034468 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Ascon.Pilot.DataClasses;
using Pilot.Web.Tools;
namespace Pilot.Web.Model.DataObjects
{
public class PObject
{
public PObject(INObject source, INMetadata metadata, IReadOnlyDictionary<int, INPerson> people)
... |
Puffin.Infrastructure.MonoGame/Drawing/MonoGameDrawingSurface.cs | deengames-prototypes/puffin | 7 | 7034469 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Puffin.Core.Ecs;
using Puffin.Core.Ecs.Components;
using Puffin.Core.Events;
using Puffin.Core.Drawing;
using Puffin.Core.Tiles;
using SpriteFontPlus;
using System.Collections.Generic;
using System.IO;
using System;
using System.Lin... |
Blog/Shared/_Layout.cshtml | BloggerNet/BloggerSharp | 0 | 7034470 | @using Wyam.Common.Documents;
@using Wyam.Common.Execution;
@using Wyam.Common.Configuration;
@using Wyam.Common.Meta;
@{
var context = Context as IExecutionContext;
var model = Model as IDocument;
IReadOnlySettings settings = context.Settings;
IMetadata metadate = model.Metadata;
}
<!DOCTYPE html>
<h... |
SolidRpc.Test.Vitec/Types/Economy/Models/DepositData.cs | aarrgard/solidrpc | 2 | 7034471 | using System.CodeDom.Compiler;
using System;
using System.Runtime.Serialization;
namespace SolidRpc.Test.Vitec.Types.Economy.Models {
/// <summary>
///
/// </summary>
[GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")]
public class DepositData {
/// <summary>
/// Erlagd
/// ... |
Assets/AI/RangerSpawner.cs | sppt-2019/Unity-FSharp | 6 | 7034472 | <gh_stars>1-10
using UnityEngine;
public class RangerSpawner : MonoBehaviour
{
public GameObject RangerPrefab;
public GameObject FRP_RangerPrefab;
public int NumberOfRangers;
public Vector2 XBoundary;
public Vector2 ZBoundary;
public bool UseFRP = false;
// Start is called befo... |
UnitTests/RemoteService/Process1CLauncherKitTest.cs | iremezoff/urbd | 0 | 7034473 | using Ugoria.URBD.RemoteService.Kit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.Threading;
namespace UnitTests
{
/// <summary>
///This is a test class for Process1CLauncherKitTest and is intended
///to contain all Process1... |
src/AasxWpfControlLibrary/DispEditHelper.cs | BirgitBoss/aasx-package-explorer | 0 | 7034474 | <reponame>BirgitBoss/aasx-package-explorer<filename>src/AasxWpfControlLibrary/DispEditHelper.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System... |
src/System.Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/NativeFormat/NativeFormatRuntimeGenericParameterTypeInfoForMethods.UnificationKey.cs | kouvel/corert | 3,223 | 7034475 | <filename>src/System.Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/NativeFormat/NativeFormatRuntimeGenericParameterTypeInfoForMethods.UnificationKey.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System... |
FuelTrackerApi/Data/DevDbSeeder.cs | PFSoftware/FuelTrackerApi | 0 | 7034476 | using FuelTrackerApi.Models.Domain;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FuelTrackerApi.Data
{
public class DevDbSeeder
{
private AppDbContext _context;
public DevDbSeeder()
{
}
public async Task SeedDatabase(AppDbC... |
JSBuild/Utils/FileReader.cs | jon49/JSBuild | 0 | 7034477 | <filename>JSBuild/Utils/FileReader.cs
using System.Text;
namespace JSBuild.Utils
{
internal class FileReader : IDisposable
{
private readonly FileData _file;
private readonly ESBuild? _esbuild;
private readonly FileStream? _stream;
private readonly StreamReader _reader;
... |
ExcelMapper/TypeMapperFactory.cs | wahmedswl/ExcelMapper | 370 | 7034478 | using System;
using System.Collections.Generic;
using System.Dynamic;
namespace Ganss.Excel
{
/// <summary>
/// A caching factory of <see cref="TypeMapper"/> objects.
/// </summary>
public class TypeMapperFactory : ITypeMapperFactory
{
Dictionary<Type, TypeMapper> TypeMappers { get; set; }... |
modules/SeedModules.Setup/Controllers/HomeController.cs | fyl080801/dotnet-seed | 2 | 7034479 | <gh_stars>1-10
using Microsoft.AspNetCore.Mvc;
using SeedModules.AngularUI.Filters;
using SeedModules.AngularUI.Models;
using SeedModules.AngularUI.Rendering;
namespace SeedModules.Setup.Controllers
{
public class HomeController : Controller
{
readonly IViewOptionsBuilder _optionsBuilder;
read... |
CodeSharingSample/RealWorldStocks.Core/Models/PersistentCollection.cs | matthidinger/RealWorldStocksWinJS | 0 | 7034480 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using RealWorldStocks.Core.Logging;
namespace RealWorldStocks.Core.Models
{
public abstract class PersistentCollection<TCollection, TItem> : ObservableCollection<T... |
src/Umbraco.Core/Notifications/SendEmailNotification.cs | rustybox/Umbraco-CMS | 2 | 7034481 | <filename>src/Umbraco.Core/Notifications/SendEmailNotification.cs
using Umbraco.Cms.Core.Models.Email;
namespace Umbraco.Cms.Core.Notifications
{
public class SendEmailNotification : INotification
{
public SendEmailNotification(NotificationEmailModel message) => Message = message;
public Notif... |
src/Intercom.Tests/Clients/TagsClientTest.cs | netspark/intercom-dotnet | 63 | 7034482 | <reponame>netspark/intercom-dotnet<gh_stars>10-100
using System;
using System.Collections.Generic;
using Intercom.Clients;
using Intercom.Core;
using Intercom.Data;
using Intercom.Exceptions;
using Intercom.Factories;
using Moq;
using Newtonsoft.Json;
using NUnit.Framework;
using RestSharp;
using RestSharp.Authenticat... |
DrumbleApp.Shared/Infrastructure/Services/Api/Uber/Model/UberTime.cs | CodeObsessed/drumbleapp | 0 | 7034483 | <gh_stars>0
using System;
namespace DrumbleApp.Shared.Infrastructure.Services.Api.Uber.Model
{
internal sealed class UberTime
{
public Guid ProductId { get; private set; }
public int TimeEstimateInSeconds { get; private set; }
public UberTime(Guid productId, int estimateInSeconds)
... |
Samples/CustomErrorHandling/DataAccess/LineItemFactory.cs | RobinsonMW/csla | 0 | 7034484 | <gh_stars>0
using Csla;
using Csla.Server;
using BusinessLibrary;
namespace DataAccess
{
public class LineItemFactory : ObjectFactory
{
public LineItemFactory(ApplicationContext applicationContext)
: base(applicationContext) { }
public LineItem Create()
{
var obj = ApplicationContext.Crea... |
sources/data/DataInterfaces/MachinaAurum.Data.Processing/Class1.cs | xunilrj/sandbox | 7 | 7034485 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MachinaAurum.Data.Processing
{
public interface IFunc
{
}
public interface IConvexFunc : IFunc
{
}
public interface ISet
{
}
public interface IDataSet : ISet
{
... |
Assets/YooAssetExtension/Runtime/LoadAssetsByTagOperation.cs | tuyoogame/YooAsset-Samples | 2 | 7034486 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using YooAsset;
public class LoadAssetsByTagOperation<TObject> : GameAsyncOperation where TObject : UnityEngine.Object
{
private enum ESteps
{
None,
LoadAssets,
CheckResult,
Done,
}
private readonly string _tag;
... |
XPNet.CLR/Data/XPlaneData.cs | christothes/XPNet | 0 | 7034488 | using System;
using System.Collections.Generic;
using System.Text;
namespace XPNet
{
/// <summary>
/// Provides access to X-Plane Datarefs. Datarefs are how you read and write data
/// to and from X-Plane, such as airplane position, COM radio frequences, etc.
/// </summary>
/// <remarks>
/// ... |
src/LibHac/IO/RomFs/HierarchicalRomFileTable.cs | shchmue/LibHac | 0 | 7034489 | <filename>src/LibHac/IO/RomFs/HierarchicalRomFileTable.cs
using System;
using System.Runtime.InteropServices;
namespace LibHac.IO.RomFs
{
/// <summary>
/// Represents the file table used by the RomFS format.
/// </summary>
/// <remarks>
/// This file table stores the structure of the file tree in ... |
source/Hanoi/MultiUserChat/ChatRoom.cs | MustafaUzumcuCom/Hanoi | 1 | 7034490 | /*
Copyright (c) 2007 - 2010, <NAME>
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 notice,
this l... |
Septerra.Core/Formats/AM/AMPalette.cs | xyx0826/Septerra | 6 | 7034491 | <gh_stars>1-10
using System;
using Septerra.Core;
namespace Septerra.Core.AM
{
public unsafe struct AMPalette
{
public const Int32 ColorNumber = 256;
/* 00000000 */ private fixed Byte _data[ColorNumber * ABGRColor.SizeOf];
public ref ABGRColor FirstColor => ref GetColor(0);
p... |
Source/Core/DomainObjects/ITagContainer.cs | 1103003188/Kigg | 0 | 7034492 | <filename>Source/Core/DomainObjects/ITagContainer.cs
namespace Kigg.DomainObjects
{
using System.Collections.Generic;
public interface ITagContainer
{
ICollection<ITag> Tags
{
get;
}
int TagCount
{
get;
}
void... |
src/Cabother.Exceptions/Requests/BadGatewayException.cs | aldovrando-oliveira/Cabother-Exceptions | 2 | 7034493 | using System;
using System.Runtime.Serialization;
namespace Cabother.Exceptions.Requests
{
/// <summary>
/// Exceção de Gateway incorreto
/// </summary>
[Serializable]
public sealed class BadGatewayException : BaseException
{
/// <summary>
/// Cria uma nova instância de <see cre... |
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Polardb/AlibabaCloud/SDK/ROS/CDK/Polardb/RosDBNodesProps.cs | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 0 | 7034494 | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Polardb
{
#pragma warning disable CS8618
/// <summary>Properties for defining a `ALIYUN::POLARDB::DBNodes`.</summary>
[JsiiByValue(fqn: "@alicloud/ros-cdk-polardb.RosDBNodesProps")]
publi... |
src/Api/EducationProcess.DataAccess/Repositories/SemesterRepository.cs | NotKohtpojiep/EducationProcess | 2 | 7034495 | using EducationProcess.DataAccess.Entities;
using EducationProcess.DataAccess.Repositories.Interfaces;
namespace EducationProcess.DataAccess.Repositories
{
public class SemesterRepository : RepositoryBase<Semester>, ISemesterRepository
{
private readonly EducationProcessContext _context;
... |
FFE-AddIn/Parser/FfeWebHttpClient.cs | LelandGrunt/FFE | 5 | 7034496 | using System;
namespace FFE
{
public class FfeWebHttpClient : FfeWeb, IFfeWebParser
{
private readonly string Document;
public new bool GenerateRandomUserAgent { get; set; } = true;
public FfeWebHttpClient() : base() { }
public FfeWebHttpClient(Uri uri)
{
... |
BinarySerializer/Crc32.cs | shaggygi/BinarySerializer | 0 | 7034497 | <reponame>shaggygi/BinarySerializer
namespace BinarySerialization;
internal sealed class Crc32 : Crc<uint>
{
public Crc32(uint polynomial, uint initialValue) : base(polynomial, initialValue)
{
IsDataReflected = true;
IsRemainderReflected = true;
FinalXor = 0xFFFFFFFF;
}
protec... |
src/BlazorTransitionableRoute/ITransitionableLayoutComponent.cs | ScriptBox99/BlazorTransitionableRoute | 95 | 7034498 | using Microsoft.AspNetCore.Components;
namespace BlazorTransitionableRoute
{
/// <summary>
/// <para>
/// Optionally implement this interface to get access
/// to the <see cref="Transition"/> object so you can adjust
/// markup to invoke transition behaviour.
/// </para>
/// <par... |
MetaScanner/Program.cs | metageek-llc/inSSIDer-2 | 49 | 7034499 | <filename>MetaScanner/Program.cs<gh_stars>10-100
#region Header
//#define LOG
#endregion Header
using System;
using System.Diagnostics;
using System.Net.NetworkInformation;
using System.Windows.Forms;
using inSSIDer.Localization;
using inSSIDer.Misc;
using inSSIDer.Properties;
using inSSIDer.Scanning... |
src/Serilog.Enrichers.Sensitive/EmailAddressMaskingOperator.cs | stoberman37/Serilog.Enrichers.Sensitive | 0 | 7034500 | using System.Text.RegularExpressions;
namespace Serilog.Enrichers.Sensitive
{
public class EmailAddressMaskingOperator : IMaskingOperator
{
private static readonly Regex EmailReplaceRegex = new Regex(
"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x... |
src/Rebalancer.ZooKeeper/TerminateClientException.cs | dradoaica/rebalancer-net | 3 | 7034501 | using System;
namespace Rebalancer.ZooKeeper
{
public class TerminateClientException : Exception
{
public TerminateClientException(string message)
: base(message)
{
}
public TerminateClientException(string message, Exception ex)
: base(message, ex)
... |
GameConsole.cs | Xaoc502/BlackJack | 0 | 7034502 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace BlackJack3
{
static class GameConsole
{
public static Deck deck = new Deck();
public static bool started = false;
static Game game = new Game();
static GameConsole()
{
Console.... |
LaTeXTableGenerator.Test/LaTeX/LaTeXTextEscapeTest.cs | Bennik2000/LaTeXTableGenerator | 1 | 7034503 | using LaTeXTableGenerator.LaTeX;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace LaTeXTableGenerator.Test.LaTeX
{
[TestClass]
public class LaTeXTextEscapeTest
{
[TestMethod]
public void Test_Escape_Assert_Correct_Escaped()
{
... |
Tyr/Managers/EnemyTankManager.cs | kblood/TyrSc2 | 0 | 7034504 | <reponame>kblood/TyrSc2
using SC2APIProtocol;
using System.Collections.Generic;
using Tyr.Agents;
using Tyr.Util;
namespace Tyr.Managers
{
public class EnemyTankManager : Manager
{
public List<UnitLocation> Tanks = new List<UnitLocation>();
public Dictionary<ulong, int> SiegeFrame = new Dictio... |
src/Juniper.Root/NETFX/HttpStringExt.cs | capnmidnight/Juniper | 9 | 7034505 | <gh_stars>1-10
namespace System
{
public static class HttpStringExt
{
public static string ToGoogleModifiedBase64(this string value)
{
if (value is null)
{
return null;
}
return value.Replace("+", "-").Replace("/", "_");
}
... |
src/dotnet/MonoGame.Extended.NuclexGui/Visuals/Flat/GuiSkinConverters.cs | RhysSharpe/MonoGame.Extended | 1 | 7034506 | <reponame>RhysSharpe/MonoGame.Extended
using System;
using Microsoft.Xna.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace MonoGame.Extended.NuclexGui.Visuals.Flat
{
public class GuiSkinJsonConverter : JsonConverter
{
/// <summary>Width of the frame's bottom border regions</summa... |
RunTime/Event/Base/EventHandlerBase.cs | LZhenHong/HTFramework | 352 | 7034507 | <reponame>LZhenHong/HTFramework<filename>RunTime/Event/Base/EventHandlerBase.cs
namespace HT.Framework
{
/// <summary>
/// 事件处理者基类
/// </summary>
public abstract class EventHandlerBase : IReference
{
public abstract void Reset();
}
}
|
Core/StatementConverter/Extensions/TypeExtension.cs | pranshaggarwal/HotReloading | 40 | 7034508 | using System;
using System.Linq;
using System.Reflection;
using HotReloading.Core;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using HrType = HotReloading.Syntax.HrType;
namespace StatementConverter.Extensions
{
public static class TypeExtension
{
public static HrType Get... |
server-tests/Core/Authentications/Commands/DeleteAccountCommandTests.cs | guillaume-roy/aspnet-core-starter-project | 1 | 7034509 | using FluentAssertions;
using ServerCore.Authentications.Commands;
using ServerDomain.Entities.Users;
using ServerDomain.Events.Users;
using ServerTests.Fakes;
using Xunit;
namespace ServerTests.Core.Authentications.Commands;
public class DeleteAccountCommandTests
{
[Fact]
public async voi... |
ViewModel/Interface/IMainViewModel.cs | muelmx/ImageHue | 1 | 7034510 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace ImageHue.ViewModel
{
public interface IMainViewModel : IViewModel
{
string Status { get; set; }
System.Drawing.Image ... |
src/AspNetCore.Aws.S3.Simple.Tests/AmazonServices/S3FileValidatorTests.cs | maximgorbatyuk/AspNetCore.Aws.S3.Simple | 0 | 7034511 | <gh_stars>0
using AspNetCore.Aws.S3.Simple.AmazonServices;
using AspNetCore.Aws.S3.Simple.Models;
using AspNetCore.Aws.S3.Simple.Settings;
using Moq;
using Xunit;
namespace AspNetCore.Aws.S3.Simple.Tests.AmazonServices;
public class S3FileValidatorTests
{
[Theory]
[InlineData(6 * 1024 * 1024, "report.pdf", 6... |
DirectN/DirectN/Generated/D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS.cs | riQQ/DirectN | 1 | 7034512 | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d11.h(7325,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS
{
public bool ComputeShaders_Plus_RawAnd... |
camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/bpmn/deployment/BpmnDeploymentTest.cs | luizfbicalho/Camunda.NET | 6 | 7034513 | <filename>camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/bpmn/deployment/BpmnDeploymentTest.cs
using System;
using System.Collections.Generic;
using System.IO;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements.... |
Scripts/LevelSelect.cs | sophiathekitty/Simple2DMechanics | 2 | 7034514 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelSelect : MonoBehaviour {
// Use this for initialization
void Start() {
RecolorLevels();
}
private void OnEnable()
{
RecolorLevels();
... |
Assets/Scripts/InformationManager.cs | humancomputerintegration/UnderwaterAR | 0 | 7034515 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System;
using UnityEngine.SceneManagement;
public class InformationManager : MonoBehaviour
{
[Header("User Information")]
public Transform player;
[Header("Water Information")]
public Transform wat... |
RageLib/Helpers/Xml/StringParseHelpers.cs | carmineos/gta-toolkit | 9 | 7034516 | // Copyright © Neodymium, carmineos and contributors. See LICENSE.md in the repository root for more information.
using System;
using System.Collections.Generic;
using System.Globalization;
namespace RageLib.Helpers.Xml
{
// Refactor once https://github.com/dotnet/designs/pull/205 is available
public static ... |
AppGM/AppGM/Converters/ViewModelABloqueConverter.cs | ElGranNachito/AplicacionGM | 0 | 7034517 | using System;
using System.Globalization;
using System.Windows.Controls;
using System.Windows.Data;
using AppGM.Core;
using CoolLogs;
using ViewModelBloqueDeclaracionVariable = AppGM.Core.ViewModelBloqueDeclaracionVariable;
namespace AppGM
{
/// <summary>
/// Convierte de un <see cref="ViewModelBloqueFuncionBase"/>... |
EppLib/Extensions/Smallregistry/ContactCreate/SmallregistryContactCreate.cs | Esselink-nu/EppLib.NET | 28 | 7034518 | using EppLib.Entities;
using System;
using System.Xml;
namespace EppLib.Extensions.Smallregistry.ContactCreate
{
public class SmallregistryContactCreate : Entities.ContactCreate
{
public string CompanySerial { get; set; }
public DateTime BirthDate { get; set; }
public string BirthPlace... |
source/Kanpuchi.WindowsPhone.v1/Models/Device.cs | karamem0/Kanpuchi | 0 | 7034519 | using Karamem0.Kanpuchi.Infrastructures;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Karamem0.Kanpuchi.Models {
/// <summary>
/// デバイスのデータを格納します。
/// </summary>
[DataContract(Name = "Device")]
public class Dev... |
Backup/BPlusTree/Collections/Node.Delete.cs | git-thinh/CSharpTest.Net-source-v2.12.810.409 | 0 | 7034520 | #region Copyright 2011-2012 by <NAME>, Licensed under the Apache License, Version 2.0
/* 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
* ... |
Wearable/Xamarin.Forms/NetworkApp/NetworkApp/Views/ConnectionProfilePage.xaml.cs | aferin/Tizen-CSharp-Samples | 217 | 7034521 | //Copyright 2018 Samsung Electronics Co., Ltd
//
//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 a... |
src/GrandLarceny/Services/IScriptFilesService.cs | SampSharp/sample-ecs-grandlarc | 0 | 7034522 | using System.IO;
namespace GrandLarceny.Services
{
/// <summary>
/// Provides functionality for using files in the scriptfiles folder of the SA-MP server.
/// </summary>
public interface IScriptFilesService
{
/// <summary>
/// Opens the file with the specified <paramref name="fileN... |
src/IronSnappy/SnappyWriter.cs | JTOne123/IronSnappy | 1 | 7034523 | <filename>src/IronSnappy/SnappyWriter.cs
using System;
using System.Buffers;
using System.Buffers.Binary;
using System.IO;
using System.Text;
namespace IronSnappy
{
class SnappyWriter : Stream
{
private readonly Stream _parent;
private readonly byte[] _ibuf;
private readonly byte[] _obuf;
... |
src/Bet.Extensions.Emet.Azure.Storage/EmetAzureStorageStore.cs | geffzhang/Bet.Extensions.Emet | 8 | 7034524 | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Azure.Identity;
using Azure.Storage.Blobs;
using Bet.Extensions.Emet.Azure.Storage.Options;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using RulesEngine.Models;
namespace... |
src/Framing/Dispose.cs | orthoxerox/amqpnetlite | 0 | 7034526 | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// 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 co... |
KnowledgeArsenal/KnowledgeArsenal/Views/Shared/_Layout.cshtml | hemelnj/AgeOfModernWeb | 0 | 7034527 | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>ViewBag.title-Knowledge Arsenal</title>
</head>
<body>
<header><h1><a href="@Url.RouteUrl("home")">Knowledge Arsenal Blog</a> </h1>
<a href="@Url.RouteUrl("login")">Login</a>
</he... |
src/Shared.Abstractions/Chronology/ISlotTimeRecurring.cs | goodtocode/stack | 3 | 7034528 | <filename>src/Shared.Abstractions/Chronology/ISlotTimeRecurring.cs
using GoodToCode.Shared.Domain;
using System;
namespace GoodToCode.Chronology.Models
{
public interface ISlotTimeRecurring : IDomainEntity<ISlotTimeRecurring>
{
Guid SlotKey { get; set; }
G... |
think.Samples.DDD/Domain/Aggregates/Champagne/ValueObjects/GrapeVariety.cs | thinkability/DDDSample | 3 | 7034529 | <gh_stars>1-10
using System;
using System.Linq;
namespace Domain.Aggregates.Champagne.ValueObjects
{
public class GrapeVariety: SingleValueObject<string>
{
private readonly string[] _allowedGrapeTypes =
{
"Chardonnay",
"PinotNoir",
"PinotMeunier",
... |
Services/Hosted/HostedSessionStarterQueue.cs | Varunda/carl-wt | 4 | 7034530 | <reponame>Varunda/carl-wt<gh_stars>1-10
using DaybreakGames.Census.Exceptions;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using watchtower.Const... |
ProjectFizzyo/Assets/AcrossAll/Scripts/MenuReturn.cs | leestott/AbertayProject2018 | 2 | 7034531 | <reponame>leestott/AbertayProject2018
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuReturn : MonoBehaviour {
private float timeAtStart;
// Use this for initialization
void Start ()
{
timeAtStart = Time.time;
}
... |
Code/ReadOnline.BLL/BookDataBLL.cs | lajiv/ReadBookOnWeb | 0 | 7034532 | <filename>Code/ReadOnline.BLL/BookDataBLL.cs<gh_stars>0
using ReadOnline.Search.IBLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ReadOnline.Search.Model;
using ReadOnline.Search.IDAO;
using ReadOnline.Search.DAO;
namespace ReadOnline.Searc... |
Src/Notion.Client/Models/PropertyItems/TitlePropertyItem.cs | Titaye/notion-sdk-net | 55 | 7034533 | <filename>Src/Notion.Client/Models/PropertyItems/TitlePropertyItem.cs
using Newtonsoft.Json;
namespace Notion.Client
{
public class TitlePropertyItem : SimplePropertyItem
{
public override string Type => "title";
[JsonProperty("title")]
public RichTextBase Title { get; set; }
}
}
|
src/Frapid.Web/Areas/Frapid.Dashboard/Controllers/NotificationController.cs | towhidulmannanuae/frapid | 2 | 7034534 | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using Frapid.ApplicationState.Cache;
using Frapid.Areas.CSRF;
using Frapid.Dashboard.DAL;
using Frapid.DataAccess.Models;
namespace Frapid.Dashboard.Controllers
{
[AntiForgery]
public sealed class NotificationController : BackendController
{... |
XamHeaderFooter/BaseContentPage.cs | Intelliabb/XamPageHeaderFooter | 0 | 7034536 | using System;
using Xamarin.Forms;
namespace XamHeaderFooter
{
public class BaseContentPage : ContentPage
{
readonly ControlTemplate _headerTemplate = new ControlTemplate(typeof(HeaderView));
readonly ControlTemplate _footerTemplate = new ControlTemplate(typeof(FooterView));
readonly C... |
src/Model/GingerbreadAI.Model.ConvolutionalNeuralNetwork/Models/Filter2D.cs | benchiverton/GingerbreadAI | 1 | 7034537 | using System.Collections.Generic;
using GingerbreadAI.Model.NeuralNetwork.ActivationFunctions;
using GingerbreadAI.Model.NeuralNetwork.InitialisationFunctions;
using GingerbreadAI.Model.NeuralNetwork.Models;
namespace GingerbreadAI.Model.ConvolutionalNeuralNetwork.Models;
public class Filter2D : Layer2D
{
public ... |
source/ChromeDevTools/Protocol/Chrome/Overlay/HighlightConfig.cs | daviddays/ChromeDevTools | 118 | 7034538 | <reponame>daviddays/ChromeDevTools<filename>source/ChromeDevTools/Protocol/Chrome/Overlay/HighlightConfig.cs
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Overlay
{
/// <summary>
/// Configuration data for the highlightin... |
Solutions/C#/Basic subclasses - Adam and Eve(8 kyu).cs | collenirwin/Codewars-Solutions | 0 | 7034540 | <gh_stars>0
public class God
{
public static Human[] Create()
{
return new Human[] { new Man(), new Woman() };
}
}
public class Human { }
public class Man : Human { }
public class Woman : Human { } |
src/Cybercore/JsonRpc/JsonRpcError.cs | cyberpoolorg/cybercore | 1 | 7034541 | <filename>src/Cybercore/JsonRpc/JsonRpcError.cs
using System;
using Newtonsoft.Json;
namespace Cybercore.JsonRpc
{
[JsonObject(MemberSerialization.OptIn)]
public class JsonRpcException
{
public JsonRpcException(int code, string message, object data, Exception inner = null)
{
Cod... |
src/InjectionScript/Runtime/ForScope.cs | uoinfusion/InjectionScript | 3 | 7034542 | <reponame>uoinfusion/InjectionScript
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InjectionScript.Runtime
{
public class ForScope
{
public string VariableName { get; }
public InjectionValue Range { get; }
... |
Assets/Devdog/QuestSystemPro/Scripts/Achievements/UI/ClaimableAchievementUI.cs | Casey-Hofland/Quest-System-Pro | 552 | 7034543 | using System.Collections;
using System.Collections.Generic;
using Devdog.General.ThirdParty.UniLinq;
using UnityEngine;
using UnityEngine.UI;
namespace Devdog.QuestSystemPro.UI
{
public class ClaimableAchievementUI : MonoBehaviour
{
public QuestRowModelUI uiModel = new QuestRowModelUI();
publi... |
src/DependFunction/FunctionStartup.cs | ricardodemauro/az-functions-article | 0 | 7034544 | using DependFunction.Services;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
[assembly: FunctionsStartup(typeof(DependFunction.Startup))]
namespace DependFunction
{
public class Startup : FunctionsStartup
{
public override void Configur... |
operators/portworx-essentials/dotnet/Kubernetes/Crds/Operators/PortworxEssentials/Core/V1Alpha1/Outputs/StorageClusterStatus.cs | pulumi/pulumi-kubernetes-crds | 0 | 7034545 | <filename>operators/portworx-essentials/dotnet/Kubernetes/Crds/Operators/PortworxEssentials/Core/V1Alpha1/Outputs/StorageClusterStatus.cs
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.G... |
src/NServiceBus.Core.Tests/Persistence/RavenDB/SagaPersister/Raven_saga_persistence_concern.cs | abombss/NServiceBus | 0 | 7034547 | namespace NServiceBus.Core.Tests.Persistence.RavenDB.SagaPersister
{
using System;
using NServiceBus.Persistence.Raven;
using NServiceBus.Persistence.Raven.SagaPersister;
using NUnit.Framework;
using Raven.Client;
using Raven.Client.Embedded;
using Saga;
public abstract class ... |
src/Hangfire.QuickJump/Dashboard/QuickJumpDispatcher.cs | odinserj/Hangfire.QuickJump | 0 | 7034548 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Hangfire.Common;
using Hangfire.Dashboard;
namespace Hangfire.QuickJump.Dashboard
{
internal sealed class QuickJumpDispatcher : IDashboardDispatcher
{
public async Task ... |
dysmsapi-20170525/csharp/core/Models/ModifySmsSignRequest.cs | atptro/alibabacloud-sdk | 0 | 7034549 | // This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dysmsapi20170525.Models
{
public class ModifySmsSignRequest : TeaModel {
[NameInMap("AccessKeyId")]
[Validation(Required=false)]
pu... |
ThinkingHome.Migrator.Providers.SqlServer/SqlServerProviderFactory.cs | eatskolnikov/migrator | 25 | 7034550 | <reponame>eatskolnikov/migrator
using System.Data.SqlClient;
using Microsoft.Extensions.Logging;
namespace ThinkingHome.Migrator.Providers.SqlServer
{
public class SqlServerProviderFactory :
ProviderFactory<SqlServerTransformationProvider, SqlConnection>
{
protected override SqlServerTransform... |
OOP/Lab-12/Problem-02-IFigure/Rectangle.cs | emilia98/TU-OOP | 0 | 7034551 | <filename>OOP/Lab-12/Problem-02-IFigure/Rectangle.cs
using System;
namespace Problem_02_IFigure
{
public class Rectangle : IFigure
{
private double a;
private double b;
public double Area()
{
return this.a * this.b;
}
public void Input()
{
... |
src/LinFx/Extensions/MultiTenancy/TenantResolver.cs | zhangzheng1205/LinFx | 67 | 7034552 | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
namespace LinFx.Extensions.MultiTenancy
{
public class TenantResolver : ITenantResolver
{
private readonly IServiceProvider _serviceProvider;
private readonly TenantResolveOptions _options;
... |
KoiVM/VM/FuncSig.cs | Obfuscator-Colections/KoiVM-With-ConfuserEx | 0 | 7034553 | <filename>KoiVM/VM/FuncSig.cs<gh_stars>0
using System;
using dnlib.DotNet;
namespace KoiVM.VM {
public class FuncSig {
public byte Flags;
public ITypeDefOrRef[] ParamSigs;
public ITypeDefOrRef RetType;
public override int GetHashCode() {
var comparer = new SigComparer();
int hashCode = Flags;
forea... |
Assets/Scripts/ThingManager.cs | yjl450/ThingThingThing | 0 | 7034554 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.AI;
public class ThingManager : MonoBehaviour {
public static ThingManager main;
// public Transform chatBubbleCanvas;
public List<GameObject> AllThings;
public bool generateThings;
... |
src/bitmatrix/Part.cs | 0xCM/z0 | 0 | 7034555 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
[assembly: PartId(PartId.BitMatrix)]
namespace Z0.Parts
{
public sealed class BitMatrix : ... |
Anno.Api/Core/ViewStates.cs | jnlewis/anno | 3 | 7034556 | <gh_stars>1-10
using System;
using System.Configuration;
namespace NeoEventsAPI.Core
{
public static class ViewStates
{
public static string API_KEY { get { return ""; } }
}
} |
FaceReco/FaceRecoDataManager/TV_Create/MUti_Channel/repo/MysqlUtils.cs | jinboy/Face-Reco | 1 | 7034557 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using System.Linq;
//Add MySql Library
using MySql.Data;
using MySql.Data.MySqlClient;
using YunZhiFaceReco.TV_Create.MUti_Channel.pojo;
using System.Configuration;
namespace YunZ... |
H-Hour Blockout/Assets/Blockout/Scripts/BlockoutHelper.cs | thedoctormarc/H-Hour-Blockout | 0 | 7034558 | /* Radical Forge Copyright (c) 2017 All Rights Reserved
</copyright>
<author><NAME></author>
<date>05th July 2017</date>
<summary>
Helper attatched to all Blockout prefabs for management and editor purpouses.
</summary>*/
using System.Linq;
using UnityEngine;
namespace RadicalForge.Blockout
{
... |
src/LibraryV3/Done/TwoSampleTTestHypothesisTest.cs | ndrwrbgs/BenchmarkDotNet.UnitTesting | 0 | 7034559 | using System.Collections.Generic;
using System.Linq;
using Accord.Statistics.Testing;
namespace LibraryV3
{
public sealed class TwoSampleTTestHypothesisTest : ITwoSampleNormalDistributionHypothesisTest
{
public TwoSampleHypothesisTestResult TestHypothesis(IEnumerable<double> sample1, IEnumerable<doubl... |
Source/TemperatureFilterMod/LiquidTemperatureFilterConfig.cs | Blindfold-Games/ONI-Blind-MODS | 2 | 7034560 | using System;
using TUNING;
using UnityEngine;
namespace TemperatureFilterMod
{
public class LiquidTemperatureFilterConfig : IBuildingConfig
{
private readonly ConduitPortInfo secondaryPort = new ConduitPortInfo(ConduitType.Liquid, new CellOffset(0, 0));
public static string ID
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.