text stringlengths 1 932k |
|---|
using Fluid.Roguelike.AI;
using Fluid.Roguelike.Database;
using FluidHTN;
using UnityEngine;
namespace Fluid.Roguelike.Dungeon
{
[CreateAssetMenu(fileName = "Dungeon Domain", menuName = "AI/Domains/Dungeon")]
public class DungeonDomainDefinition : AIDomainDefinition<DungeonContext>
{
[SerializeFi... |
#if NODE_CANVAS_PRESENT
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using WizardsCode.AI;
namespace WizardsCode.AI.Magic
{
/// <summary>
/// Allows An `AiBaseCharacter` the conrol of a magic effect through Animation Events.
/// </summary>
public class MagicEffectCont... |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... |
using chat.Filters;
using chat.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using System.Data.Entity;
namespace chat.Controllers
{
[JwtAuthentication]
public class ChatCon... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using Common;
using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
using Sy... |
using System;
namespace Crocodal.Attributes
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class BodyAttribute : Attribute
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Graphql.Server.Common
{
public abstract class Payload
{
protected Payload(IReadOnlyList<UserError>? errors = null)
{
Errors = errors;
}
public IReadOnlyList<U... |
#pragma checksum "C:\Users\chris\Desktop\Drumble\DrumbleApp.8\UserControls\Modes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8FA9828C107E935E89A34A89756C60E4"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtim... |
using Stride.Core.Mathematics;
namespace BepuPhysicsExample.BepuPhysicsIntegration
{
//public class ConeTwistConstraint : BepuConstraint
//{
// internal BulletSharp.ConeTwistConstraint InternalConeTwistConstraint;
// /// <summary>
// /// Gets or sets the fix thresh.
// /// </su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class UIController {
private const string GAME_HUD_PREFAB_PATH = "Prefabs/GameHUD";
private GameObject HUD;
public Canvas Canvas { get; private set; }
public void Init() {
Canvas ... |
/*
* 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.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AlwaysFaceCamera : MonoBehaviour {
void Update ()
{
this.transform.forward = Camera.main.transform.forward;
}
} |
/*
** SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
** Copyright (C) 2011 Silicon Graphics, Inc.
** All Rights Reserved.
**
** 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 wi... |
namespace FantasyFL.Services.Data.Tests
{
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using FantasyFL.Data.Common.Repositories;
using FantasyFL.Data.Models;
using FantasyFL.Data.Models.Enums;
using FantasyFL.Services.Mappi... |
/*
* Copyright (c) 2016 Primo Software. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// G... |
@using SAPBotAPI.Areas.HelpPage.ModelDescriptions
@model DictionaryModelDescription
Dictionary of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescript... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UniCade.Backend;
using UniCade.Constants;
using UniCade.Interfaces;
using UniCade.Objects;
using Console = UniCade.Objects.Console;
namespace UnitTests.BackendTests
{
[TestClass]
public class EsrbRatingTests
{
#region Propert... |
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
using Snowflake.Data.Log;
using System.Threading;
using System.Threading.Tasks;
namespace Snowflake.Data.Core.Authenticator
{
class BasicAuthenticator : IAuthenticator
{
public static readonly string AUTH_NAME = "snowflak... |
using System;
using System.Security.Principal;
using System.ServiceModel;
using System.ServiceModel.Description;
using Xi.Contracts;
using Xi.Contracts.Data;
namespace Ssz.Xi.Client.Internal.Endpoints
{
/// <summary>
/// This class defines endpoints that support the Xi IRead interface.
/// </summary>
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace AYN.Web.ViewModels.Administration.Ads;
public class PromoteAdInputModel
{
public string Id { get; set; }
[Required]
public DateTime PromoteUntil { get; set; }
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace APILocalBiz
{
public class Program
{
public s... |
namespace P01_HospitalDatabase.Data.Models
{
using System;
public class Visitation
{
public int VisitationId { get; set; }
public DateTime Date { get; set; }
public string Comments { get; set; }
public int PatientId { get; set; }
public Patient Patient { get; set; ... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using System;
using PAEF1a.Core;
using PAEF1a.DomainServices;
using PAEF1a.Presentation.ViewModels;
using PAEF1a.Presentation.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using Unity;
using VNC;
namespace PAEF1a
{
public class PAEF1aModule : IModule
{
private readonly IRegio... |
namespace TerrificNet.ViewEngine.Client
{
public interface IClientTemplateGenerator
{
void Generate(TemplateInfo templateInfo, IClientContext clientContext, IClientModel clientModel);
}
public interface IClientTemplateGeneratorFactory
{
IClientTemplateGenerator Create();
}
} |
/****************************************************************************/
/* FileUtilities.cs */
/****************************************************************************/
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* AUTHOR: Vance... |
using System;
using UnityEngine;
using Scripts.Level.NPC;
namespace Scripts.Level.Dialogue
{
public class DialogueTired : DialogueTalkerDirect
{
public PoloInfo PoloInfo;
public override void OnStartTalk()
{
base.OnStartTalk();
PoloInfo.StopAnimation();
... |
using System;
using Volo.Abp.Application.Dtos;
namespace Acme.BookStore.Books
{
public class BookDto : AuditedEntityDto<Guid>
{
public string Name { get; set; }
public BookType Type { get; set; }
public DateTime PublishDate { get; set; }
public float Price { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.DotNet.Csv;
namespace Microsoft.DotNet.Analyzers.Compatibility.ModernSdk
{
internal sealed class ModernSdkDocument
{
private SortedSet<(string name, string moduleName)> _apis;
public ModernSdkDocument(SortedSet<(... |
namespace Labuladong;
public class Code1020
{
public static void Exection()
{
var grid = new int[4][];
grid[0] = new int[] { 0, 0, 0, 0 };
grid[1] = new int[] { 1, 0, 1, 0 };
grid[2] = new int[] { 0, 1, 1, 0 };
grid[3] = new int[] { 0, 0, 0, 0 };
int result = Num... |
using System;
using System.Net.Http;
using Dalion.HttpMessageSigning.TestUtils;
using FakeItEasy;
using FluentAssertions;
using Xunit;
namespace Dalion.HttpMessageSigning.SigningString {
public class SigningStringComposerTests {
private readonly IHeaderAppenderFactory _headerAppenderFactory;
privat... |
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Actors;
using Microsoft.ServiceFabric.Actors.Remoting.FabricTransport;
using Microsoft.ServiceFabric.Services.Remoting;
[assembly: FabricTransportActorRemotingProvider(RemotingListenerVersion = RemotingListenerVersion.V2_1, RemotingC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TOM2AMO.Parsing
{
public static class MDXCommandParser
{
private static readonly string[] KEY_WORDS = new string[]{
"CREATE MEASURE",
"CREATE KPI CURREN... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
using Microsoft.PowerApps.Tools.AppChangeFinder.Common;
using Microsoft.PowerApps.Tools.AppChangeManager;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Sys... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
using UnnamedProject.Engine;
using UnnamedProject.Render.Software;
using UnnamedProject.Resources.Demo;
namespace UnnamedProject.Client.ExperimentalConsole
{
public class ConsoleGame
{
p... |
//------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2018 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using GameFramework;
using S... |
using Lsj.Util.Win32.BaseTypes;
using Lsj.Util.Win32.Callbacks;
using Lsj.Util.Win32.Enums;
using Lsj.Util.Win32.Marshals;
using Lsj.Util.Win32.Structs;
using System;
using System.Runtime.InteropServices;
using static Lsj.Util.Win32.BaseTypes.BOOL;
using static Lsj.Util.Win32.Constants;
using static Lsj.Util.Win32.Enu... |
using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Automation.Peers;
using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace MahApps.Metro.Controls.Dialogs
{
/// <summary>
/// The base class for dialogs.
///
/// You probably don't want to use ... |
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StreamFeedBot.Rulesets
{
public class TriHardEmeraldRuleset : Ruleset
{
private bool Reset;
private readonly List<Pokemon> Lost = new List<Pokemon>();
private uint Expected;
private readonl... |
using EPiServer.Shell.Security;
using System.Threading.Tasks;
using EPiServer.ServiceLocation;
using System.Collections.Generic;
using System;
using System.Text;
namespace Lorem.Testing.Optimizely.CMS.Commands
{
internal class CreateUser
{
private readonly UIUserProvider _userProvider;
private... |
using System.IO;
using NUnit.Framework;
using Shouldly;
using SqlDatabase.Configuration;
using SqlDatabase.PowerShell.TestApi;
namespace SqlDatabase.PowerShell
{
[TestFixture]
public class UpgradeCmdLetTest : SqlDatabaseCmdLetTest<UpgradeCmdLet>
{
[Test]
[TestCase("Update-SqlDatabase")]
... |
// Project: Aguafrommars/DynamicConfiguration
// Copyright (c) 2021 @Olivier Lefebvre
using Microsoft.AspNetCore.Components;
using System.ComponentModel;
using System.Reflection;
namespace Aguacongas.DynamicConfiguration.Razor
{
/// <summary>
/// Displays a configuration property
/// </summary>
publi... |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange (mailto:Stefan.Lange@pdfsharp.com)
// Klaus Potzesny (mailto:Klaus.Potzesny@pdfsharp.com)
// David Stephensen (mailto:David.Stephensen@pdfsharp.com)
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany)
//
// http://ww... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("estest1")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduc... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Identity;
using NPoco;
using Umbraco.Core.Cache;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Entities;
using Umbraco.Core.Models.Identity;
using Umbraco.Core.Persistence.Dtos;
using Umbraco.Core.Persistence.Factories;
u... |
using Engine.Archetypes;
using Engine.Components;
using Engine.Entities;
using Engine.Systems;
using Engine.Systems.Activation.Components;
using PlayGen.ITAlert.Simulation.Archetypes;
using PlayGen.ITAlert.Simulation.Common;
using PlayGen.ITAlert.Simulation.Components.Items;
using PlayGen.ITAlert.Simulation.Exceptions... |
using Npgsql;
using R5.Internals.PostgresMapper.SqlBuilders;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace R5.Internals.PostgresMapper.QueryCommand
{
// todo internal
public class ExistsQuery<TEntity>
{
private Func<Npgsq... |
using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Xero.ScreencastWeb.Controllers
{
public class ReturnToHomeResult : ActionResult
{
private string _homepageMessage = string.Empty;
public ReturnToHomeResult()
{
}
pub... |
namespace SchoolSystem.CLI.Core.Contracts
{
/// <summary>
/// Interface for a source Reader provider
/// </summary>
public interface IReader
{
/// <summary>
/// Reads data from a specific source.
/// </summary>
/// <returns>Returns the read data as string.</returns>
... |
namespace ChEngine.Assessment.Services.DTO;
public class SoldProductDto
{
public string? MerchantProductNo { get; set; }
public string? Name { get; set; }
public string? Gtin { get; set; }
public int Quantity { get; set; }
public override string ToString()
{
return $"{Name}\t{Gtin}... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Lab_07_Collections.Classes
{
public class Card
{
public SuitNum Suit { get; set; }
public ValNum Value { get; set; }
/// <summary>
/// constructor method for the object of card class
/// </sum... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Treasure : MonoBehaviour {
private Animator animator;
public GameObject coin;
public bool open;
public float damageDelay;
// Use this for initialization
void Start() {
animator =... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor.Experimental.SceneManagement;
using UnityEngine.Experimental.Animations;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
using UnityEngine.Animations;
namespace UnityEditor.Timeli... |
/*The MIT License (MIT)
Copyright (c) 2014 PMU Staff
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Web.Data;
namespace Web.Data.Mig... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TrustAllCertificatePolicy.cs" company="AlphaMosaik">
// Copyright (c) AlphaMosaik. All rights reserved.
// </copyright>
// <summary>
// Defines the TrustAllCertificatePolicy t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
class Program
{
static void Main()
{
int number = int.Parse(Console.ReadLine());
List<string> line = new List<string>();
List<BigInteger> lineNum =... |
namespace Assets.ProceduralLevelGenerator.Editor
{
using System;
using UnityEditor;
public class CustomInspectorWindow : EditorWindow
{
private Editor editor;
public void OnGUI()
{
if (editor != null)
{
editor.DrawHeader();
editor.OnInspectorGUI();
// editor.serializedObject.ApplyModified... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
using System;
using UnityEngine.Purchasing.Extension;
namespace UnityEngine.Purchasing
{
interface IGooglePlayConfigurationInternal
{
void NotifyInitializationConnectionFailed();
void NotifyDeferredPurchase(IStoreCallback storeCallback, string productId, string receipt, string transactionId);
... |
#region Copyright(c) Alexey Sadomov, Vladimir Timashkov. All Rights Reserved.
// -----------------------------------------------------------------------------
// Copyright(c) 2010 Alexey Sadomov, Vladimir Timashkov. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modifi... |
using CarWash.Persistence.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CarWash.Persistence.UseCases.WorkDays
{
public class WorkDaysFactory : IWorkDaysFactory
{
private readonly IEnumerable<DayOfWeek> _workingDays;
public WorkDaysFactory()
{
... |
using System;
using System.Collections.Generic;
using UniFlow.Utility;
using UnityEngine;
namespace UniFlow.Connector.Misc
{
[AddComponentMenu("UniFlow/Misc/Toss", (int) ConnectorType.Toss)]
public class Toss : ConnectorBase, IMessageCollectable
{
[SerializeField] private List<GameObject> targets =... |
using System;
namespace Chromely.Core.Host
{
public interface IWindowMessageInterceptor
{
void Setup(IChromelyNativeHost nativeHost, IntPtr browserHandle);
}
} |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Shadower.Data.Migrations
{
public partial class AddDbModels : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Dotnet.Storm.Adapter.Channels;
using Dotnet.Storm.Adapter.Messaging;
using log4net;
using Newtonsoft.Json;
namespace Dotnet.... |
using System.Collections.Generic;
using System.Linq;
namespace Alura.ListaLeitura.Modelos
{
public static class TipoListaLeituraExtensions
{
private static Dictionary<string, TipoListaLeitura> mapa =
new Dictionary<string, TipoListaLeitura>
{
{ "ParaLer", TipoListaLeitura.ParaLe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace GLTFTools
{
[JsonConverter(typeof(Vector4Converter))]
public struct Vector4<T> : IGLPrimitive
{
public T X;
public T Y;
public T Z;
... |
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Connect
{
/// <summary>
/// Contains information about an external account info
/// </summary>
public class ExternalAccountInfo : ISettable
{
/// <su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace KeyValueStorage.Remote
{
/// <summary>
/// Derive your service class from this base class
/// </summary>
abstract class KVStoreService : IHttpHandler
{
public void ProcessReque... |
using UnityEngine;
using System.Collections;
public class TouchCamController : MonoBehaviour
{
public Vector2 MoveSensitivity = Vector2.one;
public bool SensitiveMode = true;
public float orthoZoomSpeed = 0.05f;
public float MinZoom = 1.0f;
public float MaxZoom = 20.0f;
public bool InvertX ... |
using System;
using System.Linq;
using Elements.Geometry;
using Xunit;
namespace Elements.Tests
{
public class GeometricElementTests : ModelTest
{
[Fact]
public void GeneratingMeshFromMassHasCorrectVerticesAndTriangles()
{
var profile = Polygon.Rectangle(1.0, 1.0);
... |
using UnityEngine;
[CreateAssetMenu]
public class Parameters : ScriptableObject {
public int StartAge;
public int StartDay;
public int StartMoney;
public int MonthMoney;
public int StressLimit;
public int DiseaseLimit;
public int MadLimit;
public int LowMoneyStress;
public int MinPromotionTimes;
public int ... |
using System;
using System.IO;
using NUnit.Framework;
using YamlDotNet.Serialization;
namespace Bitifier.Configuration.Tests
{
[TestFixture]
public class LoadFromFileTests
{
[Test]
public void ShouldBePossibleToLoadFromFile()
{
string configFile = Path.ChangeExtension(Path.Combine(... |
using System.Text.Json.Serialization;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json;
internal sealed class JsonLoginSuccessOutgoingMessage : JsonPacket
{
private protected override string InternalType => "loginSucce... |
/*
* 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... |
// The MIT License (MIT)
//
// Copyright (c) 2015 Pathmatics, Inc
//
// 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 u... |
/*
* BSD 2-Clause License
*
* Copyright (c) 2022, Cisco Systems
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright... |
// *** 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AgileGardeningApp.AppConstants
{
public static class Appconstants
{
public const string DomainUrl = "http://192.168.1.9:57274";
}
} |
using AReport.Support.Entity;
namespace AReport.DAL.Writer
{
class IncidenciaWriter : IntermWriter<Incidencia>
{
protected override EntityWriter<Incidencia> GetDeleteWriter
{
get
{
return new IncidenciaDelete();
}
}
protect... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Devices
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ |... |
/*****************************************************************************************
(c) 2017-2018 HID Global Corporation/ASSA ABLOY AB. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are... |
using System.Threading.Tasks;
using Abp.Application.Services;
using Afonsoft.SetBox.Authorization.Accounts.Dto;
namespace Afonsoft.SetBox.Authorization.Accounts
{
public interface IAccountAppService : IApplicationService
{
Task<IsTenantAvailableOutput> IsTenantAvailable(IsTenantAvailableInput input);
... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
namespace Stripe
{
// this class is a simple type that can be returned from a transfer result when using a recipient. since stripe.net does not support expanding the source
// on transfers, this is not needed r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BonusHomework.Templates
{
public enum MemberTypes
{
A,
B,
C
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StardewEditor3.ContentPatcher
{
public class ContentPatcherModData : ModData
{
public ContentPatcherModData()
: base(ContentPatcherController.MOD_UNIQUE_ID)
{... |
// ReSharper disable All
using System;
using System.Configuration;
using System.Diagnostics;
using System.Net.Http;
using System.Runtime.Caching;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Dispatcher;
using System.Web.Http.Hosting;
using System.Web.Http.Routing;
using Xunit;
namesp... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("01.... |
#region license
// Copyright (c) 2021, andreakarasho
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("P01... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CuentasClaras.Services.Utils
{
public static class LinqExtensions
{
public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)... |
using GridLike.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace GridLike.Migrations.MySQL;
public class MigrationContextFactory : IDesignTimeDbContextFactory<GridLikeContext>
{
public GridLikeContext CreateDbContext(string[] args)
{
var builder = new DbC... |
using System;
namespace FileUpload.Models.Domain
{
public class RolesModel
{
public string Description { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace EmployeePortal
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/... |
using System.Net;
/// <summary>
/// Modibot web interface namespace
/// </summary>
namespace ModibotWebInterface
{
/// <summary>
/// Web page interface
/// </summary>
public interface IWebPage
{
/// <summary>
/// Page name
/// </summary>
string Name { get; }
... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.Parsing;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.