text stringlengths 1 932k |
|---|
#if DEBUG
using UnityEngine;
namespace IonCubeGenerator.Debug_IONCube.Patches
{
public static class temp
{
public static GameObject Prefab { get; set; }
public static Animator Animator { get; set; }
public static AnimatorStateInfo AnimatiorState { get; set; }
public static Game... |
namespace TheTieSilincer.Interfaces
{
using TheTieSilincer.Enums;
using TheTieSilincer.Models.Weapons;
public interface IWeaponFactory
{
Weapon CreateWeapon(WeaponType weaponType);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomFireSpawner : MonoBehaviour
{
public GameObject firePrefab;
public GameObject player;
private float xPos, yPos, zPos;
public void Start()
{
StartCoroutine(RandomPosition());
}
IEnume... |
using System;
using System.Security.Cryptography;
using System.Text;
namespace FRSKeygen
{
public static class Generator
{
static string customerName = "DUMMY";
static string issueDate = "20160101";
//static string key;
static string maximumCameras = "1024";
static strin... |
// 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.Diagnostics;
using... |
using EssentialUIKit.ViewModels.Catalog;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
namespace EssentialUIKit.Views.Catalog
{
/// <summary>
/// Page to display the travel page.
/// </summary>
[Preserve(AllMembers = true)]
[XamlCompilation(XamlCompilationOptions.Compile)]
public pa... |
using System;
using System.Globalization;
using ClearHl7.Helpers;
using ClearHl7.Serialization;
using ClearHl7.V290.Types;
namespace ClearHl7.V290.Segments
{
/// <summary>
/// HL7 Version 2 Segment BLG - Billing.
/// </summary>
public class BlgSegment : ISegment
{
/// <inheritdoc/>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Web.Managers;
using Web.Models;
namespace Web.Factory.FactoryMethod
{
public class ContractEmployeeFactory : BaseEmployeeFactory
{
public ContractEmployeeFactory(Employee emp) : base(emp)
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text.RegularExpressions;
namespace GraphQL.EntityFramework
{
public static class ExpressionBuilder<T>
{
const string LIST_PROPERTY_PATTERN = @"\[(.*)\]";
#re... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Comments.Controllers.Api
{
public class LogPostModel
{
public string Message { get; set; }
}
/// <summary>
/// This is just here so the front-end can log stuff to kibana.
/// ... |
/*
* 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... |
// Mileage Tracker
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2022
using Jeebs.Auth.Data;
using Jeebs.Cqrs;
using Mileage.Persistence.Common.StrongIds;
namespace Mileage.Domain.DeleteJourney;
/// <inheritdoc cref="DeleteJourneyHandler"/>
/// <param name="UserId">User ID</param>
/// <param name="Id... |
using System;
using System.Text;
using RabbitMQ.Client;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using CommandsService.EventProcessing;
using Microsoft.Extensions.Configuration;
using RabbitMQ.Client.Events;
namespace CommandsService.AsyncDataServices
{
public clas... |
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("be... |
//HintName: Test.ServiceCollectionBuilder.generated.cs
#nullable enable
using Microsoft.Extensions.DependencyInjection;
namespace Test
{
public partial class ServiceCollectionBuilder
{
public void Build(IServiceCollection serviceCollection)
{
serviceCollection.AddSingleton<Test.Ser... |
using System;
using System.ComponentModel;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace IFSMobileApp.Views
{
// Learn more about making custom code visible in the Xamarin.Forms previewer
// by visiting https://aka.ms/xamarinforms-previewer
[DesignTimeVisible(false)]
public partial class Ab... |
namespace BohoTours.Web.ViewModels.Bookings
{
using System;
using System.ComponentModel.DataAnnotations;
using BohoTours.Data.Common.Constants;
public class CreateVacationBookingViewModel
{
public int Id { get; set; }
public int EntityId { get; set; }
public int EntityPr... |
// <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 System.Linq;
using System.Windows.Forms;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
using ARDB = Autodesk.Revit.DB;
namespace RhinoInside.Revit.GH.Components.Materials
{
public class QueryMaterials : ElementCollectorComponent
{
public override Guid ComponentGuid => new G... |
using System;
namespace Volleyball
{
class Program
{
static void Main(string[] args)
{
string typeY = Console.ReadLine();
int pDays = int.Parse(Console.ReadLine());
int hDays = int.Parse(Console.ReadLine());
double weekEndsY = 48.0;
d... |
#region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2012 FUJIWARA, Yusuke
//
// 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.apac... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.Build.Reporting;
using UnityEditor.IMGUI.Controls;
using UnityEngine;
using VRWorldToolkit.DataStructures;
namespace VRWorldToolkit
{
public class BuildReportTreeView : TreeView
{
p... |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
/// <summary>
/// RoomResource
/// </summary>
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using Twilio.Base;
using Twilio.Clients;
using Twilio.Converters;
using Twilio.Exceptions;... |
// 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 System;
using System.Collections.Generic;
us... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DatCar.PricingEngine.Models
{
public abstract class DiscountRule
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TechStyle.Dominio.Modelo;
namespace TechStyle.Dados.Repositorio
{
public class LojaRepositorio
{
private List<Loja> listaDaLoja;
public LojaRepositorio()
{
... |
using FluentValidation;
using ReconNess.Web.Dtos;
using System;
using System.Collections.Generic;
namespace ReconNess.Web.Validations
{
public class TargetValidator : AbstractValidator<TargetDto>
{
public TargetValidator()
{
RuleFor(x => x.Name).NotEmpty();
RuleFor(x => ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using McMaster.Extensions.CommandLineUtils;
namespace BuildUpToDateChecker
{
[ExcludeFromCodeCoverage]
[Command(Name = "BuildUpToDateChecker", Description = "Analyz... |
namespace PCLMock.UnitTests.CodeGeneration.Plugins
{
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using PCLMock.CodeGeneration;
using Xunit;
public sealed class DefaultFixture
{
[Theory]
[InlineData("Simple", Language.CSharp)]
public Task can_generate_moc... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IJob.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// <... |
using System.Collections;
using System.Collections.Generic;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
using NetOffice.ExcelApi;
namespace NetOffice.ExcelApi.Behind
{
/// <summary>
/// IDrawingObjects
/// </su... |
namespace DiffBackup.Backup.Config
{
public class InternalConfig
{
public double ThrottleSecond { get; set; } = 60;
}
public class StrategyConfig
{
public double EveryXDayDoFullBackup { get; set; } = 7;
public double FillFactorToStartFullBackup { get; set; } = 0.5;
}
... |
/**
* Windows API wrapper
*
* License: CC0, https://creativecommons.org/publicdomain/zero/1.0/
*
* Author: Kirurobo, http://twitter.com/kirurobo
* Author: Ru--en, http://twitter.com/ru__en
*/
using System;
using System.Runtime.InteropServices;
using System.Text;
public class WinApi {
#region Windows API
p... |
namespace MediatR.Pipeline
{
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Defines a request post-processor for a request
/// </summary>
/// <typeparam name="TRequest">Request type</typeparam>
/// <typeparam name="TResponse">Response type</typeparam>
public int... |
using System;
using System.Collections.Generic;
using System.Text;
using LothianProductions.VoIP.Monitor;
namespace LothianProductions.VoIP.State {
public class LinePropertyChange : PropertyChange {
public LinePropertyChange( Line line, String property, String changedFrom, String changedTo ) {
mLine = line;
... |
namespace ClassLib003
{
public class Class043
{
public static string Property => "ClassLib003";
}
} |
using JetBrains.Annotations;
using MessagePack;
namespace Services.CacheModels
{
[MessagePackObject]
public class CachedRegisteredCount
{
[Key(0)]
[UsedImplicitly]
public long Count { get; set; }
[UsedImplicitly]
public CachedRegisteredCount()
{
}
... |
using System.Threading.Tasks;
using PipServices3.Commons.Config;
using Xunit;
namespace Wexxle.Guide.Persistence
{
public class GuidesFilePersistenceTest
{
private readonly GuidesPersistenceFixture _fixture;
public GuidesFilePersistenceTest()
{
ConfigParams config = ConfigParams... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ShitoRyuSatokia
{
public class Program
{
publi... |
using PipServices3.Messaging.Queues;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace PipServices3.Azure.Queues
{
public class MessageQueueFixture
{
private IMessageQueue _queue;
public MessageQueueFixture(IMessageQueue queue)
{
_queue = queue... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace UASSurvey.Controllers
{
public class DesignController : Controller
{
// GET: Design
public ActionResult Design()
{
return View();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using XDetroit.WebFrontend.Extensions;
using XDetroit.WebFrontend.Interfaces;
using XDetroit.WebFrontend.Models;
namespace XDetroit.WebFrontend.Dal
{
public class DataLayer : IDataLayer
{
private readonly IDataProvider dataProvider;
... |
namespace SharperMC.Core.Blocks.Decor
{
public class BlockStandingSign : Block
{
internal BlockStandingSign() : base(63)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace SudokuSolver.Workers
{
class SudokuFileReader
{
public int[,] Readfile (string filename)
{
int[,] sudokuboard = new int[9, 9];
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace GestamiWeb.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
/// <sum... |
using dotValidate.Tests.TestHelpers;
namespace dotValidate.Tests.IsolatedRuleTests.StringBased
{
public abstract class StringTestClass
{
protected class TestClass
{
public string TestNonNullable { get; set; } = RandomHelpers.RandomString();
public string? TestNullable {... |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a genera... |
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2021 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Source Code: https://github.com/Interkarma/daggerfall-unity
// Origina... |
// 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Soc... |
using System.Windows.Controls;
namespace digiCamControl.LightBox.Core.Interfaces
{
public interface IPanelItem
{
string Name { get; }
string Id { get; }
string Icon { get; }
ContentControl Panel { get; }
bool Execute();
}
} |
using Color_Chan.Discord.Core.Common.API.DataModels.Select;
using Color_Chan.Discord.Core.Common.Models;
using Color_Chan.Discord.Core.Common.Models.Select;
namespace Color_Chan.Discord.Rest.Models.Select
{
public record DiscordSelectOption : IDiscordSelectOption
{
public DiscordSelectOption(DiscordSel... |
using UnityEngine;
using System.Collections;
namespace RootMotion.FinalIK {
/// <summary>
/// Grounding for BipedIK characters.
/// </summary>
[AddComponentMenu("Scripts/RootMotion.FinalIK/Grounder/Grounder Biped")]
public class GrounderBipedIK: Grounder {
#region Main Interface
/// <summary>
/// The... |
using System;
using Elk.Core;
using System.Text;
using System.Linq;
using Elk.AspNetCore;
using System.Threading.Tasks;
using System.Security.Claims;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
namespace GolPooch.Api
{
public class JwtParserMiddleware
{
private readonly Reques... |
namespace Autobot.Infrastructure.Email
{
public interface IEmailService
{
void SendEmail(Message message);
}
} |
#pragma checksum "C:\Users\Daniil\Documents\GitHub\XamarinLibrary\LibraryWebService\Pages\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1f02565c188bc0cf60de1bc120acef71a3608055"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(t... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReflectionExtensions.type.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// --------------------... |
using System;
using System.Linq;
using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Widget;
namespace Cthullu
{
[Activity(Label = "Survival", ScreenOrientation = ScreenOrientation.Portrait)]
public class Survival : Activity
{
protected override void OnCreate(Bundle savedI... |
// 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 Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.dynamicType.basic.anonmethod001.anonmethod001... |
namespace CorApi.Portable
{
[System.Runtime.InteropServices.GuidAttribute("3d6f5f63-7538-11d3-8d5b-00104b35e7ef")]
public partial class AppDomain : CorApi.Portable.Controller
{
public AppDomain(System.IntPtr nativePtr): base (nativePtr)
{
}
public static explicit operator Ap... |
// Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Medikit.EHealth.SOAP.DTOs;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace Medikit.EHealth.Services.CIVICS.Request
{
public class... |
using System.Collections.Generic;
using NetModular.Lib.Data.Abstractions.Attributes;
using NetModular.Lib.Utils.Core.Extensions;
namespace NetModular.Module.Admin.Domain.Menu
{
public partial class MenuEntity
{
/// <summary>
/// 父节点名称
/// </summary>
[Ignore]
public stri... |
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture;
using AutoFixture.AutoMoq;
using Firebend.AutoCrud.Core.Exceptions;
using Firebend.AutoCrud.CustomFields.Web.Implementations.Authorization;
using Firebend.AutoCrud.Tests... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Foundation
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class GuidHelper
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
/*---------------------------------------------------------------------\
| Copyright © 2008-2016 Allen C. [Alexander Morou] Copeland Jr. |
|-----------------------------... |
using System;
using System.Data;
using System.Data.OleDb;
namespace OMeta.Oracle
{
public class OracleTable : Table
{
public OracleTable()
{
}
public override IColumns PrimaryKeys
{
get
{
if(null == _primaryKeys)
{
DataTable metaData = this.LoadData(OleDbSchemaGuid.Primary_Keys,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace WindRect
{
public static class Tools
{
public static int IntRange(int value, int minval, int maxval)
{
if (value < minval)
return minval;
if (maxval < valu... |
namespace Storyteller
{
partial class AboutForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should ... |
using System;
using System.ComponentModel.Composition;
using System.Linq;
using System.Waf.Applications;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
using Waf.InformationManager.AddressBook.Modules.Applications.ViewModels;
using Waf.InformationManager.AddressBook.Modules.Applic... |
// 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.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Altinn.Studio.Designer.Configuration;
using Altinn.Studio.Designer.Helpers;
using Altinn.Studio.Designer.Models;
using Altinn.Studio.Designer.RepositoryClient.Model;
using Altinn.Studio.Designer... |
using System;
using Microsoft.EntityFrameworkCore.Storage.Internal;
using Xunit;
namespace EFCore.MySql.Tests.Migrations
{
public class ServerVersionTest
{
[Theory]
[InlineData("5.7.18", ServerType.MySql, "5.7.18", true)]
[InlineData("5.5.5-10.1.23-MariaDB-1~jessie", ServerType.MariaDb,... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Semanticer;
using Semanticer.Classifier.Common;
using Semanticer.Classifier.Numeric.Svm;
using Semanticer.Common;
using Semanticer.Common.Enums;
using Semanticer.TextAnalyzer;
using SharpEntropy;
na... |
/**********************************************************************************************************************************************************
* XRMuxData
* ---------
*
* 2021-11-08
*
* The XRMux data structure transmits info from the websockets to the object that needs it, and vice versa.
*
* Roy ... |
/*************************************************************************************
Toolkit for WPF
Copyright (C) 2007-2019 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/m... |
using System.Collections.Generic;
using System.Text;
namespace Poster.Template
{
public class Token
{
public TokenType Type { get; set; }
public StringBuilder Value { get; set; }
public List<Token> Tokens { get; set; }
public int Line { get; set; }
public int Column... |
using System.Linq;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace Net.DanielKvist.OidcLocalization
{
public static class OidcLocalizationExtensions
{
public static IServiceCollection AddOidcLocalization(this IServiceCollection services)
{
... |
namespace Craftsman.Builders.Auth
{
using System.IO.Abstractions;
using Helpers;
public class PermissionsBuilder
{
public static void GetPermissions(string srcDirectory, string projectBaseName, IFileSystem fileSystem)
{
var classPath = ClassPathHelper.PolicyDomainClassPath(... |
using PizzaApp.Domain.Domains;
using PizzaApp.Domain.Enums;
using PizzaApp.Service.Interfaces;
using System;
using System.Collections.Generic;
namespace PizzaApp.Repos
{
public class PizzaRepository : IPizzaInterface
{
public Pizza GetPizzaById(int id)
{
throw new NotImplementedExc... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Npgsql;
using Polly;
using System;
namespace Discount.API.Extensions
{
public static class HostExtensions
{
public static IHost Migrat... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipaySecurityRiskAntifraudBatchqueryModel Data Structure.
/// </summary>
public class AlipaySecurityRiskAntifraudBatchqueryModel : AlipayObject
{
... |
using Device.Net.Exceptions;
using Microsoft.Extensions.Logging;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Device.Net.Windows
{
/// <summary>
/// This class remains untested
/// </summary>
public abstract class WindowsDeviceBase : DeviceBase
... |
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("Ch... |
//---------------------------------------------------------------------------------
// <copyright file="Program.cs" company="Microsoft">
// Microsoft (R) Azure SDK
// Software Development Kit
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" ... |
using BoardGame.Board;
namespace BoardGame.Chess.Piece
{
public class Knight : GenericPiece
{
public Knight(GenericBoard board, Color color) : base(board, color)
{
}
public override string ToString()
{
return "N";
}
}
} |
// Copyright © 2017 Chromely Projects. All rights reserved.
// Use of this source code is governed by MIT license that can be found in the LICENSE file.
namespace Chromely.Browser;
public interface IChromelyRequestSchemeProvider
{
void Add(UrlScheme scheme);
UrlScheme? GetScheme(string url);
List<UrlSche... |
namespace PAMrecert.DTOs.CsvUpload
{
public class PrivCsvDTO
{
public string PrivId { get; set; }
public string ServiceId { get; set; }
public string PermissionGroup { get; set; }
public string ServicePrivSummary { get; set; }
public string CredentialStorageMethod { get;... |
using UnityEngine;
using System.Collections;
using System;
namespace EasyMobile.Internal.GameServices
{
internal class UnsupportedTurnBasedMultiplayerClient : ITurnBasedMultiplayerClient
{
protected virtual string mUnavailableMessage
{
get { return "Turn-based multiplayer is not av... |
using ProtoBuf;
namespace BO4E.ENUM
{
/// <summary>Status des Statusbericht</summary>
public enum BerichtStatus
{
/// <summary>
/// Bericht war erfolgreich
/// </summary>
[ProtoEnum(Name = "BerichtStatus_ERFOLGREICH")]
ERFOLGREICH,
/// <summary>Fehler im Ber... |
//
// Copyright 2014-2015 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (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/asl/
//
// or in the "l... |
using System;
namespace BinarySearch
{
public class BinarySearch
{
/// <summary>
/// /Write a program that finds the index of given element X in a sorted array of N integers by using the Binary search algorithm.
/// </summary>
static void Main()
{
int countOf... |
namespace Lykke.Service.BitfinexAdapter.Core.Domain.WebSocketClient
{
public sealed class ErrorEventMessageResponse : EventMessageResponse
{
}
} |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
using Test.Utilities;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
... |
@model AppCondominio.Models.Locador
@{
ViewData["Title"] = "Create";
}
<h1>Create</h1>
<h4>Locador</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Create">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
... |
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.... |
/*
Copyright (C) 2020 IBM. All Rights Reserved.
See LICENSE.txt file in the root directory
of this source tree for licensing information.
*/
using UnityEngine;
using System;
using System.IO;
using System.Collections.Generic;
public class FoxChickenConfig {
public int numberOfDogs = 3;
public List<string> ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
namespace CatsCloset.Model.Requests {
public class ImageRequest {
public string data;
public string[] customerNames;
public int[] productIds;
}
} |
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("Ap... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.Templates.Analyzer.Utilities;
using Azure.Deployments.Core.Collections;
using Azure.Deployments.Core.Extensions;
using Azure.Deployments.Expression.Engine... |
namespace Mapbox.Unity
{
using UnityEngine;
public static class Constants
{
public const string SDK_VERSION = "1.3.0";
public static class Path
{
public const string CONFIG_FILE = "MapboxConfiguration.txt";
public const string SCENELIST = "Assets/Mapbox/Resources/Mapbox/ScenesList.asset";
public con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.