content stringlengths 23 1.05M |
|---|
namespace NGeoNames.Entities
{
/// <summary>
/// Defines a generalized interface to define a location by latitude/longitude.
/// </summary>
public interface IGeoLocation
{
/// <summary>
/// Gets the latitude of the location.
/// </summary>
double Latitude { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http.ModelBinding;
using System.Web.UI;
using System.Web.UI.WebControls;
using Tournaments.Models_project;
using Tournaments.Presenters;
using Tournaments.Views;
using WebFormsMvp;
using WebFormsMvp.Web;
namespace To... |
using UnityEngine;
public class HotZoneCheck : MonoBehaviour
{
private EnemyCombatSystem enemyParent;
private bool inRange;
private Animator anim;
private void Start()
{
enemyParent = GetComponentInParent<EnemyCombatSystem>();
anim = GetComponentInParent<Animator>();
}
pri... |
// Compiler options: -unsafe
using System;
using System.Runtime.InteropServices;
class FixedTest
{
[StructLayout (LayoutKind.Explicit)]
public unsafe struct Value
{
[FieldOffset (0)]
public void* p;
[FieldOffset (0)]
public double n;
[FieldOffset (0)]
public long i;
[FieldOffset (0)]
public bool b;... |
namespace MyPetProject.Web.Tests.Routing
{
using MyPetProject.Web.Controllers;
using MyTested.AspNetCore.Mvc;
using Xunit;
public class HomeControllerRoutingTests
{
[Fact]
public void HomeIndexRouteShouldBeMapped()
=> MyRouting
.Configuration()
... |
/***********************************************************************************************\
* (C) KAL ATM Software GmbH, 2021
* KAL ATM Software GmbH licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*
* This file was created automatically as pa... |
namespace AlmOps.AzureDevOpsComponent.Domain.Models
{
public class ProjectModel
{
public string Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Url { get; set; }
public string State { get; set; }
public... |
namespace IgWord.Infrastructure.Dialogs
{
public interface IDialog
{
double Left { get; set; }
double Top { get; set; }
void Close();
void Show();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using AdventOfCode2021.Solutions.Interface;
using AdventOfCode2021.Util;
namespace AdventOfCode2021.Solutions.Day6
{
public class Day6Solver : ISolvable
{
private static string FileName => "Input/Day6_A.input";
public void Ru... |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Dml.Picture
{
[Serializable]
[DebuggerStepThrough]
[DesignerCategory("code")]
[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/picture")]
public... |
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO.Pipelines
{
public sealed class StreamPipelineReader : PipeReader
{
private PipeReader reader;
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public StreamPipelineReade... |
namespace EnvironmentAssessment.Common.VimApi
{
public class DVSFeatureCapability : DynamicData
{
protected bool _networkResourceManagementSupported;
protected bool _vmDirectPathGen2Supported;
protected string[] _nicTeamingPolicy;
protected int? _networkResourcePoolHighShareValue;
protected DVSNetworkResour... |
using Newtonsoft.Json;
namespace HitBTC.Net.Models
{
public class HitOrderBook
{
/// <summary>
/// Array of asks
/// </summary>
[JsonProperty("ask")]
public HitOrderBookLevel[] Asks { get; private set; }
/// <summary>
/// Array of bids
/// </sum... |
// Compiler options: -warnaserror
class Foo {
static int Main ()
{
for (;;) {
try {
break;
} catch {
continue;
}
}
return 0;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Reflection;
namespace BenzGorokuSearch
{
class UpdateInfo
{
public DateTime LatestDatabasePublishedDate{get;set;}
public string LatestDatabaseUrl{get;set;}
public Version LatestAppVersion{get;s... |
using AutoMapper;
namespace HC.WeChat.Activities.Dtos.LTMAutoMapper
{
using HC.WeChat.Activities;
/// <summary>
/// 配置Activity的AutoMapper
/// </summary>
internal static class CustomerActivityMapper
{
public static void CreateMappings(IMapperConfigurationExpression configuration)
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Rethought.Optional
{
public static class OptionCollectionExtensions
{
public static IEnumerable<T> Flatten<T>(this IEnumerable<Option<T>> source)
{
if (source == null) throw new ArgumentNullException(nameo... |
using Milad.Utils.FlowControl;
namespace SampleFlowControl.Infrastructure
{
public class EmailService : IEmailService
{
public MethodVoidReturnValue SendEmail(string email, string title, string body)
{
if (email.Contains("@") && email.Contains(".") && email.Length>6)
... |
namespace SandwichOrderSystemShared.Services
{
public interface IErrorHandler
{
void HandleError(string error);
}
}
|
using System.Windows.Shapes;
namespace GraphicScript.Objects
{
public class Circle : Figure
{
public double Radius;
public Circle()
{
Radius = 50;
}
protected override Shape CreateShape()
{
return new Ellipse();
}
prote... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Tools.EtlReader
{
... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
namespace WebAPI.Tests.Setup
{
public class CustomWebApplicationFactory : WebApplicationFactory<StartupTest>
{
protected override IWebHostBuilder CreateWebHostBuilder()
{
return ... |
namespace EverlastingStudent.Web
{
using System.Web.Http.Dependencies;
using Ninject;
public class NinjectResolver : NinjectScope, IDependencyResolver,
System.Web.Mvc.IDependencyResolver
{
private readonly IKernel kernel;
public NinjectResolver(IKernel kernel)
: base(... |
namespace LoudPizza
{
// Linear distance attenuation model
public class LinearDistanceAudioAttenuator : AudioAttenuator
{
public static LinearDistanceAudioAttenuator Instance { get; } = new LinearDistanceAudioAttenuator();
public override float attenuate(float aDistance, float aMinDistanc... |
using AutoMapper;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ReceptiAPI;
using ReceptiAPI.Mapiranja;
using ReceptiAPI.Modeli;
using ReceptiAPI.PristupPodacima;
using ReceptiAPI.PristupPodacima.Interfejsi;
using ReceptiAPI.Servisi;
using R... |
using UnityEngine;
using System.Collections;
public class GameController : MonoBehaviour
{
public static bool gameOver = false;
public static bool placeStage = false;
public static bool moveItems = false;
public static bool win = false;
public static bool lose = false;
public GUIText endlevel;
public int curren... |
using System;
namespace Common
{
public class EmptyState: IState
{
public void Enter()
{
throw new NotImplementedException();
}
public Type Tick()
{
throw new NotImplementedException();
}
public Type FixedTick()
{
... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloMonoGame.Graphics.Debug
{
public struct DebugLine
{
public Vector3 Start;
public Vector3 End;
public Color Color;
p... |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Blumind.Controls.OS
{
public static class Kernel32
{
const string DllName = "Kernel32";
[DllImport(DllName)]
public static extern Int32 GetLastError();
// [DllImport(DllName)]
// public stat... |
using System.Collections.Generic;
using DSIS.Core.Coordinates;
namespace DSIS.IntegerCoordinates
{
public interface IRadiusProcessor<T> where T : ICellCoordinate
{
IEnumerable<T> ConnectCellToRadius(double[] point, double[] radius);
}
} |
namespace GameSvr
{
public class Castle
{
public const int MAXCASTLEARCHER = 12;
public const int MAXCALSTEGUARD = 4;
}
public class TAttackerInfo
{
public DateTime AttackDate;
public string sGuildName;
public Association Guild;
}
public struct TDef... |
using IdentityServer4;
using IdentityServer4.Models;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
namespace Outlook.Server
{
public class Config
{
public Config(IConfiguration configuration)
{
Configuration = configuration;
}
public I... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Main_Camera : MonoBehaviour
{
//let me select target in unity editor
public Transform target;
//it sets smoothness of camera
public float smoothSpeed = 8;
public Vector2 offset;
//get minimum and maximu... |
using System;
using BudgetCli.Parser.Util;
using Xunit;
namespace BudgetCli.Parser.Tests.Util
{
public class DateMatchUtilsTests
{
[Theory]
[InlineData("02-02-2020", "02/02/2020")]
public void TryParseExplicitDate(string inputStr, string expectedDateStr)
{
DateTime e... |
// <copyright file="XmlSitemap.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace Zoombraco.Models
{
using System.Collections.Generic;
/// <summary>
/// The render sitemap view model.
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Yazgelder.Entity.Models
{
public class ProjectProposal : ImageBase
{
public ProjectProposal() : base()
{
}
public string SenderMail { get; set; }
public string Se... |
using Cofoundry.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cofoundry.Samples.PageBlockTypes
{
public class PageListDisplayModel : IPageBlockTypeDisplayModel
{
public ICollection<PageRoute> Pages { get; set; }
}
} |
using System.Xml;
namespace GW.Utils.TypeExtension
{
public static class XmlNodeExtension
{
public static string GetStringAttribute(this XmlNode node, string key, string defaultValue)
{
XmlAttributeCollection attributes = node.Attributes;
if (attributes[key] != null
... |
using Sfa.Tl.ResultsAndCertification.Models.DataExport;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Sfa.Tl.ResultsAndCertification.Application.Interfaces
{
public interface IDataExportService
{
Task<IList<RegistrationsExport>> GetDataExportRegistrationsAsync(long aoUkprn)... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpTrends.DailyTrends
{
public class TrendingSearch
{
public DateTime Date;
public string Title;
public Image Image;
public List<string> RelatedQueries;
public List<Article> Articles;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Net.Http;
using LittleLeagueUParser.Core;
using LittleLeagueUParser.Data;
namespace LittleLeagueUParser.Controllers
{
public class ParseController : Controller
{
... |
using Nanory.Lex;
namespace Client.Match3
{
[UpdateInGroup(typeof(SimulationSystemGroup), OrderLast = true)]
public class TimersSystemGroup : EcsSystemGroup
{
}
}
|
namespace AssemblyToProcess
{
public sealed class AsyncDisposableChild : AsyncDisposableBase
{
public override string SayMeHelloWorld()
{
return "Hello World!";
}
}
} |
/**
* Authored by Tomasz Piowczyk
* License: https://github.com/Prastiwar/TPFramework/blob/master/LICENSE
* Repository: https://github.com/Prastiwar/TPFramework
*/
using System;
using System.Runtime.CompilerServices;
namespace TP.Framework
{
[Serializable]
public class EquipSlot : ItemSlot, IEquipSlot<... |
using Domain.Models;
namespace Domain.Repositories
{
public interface ITransactionRepository
{
/// <summary>
/// Check if there are transactions that have not been handled.
/// </summary>
public bool HasUnhandledTransactions();
/// <summary>
/// Get next unhand... |
using UnityEngine;
public static class TransformExtensions
{
static Vector2 referenceResolution = new Vector2(1920, 1080);
public static void SetGlobalPivot(this Transform transform, Vector2 position)
{
transform.position = position * (new Vector2(Screen.width, Screen.height) / referenceResolutio... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
using NUnit.Framework;
using Penneo;
using Penneo.Util;
namespace PenneoTests
{
[TestFixture]
public class KeyValueMetaDataTests
{
[Test]
public void AddKeyValueTest()
{
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace DynamicForms.Attributes.Validation
{
public class AgeValidatorAttribute : ValidationAttribute
{
public int Age { get; set; }
public AgeValidatorAttribute(int age)
{
Age = age;
ErrorMessage = "... |
using Windows.UI.Xaml;
//^^
//{[{
using Param_RootNamespace.Services;
//}]}
namespace Param_RootNamespace
{
public sealed partial class App : PrismUnityApplication
{
public App()
{
InitializeComponent();
}
protected override void ConfigureContainer()... |
namespace StreamDeck.Net.Models {
public class Application
{
public string Language { get; set; }
public string Platform { get; set; }
public string Version { get; set; }
}
} |
using System;
public class BarAttribute : Attribute
{
public double Value { get; set; }
} |
namespace NasaRover.Domain.Models
{
public class RoverMoveResult
{
/// <summary>
/// The rover with its properties.
/// </summary>
public RoverModel Rover { get; set; }
/// <summary>
/// The rover was able to move?
/// </summary>
public bool IsSucc... |
namespace NStandard.Security
{
public class DesCipher : SymmetricCipher<DesCipher>
{
public override int IVLength => 8;
}
}
|
@model IEnumerable<OasisWebApp.DTOs.FilmDto>
@{
ViewData["Title"] = "Фильмы";
}
<h1>@ViewData["Title"]</h1>
<div class="text-left">
@foreach (var film in Model)
{
<a asp-controller="Film" asp-action="Film" asp-route-Id="@film.FilmId">@film.Title</a>
<br />
}
</div>
|
using System;
using System.Collections.Generic;
namespace Marten.Schema.Identity
{
public interface IIdGeneration
{
IEnumerable<Type> KeyTypes { get; }
IIdGenerator<T> Build<T>();
bool RequiresSequences { get; }
}
} |
using Slug.CI.NukeClasses;
namespace Slug.CI.SlugBuildStages
{
/// <summary>
/// Marks the last stage to be run.
/// </summary>
class BuildStage_Final: BuildStage
{
/// <summary>
/// Constructor
/// </summary>
public BuildStage_Final (CISession ciSession) : base(BuildStageStatic.STAGE_FINAL, ciSession) {... |
using System;
class Program
{
private static int count = 0;
static string get()
{
count++;
return "Hello";
}
static void Main(string[] args)
{
Console.WriteLine(get()?.ToUpper());
Console.WriteLine(count);
}
}
|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NotificationService.Data
{
using System.Linq;
using Microsoft.Azure.Cosmos;
/// <summary>
/// Custom cosmos Linq Query.
/// </summary>
public interface ICosmosLinqQuery
{
/// <summary>
///... |
namespace Centigrade.VedaVersum.Model
{
/// <summary>
/// Represents the data for Card changed action
/// </summary>
public class CardActionMessage
{
/// <summary>
/// Changed card
/// </summary>
public VedaVersumCard? VedaVersumCard { get; set; }
/// <summa... |
using System;
using System.Web.Services;
namespace Amns.Tessen.WebServices
{
/// <summary>
/// Summary description for ClassServices.
/// </summary>
public class MemberServices : WebService
{
public MemberServices()
{
}
[WebMethod]
public DojoMember RequestMember(DojoOrganization organization, st... |
namespace JustConveyor.Web.Contracts
{
public class QueueInfo
{
public string QueueType { get; set; }
public string Blueprint { get; set; }
public long OnQueue { get; set; }
public long OnQueuePrevious { get; set; }
public long OnQueueDelta { get; set; }
}
} |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Reflection;
using System.Diagnostics;
using System.Threading;
using System.Net;
using System.IO;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using LogJoint;
usin... |
using System.Reflection;
[assembly: AssemblyVersion("#MASTER_VERSION#")]
[assembly: AssemblyFileVersion("#MASTER_VERSION#")]
|
namespace NearClientUnity.Utilities.Ed25519.Internal.Ed25519Ref10.Field.Operations
{
internal static partial class FieldOperations
{
/*
return 1 if f == 0
return 0 if f != 0
Preconditions:
|f| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc.
*/
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActiveCamera : MonoBehaviour
{
public Camera camOne;
public Camera camTwo;
public PickupRaycast pickupRaycast;
bool lastIsHeld;
// Start is called before the first frame update
void Start()
... |
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace JakubSturc.Demo.UnderstandingHttpClient.ConsoleApp
{
public static class HelloWorld
{
/// <summary>
/// The simple version
/// </summary>
public static async Task Simple()
{
var htt... |
namespace Zu.ChromeDevTools.Page
{
using Newtonsoft.Json;
/// <summary>
/// Set the behavior when downloading a file.
/// </summary>
public sealed class SetDownloadBehaviorCommand : ICommand
{
private const string ChromeRemoteInterface_CommandName = "Page.setDownloadBehavior";
... |
@{
ViewData["Title"] = "Index";
}
<h2>Misc elements</h2>
<h3>Address</h3>
<div class="container">
<address>
<strong>Twitter, Inc.</strong><br>
1355 Market St, Suite 900<br>
San Francisco, CA 94103<br>
<abbr title="Phone">P:</abbr> (123) 456-7890
</address>
<address>
... |
using System;
using System.Collections.Generic;
namespace LibraryManagement.Models
{
public partial class BookGenre
{
public long Id { get; set; }
public long IdGenre { get; set; }
public long IdBook { get; set; }
public Book IdBookNavigation { get; set; }
public Genre... |
namespace NativeCode.Mobile.Core.XamarinForms.Controls.ContentProviders
{
using Xamarin.Forms;
/// <summary>
/// Provides a contract to furnish <see cref="FlipViewContent" /> instances.
/// </summary>
/// <typeparam name="T">The type of <see cref="ContentView" />.</typeparam>
public interface ... |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using System;
using System.Collections.Generic;
using Twilio.Base;
using Twilio.Converters;
namespace Twilio.Rest.Trusthub.V1
{
/// <summary>
/// Create a new Supporting Document.
/// </summary... |
using System.Windows;
namespace MapMaker.Views.Dialogs
{
public partial class LibraryDetailsDialog : Window
{
public LibraryDetailsDialog()
{
InitializeComponent();
}
private void OnDefaultClick(object sender, RoutedEventArgs e)
{
D... |
using System;
using NUnit.Framework;
namespace Amqp.Types.Tests
{
[TestFixture]
public class AmqpFloatTests
{
[Test]
public void ToFloat_ReturnsFloat()
{
var f = new AmqpFloat(new byte[] { 0x00, 0x00, 0x00, 0x00 });
Assert.AreEqual(0.0f, f.ToFloa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FantasyCritic.FakeRepo;
using FantasyCritic.Lib.Domain;
using FantasyCritic.Lib.Domain.ScoringSystems;
using FantasyCritic.Lib.Utilities;
using NodaTime;
using NodaTime.Testing;
using NodaTime.Text... |
using System.Collections.Generic;
using T4TS;
namespace Sam.DbContext
{
[TypeScriptInterface(Name = "User")]
public class JsonUser
{
public string Id { get; set; }
[TypeScriptMember(Optional = true)]
public string UserName { get; set; }
[TypeScriptMember(Optional =... |
// 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.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Pocket
{
/// <summary>
/// Performs ru... |
using Microsoft.Extensions.Logging;
using RapidCore.DependencyInjection;
using RapidCore.Locking;
using RapidCore.Migration;
namespace Pylonboard.Infrastructure.DAL;
public class PylonboardMigrationRunner : MigrationRunner
{
public PylonboardMigrationRunner(
ILogger<PylonboardMigrationRunner> logger,
... |
using Llvm.NET;
using Microsoft.Zelig.CodeGeneration.IR;
using Microsoft.Zelig.Runtime.TypeSystem;
namespace Microsoft.Zelig.LLVM
{
/// <summary>Interface for an object file section name provider</summary>
/// <remarks>
/// This interface is used to allow toolchain and ABI specific implementations of sect... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class FootnoteMonoBehaviourExtensions
{
public static Coroutine DoAfter(this MonoBehaviour monoBehaviour, float wait, Action action)
{
return monoBehaviour.StartCoroutine(DoAfter(wait, action));
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlaneBattle.Assets.Scripts
{
/// <summary>
/// 原抽奖控制器,在此用于可空概率的生成不同等级的敌人
/// <para>原文:<see cref="https://www.cnblogs.com/qin160608/p/8145680.html"/></para>
/// </summary>
p... |
using System.Collections.Generic;
using UnityEngine;
using Kore.Events;
namespace Kore.Variables
{
public abstract class ValueReference<T, TValueAsset, TGameEvent>
where T : struct
where TValueAsset : ValueAsset<T, TGameEvent>
where TGameEvent : GameEvent<T>
{
public bool useLo... |
using System;
namespace Cryptography.Pgp.Core
{
using Models;
public abstract class PgpBase : IDisposable
{
protected bool IsDisposed;
protected PgpInfo Info;
protected virtual void Dispose(bool disposing)
{
if (!IsDisposed)
{
Info ... |
#nullable enable
using System.Threading.Tasks;
using Microsoft.Maui.Handlers;
using Microsoft.Maui.Platform;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
namespace Microsoft.Maui.DeviceTests
{
public partial class ButtonTests
{
Button GetPlatformButton(ButtonHandler buttonHandler) =>
buttonHandle... |
namespace Panteon.Sdk.IO
{
public interface IFileReader
{
FileContentResult ReadFileContent(string path);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Website.Models
{
public class DataTableAjaxPostModel
{
// properties are not capital due to json mapping
public int draw { get; set; }
public int start { get; set; }
publi... |
// GE Aviation Systems LLC licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace GEAviation.Fabrica.Model
{
/// <summary>
/// Represents a Bl... |
namespace CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.Basic.Server
{
public class ServerUpdateRequestOptions : NitroRequestOptions
{
}
public enum ServerUpdateRequestOptionsProperties
{
}
} |
using GiphyApiWrapper.Models.Parameters;
using GiphyApiWrapper.Models.Parameters.Stickers;
using System;
using Xunit;
namespace GiphyApiWrapper.Tests.Model_Tests.Stickers
{
public class StickerTrendingParameterTests
{
[Fact]
public void Limit_DefaultValue_Is25()
{
var paramt... |
using Core.Neurons;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class LogicalExample : MonoBehaviour
{
private struct LernData
{
public float input0;
public float input1;
public float result;
public LernData(float input0, float input1, float res... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using VerifyTests;
public class CustomContractResolver :
DefaultContractResolver
{
protected override IList<JsonProperty> CreateProperties(Type type, MemberSe... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cleipnir.ResilientFunctions.MongoDB.Tests.RFunctionTests;
[TestClass]
public class FailedTests : ResilientFunctions.Tests.TestTemplates.RFunctionTests.FailedTests
{
[TestMethod]
public override Task ExceptionThrowingFuncIsNotCompletedByWatchDog()
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Altairis.AskMe.Data.Base.Objects;
using Altairis.AskMe.Data.Transfer.Objects;
using Olbrasoft.Paging;
namespace Olbrasoft.AskMe.Business
{
public interface IAsk
{
Task<IEnumerable<CategoryListItemDto>> GetCategoriesAsync();
... |
using System;
namespace hashlecter
{
public enum HashingAlgorithm {
MD5,
SHA1,
SHA256,
SHA384,
SHA512,
RIPEMD160,
Whirlpool,
JHash,
}
}
|
using SharpRepository.Repository.FetchStrategies;
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpRepository.MongoDbRepository
{
public class MongoDbFetchStrategy<T> : GenericFetchStrategy<T>
{
public MongoDbFetchStrategy()
{
AllowDiskUse = false;
... |
// IslandTargetsPlayground
using ClubPenguin.ScheduledWorldObjects;
using UnityEngine;
public class IslandTargetsPlayground : MonoBehaviour
{
[Range(1f, 59f)]
[Tooltip("Every x minutes after the hour")]
public int EveryXMinutesAfterTheHour = 2;
[Tooltip("Selection behaviour for how the server determines which gro... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ZooDiscovery
{
public interface IServer:DevelopBase.Discovery.IServer
{
}
public interface IClient : DevelopBase.Discovery.IClient
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityGameFramework.Runtime;
using UnityGameFrameworkEntry = UnityGameFramework.Runtime.GameEntry;
namespace Cherry
{
public sealed partial class GameEntry
{
public static MapComponent Map
{
get { return UnityGameFrameworkEnt... |
using System.Collections.Generic;
namespace Sherpa.Library.ContentTypes.Model
{
public sealed class GtCalculatedProps
{
public GtResultType ResultType { get; set; }
public string Formula { get; set; }
public List<GtFieldRefs> FieldRefs { get; set; }
}
} |
using System.Runtime.CompilerServices;
using Autofac;
using Supertext.Base.Dal.SqlServer.ConnectionThrottling;
using Supertext.Base.Dal.SqlServer.Utils;
[assembly: InternalsVisibleTo("Supertext.Base.Dal.SqlServer.Specs")]
namespace Supertext.Base.Dal.SqlServer.Modules
{
public class SqlServerModule : Module
{... |
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Bogus;
namespace Themis.Geometry.Server.Tests
{
internal static class Extensions
{
internal static IEnumerable<string> GenerateRandomTextFiles(this Faker f, string dir, int count)
{
return f.GenerateUnique... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.