text stringlengths 1 932k |
|---|
// MIT License
//
// Copyright (c) 2020 Jeesu Choi
//
// 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, modif... |
///
/// Author: Ahmed Lacevic
/// Date: 12/1/2007
/// Desc:
///
/// Revision History:
/// -----------------------------------
/// Author:
/// Date:
/// Desc:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Globalization;
namespace SocialExplorer.IO.FastDBF
{
... |
namespace Emergency_Skeleton.Interfaces.IO
{
public interface IReader
{
string ReadLine();
}
} |
//////////////////////////////////////////////
/// 2DxFX - 2D SPRITE FX - by VETASOFT 2020 //
//////////////////////////////////////////////
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
[AddComponentMenu("2DxFX/Advanced Lightning/P... |
//------------------------------------------------------------------------------
// <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>
//--... |
using System;
using System.Collections.Generic;
using NSW.EliteDangerous.API;
using NSW.EliteDangerous.API.Events;
using Xunit;
namespace NSW.EliteDangerous.Events
{
public class StartJumpEventTests
{
private const string EventName = "StartJump";
[Theory]
[MemberData(nameof(Data))]
... |
using System;
namespace CSharpUnitTesting.assert.Sdk
{
class AClassWithEquals
{
private readonly int _value;
public AClassWithEquals(int value) => _value = value;
public override bool Equals(Object obj)
{
if (obj == null)
return false;
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Owin.Security.OAuth;
using Thinktecture.Relay.Server.Repository;
namespace Thinktecture.Relay.Server.Security
{
internal class AuthorizationServerProvider : OAuthAuthorizationServerProvider
{
private readonly ILinkRepository _linkRepositor... |
using System.Linq;
using System;
using UnityEditor;
using UnityEngine;
public static class BuildScript
{
[MenuItem("Build/Build Android")]
public static void BuildAndroid()
{
PlayerSettings.Android.useCustomKeystore = true;
EditorUserBuildSettings.buildAppBundle = false;
// Set b... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BlazorFluentUI
{
public enum AutoComplete
{
Off,
On,
Name,
HonorificPrefix,
GivenName,
AdditionalName,
FamilyName,
HonorificSuffix,
Nickname,
Email,
... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace LeptonicaSharp
{
public partial class _All
{
// bilinear.c (143, 1)
// pixBilinearSampledPta(pixs, ptad, ptas, incolor) as Pix
// pixBilinearSampledPta(PIX *, PTA *, PTA *, l_int32) as PIX *
///... |
using System.Web;
using System.Web.Mvc;
namespace TfsWebApi
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
} |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... |
using System.Web.Mvc;
namespace MvcContrib.Binders
{
public interface ITypeStampOperator
{
string DetectTypeStamp(ModelBindingContext bindingContext, IPropertyNameProvider propertyNameProvider);
}
} |
using System.Collections.Generic;
using Bitfinex.Net.Enums;
using CryptoExchange.Net.Converters;
namespace Bitfinex.Net.Converters
{
internal class MarginFundingTypeConverter: BaseConverter<MarginFundingType>
{
public MarginFundingTypeConverter(): this(true) { }
public MarginFundingTypeConvert... |
using System;
using System.Collections.Generic;
using System.Linq;
using HotChocolate;
using HotChocolate.Language;
using HotChocolate.Types;
using StrawberryShake.CodeGeneration.Analyzers.Models;
using StrawberryShake.CodeGeneration.Descriptors;
using StrawberryShake.CodeGeneration.Descriptors.TypeDescriptors;
using S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using System.Text.RegularExpressions;
using System.Globalization;
using Triggernometry.Variables;
namespace Triggernometry
{
public class Folder
{
private Reg... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Microsoft.AppCenter.Crashes
{
using AndroidExceptionDataManager = Com.Microsoft.Appcenter.Crashes.WrapperSdkExceptionManager;
using AndroidErrorReport = Com.Microsoft.Appcenter.Crashes.Model... |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Xml.XPath;
using EmployeeService.Areas.HelpPage.ModelDescriptions;
namespace EmployeeService.Areas.HelpPage
{
/// <summary>
/// A custom <see ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using MyAlbum.Core.Models;
using Newtonsoft.Json;
names... |
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc;
using HairSalon.Models;
using System.Collections.Generic;
using System.Linq;
namespace HairSalon.Controllers
{
public class StylistsController : Controller
{
private readonly HairSalonContext _db;
... |
using System;
using UnityEngine;
using UnityEngine.Rendering;
namespace UnityEditor.Rendering
{
/// <summary>
/// Serialized state of a Debug Item.
/// </summary>
[Serializable]
public abstract class DebugState : ScriptableObject
{
/// <summary>
/// Path of the Debug Item.
... |
using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerSideApp.Application.Exceptions
{
/// <summary>
/// Validation error.
/// </summary>
public class RequestValidationException : Exception
{
private const stri... |
using System;
using System.Linq;
using AutoMapper;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.PropertyEditors;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Core.Services;
using ContentVariation = Umbraco.Core.Models.ContentVariation;
namespace Umbraco.Web.Models.Mapping
{
/// <sum... |
namespace JOERP.Business.Entity
{
using System;
using System.Collections.Generic;
using Helpers.Enums;
public class PermisoRol
{
public int IdPermisoRol { get; set; }
public int IdRol { get; set; }
public int IdTipoPermiso { get; set; }
public int IdFormulario { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace Saar.FFmpeg.CSharp {
public static class Debug {
unsafe public static void Print(object ffStruct) {
ConsoleColor oldColor = Console.ForegroundColor;
var field... |
using System.Reflection;
using System.Windows;
namespace PS.WPF.Extensions
{
public static class WindowExtensions
{
#region Constants
private static readonly FieldInfo ShowingAsDialogField;
#endregion
#region Static members
public static bool IsModal(this Window win... |
@{
ViewData["Title"] = "Home Page";
}
@using Humanizer
@model System.Collections.Generic.List<EspressoShop.Web.Models.ProductViewModel>
<main role="main">
<div>
<h2 class="display-4">This is the <b>8th</b> ADM UK Colloquium, current session is presenting by <b style="color:blue">Anup Singh(anup.singh... |
using DragonFly.Contents.Content;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DragonFly.Storage.MongoDB.Models.ContentStructures
{
/// <summary>
/// MongoContentStructure
/// </summary>
public class MongoContentStructure... |
namespace Ryujinx.Graphics.Gal
{
public enum GalBlendFactor
{
Zero = 0x1,
One = 0x2,
SrcColor = 0x3,
OneMinusSrcColor = 0x4,
SrcAlpha = 0x5,
OneMinusSrcAlpha = 0x6,
DstAlpha ... |
@using IGCV_Protokoll.util
@model IGCV_Protokoll.Areas.Session.Models.Lists.Conference
<tr id="conference_createform">
<td colspan="8">
@using (Ajax.BeginForm("_Create", "LConferences", new {Area = "Session"}, new AjaxOptions
{
HttpMethod = "POST",
OnSuccess = "AddRow('conference', data);",
OnFailure = ... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
using System.Windows;
namespace ITCC.NetworkView.NetworkUI
{
/// <summary>
/// Base class for connection dragging event args.
/// </summary>
... |
#region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using com.freeclimb.api;
using com.freeclimb.api.conference;
using System;
using System.Reflection;
using System.Net;
using com.freeclimb;
namespace freeclimb_cs_sdk_test.api.conference
{
[TestClass]
public class ConferenceRequesterTest
{
[TestMe... |
using System.Collections.Generic;
namespace FilterLists.Archival.Domain.ListArchives
{
public class ListArchive
{
public ListArchive(int id, IAsyncEnumerable<ListArchiveSegment> segments)
{
Id = id;
Segments = segments;
}
public int Id { get; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SolidCP.EnterpriseServer;
using SolidCP.Providers.Common;
namespace SolidCP.Portal.StorageSpaces
{
public partial class StorageSpacesList : SolidCPModuleBase
{
... |
// Copyright (c) 2019 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 l... |
using System;
using System.Collections.Generic;
using Verse;
namespace CommunityCoreLibrary
{
public class CompProperties_AutomatedFactory : CompProperties
{
#region XML Data
public FactoryOutputVector outputVector = FactoryOutputVector.Invalid;
public FactoryProd... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smobiler.Core;
using Smobiler.Core.Controls;
namespace Smobiler.Tutorials.Plugins
{
partial class demoMediaView : Smobiler.Core.Controls.MobileForm
{
public demoMediaView() : base()
{
//This... |
namespace FBC.Domain.ValueObjects;
public sealed class Address : ValueObject
{
public Address()
{
}
public Address(string street, string city, string zip, string country)
{
Street = street;
City = city;
Zip = zip;
Country = country;
}
public string? Street... |
namespace Microsoft.Azure.ServiceBusExplorer.Controls
{
partial class HandleQueueControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Component Designer generated code
/// <s... |
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
public class DOJumpLookAtPath : MonoBehaviour
{
public Transform target;
public float duration;
public float jumpPower;
public Vector3 jumpEnd;
IEnumerator Start()
{
yield return new Wait... |
// Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Moq;
using NUnit.Framework;
namespace Buffalo.Core.Common.Test
{
[TestFixture]
public sealed class ConfigSettingListTest
{
[Test]
public void... |
namespace KarateIsere.DataAccess.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Mail : DbMigration
{
public override void Up()
{
}
public override void Down()
{
}
}
} |
using Ardalis.ApiEndpoints;
using crm.common;
using crm.common.DTOs;
using crm.common.Utils;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Thread... |
// <auto-generated />
using System;
using EduManagementLab.EfRepository;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#... |
using System.Linq;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using AspNetCoreTodo.Data;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
us... |
/*
* Selling Partner API for Merchant Fulfillment
*
* The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
*
* OpenAPI spec version: v0
*
* Generated by: https://github.com/swagger-a... |
using GW2EIEvtcParser.EIData;
namespace GW2EIEvtcParser.ParsedData
{
public abstract class AbstractBuffStackEvent : AbstractBuffEvent
{
protected uint BuffInstance { get; set; }
internal AbstractBuffStackEvent(CombatItem evtcItem, AgentData agentData, SkillData skillData) : base(evtcItem, ski... |
//
// Copyright (C) 2012 DataStax Inc.
//
// 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 applica... |
using ActorModelDemo.Akka.Messages;
using Akka.Actor;
using System.Net.Http;
using System.Threading.Tasks;
namespace ActorModelDemo.Akka.Actors
{
internal class DownloadHtmlActor : UntypedActor
{
public static Props CreateProps() => Props.Create<DownloadHtmlActor>();
protected override void O... |
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using LaDeak.JsonMergePatch.Abstractions;
namespace AspNetCoreMinimal.Entities;
[Patchable]
public class CitiesData
{
public Dictionary<string, string> Cities { get; set; }
}
[Patchable]
public class WeatherForecast
{
publ... |
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using DataStructuresLib.Lattices.Lattice1D;
namespace DataStructuresLib.Lattices.Lattice2D
{
public class RowsLattice2D<TValue> :
ILattice2D<TValue>,
IReadOnlyList<ILattice1D<TValue>>
{
private read... |
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using NSign.Signatures;
using System.Threading.Tasks;
namespace NSign.AspNetCore
{
/// <summary>
/// Implements an AspNetCore middleware that verifies signatures on request messages passed in 'signature' h... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using Xenko.Core;
namespace Xenko.Core.Assets.Quantum
{
[Flags]
public enum Su... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using... |
// MIT License
// Copyright(c) 2017 Andre Plourde
// part of https://github.com/BorealianStudio/OpenMerx
// 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 w... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using Unity.Builder;
using Unity.Policy;
namespace Unity.ResolverPolicy
{
/// <summary>
/// A <see cref="IResolverPolicy"/> that will attempt to
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
namespace Dragablz.Core
{
internal static class Native
{
[StructLayout(LayoutKind.Sequential)]
public struct Point
{
... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
namespace Microsoft.Telepathy.ServiceBroker.UnitTest.Mock
{
using System.ServiceModel;
[ServiceBehavior(IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode.Single)]
internal class MockService : IEchoSvc
{
public string Echo(string input)
{
retur... |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using Autofac;
using EdFi.Admin.DataAccess.Provid... |
using System;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
using WinBot.Commands.Attributes;
namespace WinBot.Commands.Staff
{
public class ReactPurgeCommand : BaseCommandModule
{
[Command("reactpurge")]
[Ca... |
namespace tba.Core.Utilities
{
public interface IHashProvider
{
string GetHash(string input);
}
} |
//
// (C) Copyright 2003-2011 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty ... |
using System;
namespace MPT.Geometry.Segments
{
/// <summary>
/// Segment that describes a Bezier curve between two points in a plane.
/// </summary>
public class BezierSpline
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
usi... |
using System;
namespace InvertedIndex
{
public static class Program
{
private const string IndexName = "document_test";
private const string ResourceAddress = "../../../../resources/EnglishData";
public static void Main(string[] args)
{
var controller = new Control... |
// 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.
using Test.Cryptography;
using Xunit;
namespace System.Security.Cryptography.OpenSsl.Tests
{
public static clas... |
using System;
using System.Collections;
using System.Linq;
using UIKit;
using Foundation;
using Uno.Extensions;
using Uno.UI.Views.Controls;
using Uno.UI.Controls;
using Uno.Extensions.Specialized;
using Windows.UI.Xaml.Controls.Primitives;
namespace Windows.UI.Xaml.Controls
{
public partial class FlipViewSource : U... |
using System;
using System.Linq;
using System.Threading.Tasks;
using SharpBrick.PoweredUp.Bluetooth;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
namespace SharpBrick.PoweredUp.WinRT
{
public class WinRTPoweredUpBluetoothDevice : IPoweredUpBluetoothDevice
{
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.Graph.Rbac.Models
{
/// <summary> Request parameters for GetMemberGroups API call. ... |
public class ExponentialTestScript : DistributionTestScript {
public RandomFromDistribution.Direction_e direction = RandomFromDistribution.Direction_e.Right;
public float exponent = 2.0f;
protected override float GetRandomNumber(float min, float max) {
return RandomFromDistribution.RandomRangeExponential(mi... |
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin,amd64
// Package macOS provides cgo-less wrappers for Core Foundation and
// Security.framework, similarly to how package syscall provides acc... |
// Copyright (c) 2021 MauricioRB06 <https://github.com/MauricioRB06>
// MIT License < Please Read LICENSE.md >
//
// The purpose of this script is:
//
// Generate a behavior for the entity, that allows it to dodge at the player..
//
// Documentation and References:
//
// C# Read only: https://docs.microsoft.co... |
/*
* Copyright 2010-2013 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 "l... |
using BooksLib;
using BooksLib.ViewModels;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BooksSample
{
// Learn more about making custom code visi... |
namespace MooVC.Processing
{
using System.Threading.Tasks;
public delegate Task ProcessorStateChangedAsyncEventHandler(IProcessor sender, ProcessorStateChangedAsyncEventArgs e);
} |
/*
* 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.
* You may obtain a copy of... |
using System;
using System.Collections.Generic;
using Cosmos.HAL;
using Cosmos.Debug.Kernel;
using Cosmos.HAL.BlockDevice;
using Cosmos.HAL.BlockDevice.Ports;
using Cosmos.HAL.BlockDevice.Registers;
using Cosmos.Core;
namespace Cosmos.HAL.BlockDevice
{
public class AHCI
{
internal static Debugger mAHCI... |
// Encog(tm) Artificial Intelligence Framework v2.5
// .Net Version
// http://www.heatonresearch.com/encog/
// http://code.google.com/p/encog-java/
//
// Copyright 2008-2010 by Heaton Research Inc.
//
// Released under the LGPL.
//
// This is free software; you can redistribute it and/or modify it
// under the terms ... |
using NUnit.Framework;
namespace EventStore.Core.Tests.ClientAPI
{
[SetUpFixture]
internal class api_tests_nunit_setup
{
[SetUp]
public void SetUp()
{
MiniNode.Instance.Start();
}
[TearDown]
public void TearDown()
{
MiniNode.... |
using System;
using System.Collections.Generic;
namespace Java.Util.Concurrent
{
internal class ComparableComparer<T> : IComparer<T>
where T : IComparable<T>
{
public int Compare(T x, T y)
{
return x.CompareTo(y);
}
public static ComparableComparer<T> Defaul... |
namespace OpenCqrs.Queries
{
public interface IQuery<TResult>
{
}
} |
using BrightLib.RPGDatabase.Runtime;
using UnityEditor;
using UnityEngine;
namespace BrightLib.RPGDatabase.Editor
{
public class EffectsSection : Section
{
public BaseData entrySelected;
public EffectsSection()
{
_title = "Effect";
}
public override void D... |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Project.Solar.Flare.Test.Api;
using System;
using System.Net.Http;
using Project.Solar.Flare.Tests.Objects.ObjectMothers;
namespace Project.Solar.Flare.Tests.Integration.Tests.Infrastructure
{
public class TestContext : IDisposable
{
... |
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.ap... |
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grimoire.Explore.Abstractions;
using Grimoire.Explore.CommandRouting;
using Grimoire.Explore.Common;
using Grimoire.Explore.Parameter;
using Grimoire.Line.Api.Message;
using Microsoft.Extensions.DependencyInjection;
namespace Grimo... |
using Cronos;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using MuseiNews.DAL;
using MuseiNews.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.ServiceModel.Syndication;
using System... |
using System;
using Newtonsoft.Json;
namespace Usergrid.Sdk.Model
{
public class NotificationSchedulerSettings
{
[JsonProperty("deliver")]
public DateTime DeliverAt {get;set;}
[JsonProperty("expire")]
public DateTime ExpireAt { get; set;}
public NotificationSchedulerSettings()
{
DeliverAt = DateTime.... |
/*
* Copyright 2010-2014 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 "l... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Allows AI to move with specified path.
/// </summary>
public class AiStatePatrol : AiState
{
[Space(10)]
[HideInInspector]
// Specified path
public Pathway path;
// Need to loop path after last point is reac... |
<?cs # A link to a package ?><?cs
def:package_link(pkg) ?>
<a href="<?cs var:toroot ?><?cs var:pkg.link ?>"><?cs var:pkg.name ?></a><?cs
/def ?>
<?cs # A link to a type, or not if it's a primitive type
link: whether to create a link at the top level, always creates links in
recursive invocation... |
using Atropos.Common.Dto;
using client.Wpf.Data;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace atroposTest.Client.Gui
{
[TestFixture]
public class DayOfWeekGuiTest
{
[TestCase]
public void DaySetEmptyDto()
... |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
namespace NModbus.Extensions
{
using System;
[Obsolete("Master/Slave terminology is deprecated and replaced with Client/Server. Use ModbusClientEnhanced instead.")]
public class ModbusMasterEnhanced : ModbusClientEnhanced
{
public ModbusMasterEnhanced(IModbusMaster client, uint wordSize = 32, Func<b... |
// 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.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus.Core;
namespace Microsoft.Azure.WebJobs.ServiceBus.Bindings
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.