text stringlengths 1 932k |
|---|
using System.Reflection;
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("Lm75Demo")]
[assembly: AssemblyDescriptio... |
/*
* 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 Medo.Configuration;
using static Labeleer.Helpers;
namespace Labeleer;
public sealed record Paper {
public Paper(string name,
float paperWidth, float paperHeight,
float labelWidth, float labelHeight,
float labelOffsetY, float labelOffsetX,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ParkShark.Domain;
using ParkShark.Infrastructure;
using ParkShark.Services;
using ParkShark.Web.DTO;
namespace ParkShark.Web.Controllers
{
[Route("api/[controller]")]
[ApiCont... |
using FactorioWebInterface;
using FactorioWebInterface.Models;
using FactorioWebInterface.Services;
using FactorioWebInterfaceTests.Utils;
using Moq;
using Shared;
using System.Threading.Tasks;
using Xunit;
namespace FactorioWebInterfaceTests.Services.FactorioServerPreparerTests
{
public class PrepareStartScenari... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace CleanArchitectureSolutionTemplate.WebUI.Pages
{
[ResponseCache(Duration... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Cito.Cat.Algorithms.Pairwise.Models;
using Cito.Cat.Core.Helpers;
using Ims.Cat.Models;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using NUnit.Framework;
namespace ... |
/*
* 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... |
namespace Equal_Words
{
using System;
public class EqualWords
{
//// Да се напише програма, която въвежда две думи и проверява дали са еднакви.Да не се прави разлика
//// между главни и малки думи.Да се изведе “yes” или “no”.
public static void Main()
{
var fi... |
using System;
using System.Web.Mvc;
namespace Lib.Web.Mvc.JQuery.JqGrid
{
/// <summary>
/// jqGrid configuration container
/// </summary>
[ModelBinder(typeof(ModelBinders.JqGridJsonModelBinder))]
public class JqGridConfiguration
{
#region Properties
/// <summary>
/// Op... |
using Microsoft.EntityFrameworkCore;
using SaskPartyDonors.Entities;
namespace SaskPartyDonors.Data
{
public interface ISaskPartyDonorsContext
{
DbSet<Contribution> Contributions { get; set; }
DbSet<Recipient> Recipients { get; set; }
}
} |
// 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
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable FieldCanBeMadeRea... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class CTests
{
const int TimeLimit = 2000;
const double RelativeError = 1e-9;
[TestMethod, Timeout(TimeLimit)]
public void Test1()
{
const string input = @"";
... |
namespace AzureMapsControl.Components.Drawing
{
using System.Collections.Generic;
using AzureMapsControl.Components.Events;
public sealed class DrawingToolbarEventActivationFlags : EventActivationFlags<DrawingToolbarEventType, DrawingToolbarEventActivationFlags>
{
private DrawingToolbarEventA... |
using Birchy.GatewayCodeGen.Core.Database;
namespace Birchy.GatewayCodeGen.Core.Contracts
{
public interface ISqlGenerator
{
string GenerateSelect(DatabaseTableDefinition tableDefitition);
string GenerateInsert(DatabaseTableDefinition tableDefitition);
}
} |
using UnityEngine;
using System.Collections;
public class DroneMovementScript : MonoBehaviour {
Rigidbody ourDrone;
void Awake(){
ourDrone = GetComponent<Rigidbody> ();
}
void FixedUpdate(){
MovementUpDown();
MovementForward();
Rotation();
ClampingSpeedValues();
Swirl ();
ourDrone.AddRelativeFor... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.OfficeApi
{
/// <summary>
/// DispatchInterface SharedWorkspaceTask
/// SupportByVersion Office, 11,12,14,15,16
/// </summary>
/// <remarks> Docs: <see href="https://docs.microsoft.com/en-... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace SLW.Media.Wave.Wave.Native
{
/// <summary>
/// This class represents WAVEHDR structure.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
internal struct WAVEHDR
{
/// <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NetRunner.Executable.Common;
using NetRunner.Executable.RawData;
using NetRunner.ExternalLibrary;
using NetRunner.ExternalLibrary.Properties;
using NetRunner.TestExecutionProxy;
namespace NetRunne... |
//
// ToolTipIcon.cs
//
// 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, publish,
// distribute,... |
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipayEbppInvoiceCompanySubmitResponse.
/// </summary>
public class AlipayEbppInvoiceCompanySubmitResponse : AlipayResponse
{
}
} |
using Adnc.Infra.Caching.Core;
using StackExchange.Redis;
namespace Adnc.Infra.Caching.StackExchange
{
/// <summary>
/// Default redis caching provider.
/// </summary>
public partial class DefaultRedisProvider : IRedisProvider
{
public T LIndex<T>(string cacheKey, long index)
{
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System.Threading.Tasks;
using EI.Portal.Configuration.Dto;
namespace EI.Portal.Configuration
{
public interface IConfigurationAppService
{
Task ChangeUiTheme(ChangeUiThemeInput input);
}
} |
/************************************************************************************
' Copyright (C) 2009 Anthony Bouch (http://www.58bits.com) under the terms of the
' Microsoft Public License (Ms-PL http://www.codeplex.com/precode/license)
'*************************************************************************... |
using System.Collections.Generic;
using System.Linq;
namespace Forum.App.Models
{
using Contracts;
using DataModels;
public class Session : ISession
{
private User user;
private Stack<IMenu> history;
public Session()
{
history = new Stack<IMenu>();
}
public string Usernam... |
using Octokit;
using System;
namespace Aliencube.GitHub.Markdown.Services.Interfaces
{
/// <summary>
/// This provides interfaces to the <c>GitHubClientWrapper</c> class.
/// </summary>
public interface IGitHubClientWrapper : IGitHubClient, IDisposable
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace CoffeeSlotMachine.Web.Pages
{
public class PrivacyModel : PageModel
{
public void OnGet()
{
}
}
} |
using System;
using System.Threading.Tasks;
using Bt.IPay.Net.General;
using Bt.IPay.Net.Requests;
using Bt.IPay.Net.Requests.Register;
using Bt.IPay.Net.Responses;
using FluentAssertions;
using Xunit;
namespace Bt.IPay.Net.Tests
{
public class IpayClientTests
{
[Fact]
public async Task Regist... |
using System.Web;
namespace Compute.Client.UnitTests.Utilities
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DD.CBU.Compute.Api.Contracts.Requests;
using DD.CBU.Compute.Api.Contracts.Requests.Server20;
using DD.CBU.Compute.Api.Client.Utilities;
[TestClass]
pu... |
// 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 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... |
using UnityEngine;
using UnityEngine.Serialization;
public class Test : MonoBehaviour
{
[Formerly{caret}SerializedAs("foo")] public int Value1, Value2, Value3;
} |
using System;
using System.Collections.Generic;
using ServiceStack.Text;
namespace ServiceStack.ServiceClient.Web
{
public class WebServiceException
: Exception
{
public WebServiceException() { }
public WebServiceException(string message) : base(message) { }
public WebServiceException(string message, Excepti... |
using System;
using System.Threading.Tasks;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Linq;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Logging;
using LabelTweetsAzureFunction.Models;
using LabelTweetsAzureFunction.Oth... |
using System;
using System.Collections.Generic;
namespace Opcomunity.Data.Entities
{
public partial class TB_Tag
{
public int Id { get; set; }
public string Name { get; set; }
public int SortId { get; set; }
public bool IsAvailable { get; set; }
public System.DateTime Cr... |
using UnityEngine;
using System.Collections;
public class evaluasi : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnGUI(){
if(GUI.Button(new Rect(260,1150,210,80), "Menu")) {
Application.LoadLevel(4);
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NaiveLanguageTools.Common
{
public static class Comparer
{
class FuncComparer<T> : IComparer<T>
{
readonly Func<T, T, int> compare;
internal FuncComparer(Func<T, T, int> com... |
using ENode.Eventing;
namespace NoteSample.Domain
{
public class NoteTitleChanged : DomainEvent<string>
{
public string Title { get; private set; }
public NoteTitleChanged() { }
public NoteTitleChanged(string title)
{
Title = title;
}
}
} |
using Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BLL;
namespace POLA_MMS.UI_Employee
{
public partial class frmEmpMoney_Add : Form
{
private int _iEmpId = 0;
p... |
/**
* This file is part of AriaNet by huming2207, licensed under the CC-BY-NC-SA 3.0 Australian Licence.
* You can find the original code in this GitHub repository: https://github.com/huming2207/AriaNet
*/
using Newtonsoft.Json;
namespace AriaNet.Attributes
{
public class AriaUri
{
[JsonProperty("... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using osu.Framework.IO.Stores;
namespace osu.Game.IO.Archives
{
public abstract cla... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.Goog... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XNode;
#if UNITY_EDITOR
using UnityEditor;
using XNodeEditor;
#endif
namespace InteractML.DataTypeNodes
{
[CustomNodeEditor(typeof(Vector3Node))]
public class Vector3NodeEditor : IMLNodeEditor
{
/// <summary>
... |
using System;
using System.Reflection;
namespace Zexil.DotNet.Emulation.Internal {
internal enum CLRFlavor {
Framework,
Core,
Net
}
internal static class CLREnvironment {
public static readonly CLRFlavor Flavor = GetCLRFlavor();
public static readonly Version Version = Environment.Version;
public stati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[Serializable]
public struct BlendShapeKeyInfo
{
public float BlendShapeValue;
public string BlendShapeName;
public int BlendShapeIndex;
public BlendShapeKeyInfo(string name, int index, float value)
{... |
#region Copyright (Apache 2.0)
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// <copyright file="LevelUpUriBuilderTests.cs" company="SCVNGR, Inc. d/b/a LevelUp">
// Copyright(c) 2016 SCVNGR, Inc. d/b/a LevelUp. All rights reserved.
// </copyright>
// <license... |
using System;
using System.Threading;
namespace Topics.Radical.Threading
{
/// <summary>
/// Defines the basic contract to handle the status of an async worker.
/// </summary>
public interface IWorkerStatus
{
/// <summary>
/// Gets a value indicating whether this worker is busy.
/// </summary>
/// <value... |
// 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 Windows.ApplicationModel.Resources;
using Windows.UI;
using Windows.UI.Xaml;
namespace Microsoft.Toolkit.Uwp
... |
//------------------------------------------------------------------------------
// <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>
//--... |
/*
* Copyright 2015-2018 Mohawk College of Applied Arts and Technology
*
*
* 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
*
* Un... |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... |
namespace VeterinaryClinic.Services.Data
{
using System.Collections.Generic;
using System.Linq;
using VeterinaryClinic.Common;
using VeterinaryClinic.Data.Common.Repositories;
using VeterinaryClinic.Data.Models;
using VeterinaryClinic.Services.Mapping;
public class GalleryService : IGalle... |
//<SNIPPET1>
using System;
using System.IO;
using System.Security.AccessControl;
namespace FileSystemExample
{
class DirectoryExample
{
public static void Main()
{
try
{
string DirectoryName = "TestDirectory";
Console.WriteLine("Adding a... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.Azur... |
using ISAAR.MSolve.Numerical.LinearAlgebra;
using ISAAR.MSolve.Numerical.LinearAlgebra.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISAAR.MSolve.IGA.Problems.SupportiveClasses
{
public class BSPLines1D
{
publi... |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... |
#region Using directives
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.Permissions;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values... |
using System;
namespace Anagram.Models
{
public class Words
{
public string[] wordsArr { get; set; }
public void ConvertToArray(string input)
{
if (CheckForSpaces(input))
{
char[] splitters = new char[] { '\r', '\n', ' ', ',', '.', '/' };
// \r is a line break in Windows
... |
/*
* 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 ... |
using ColorPicker.Helpers;
using ColorPicker.Mouse;
using Squirrel;
using System;
using System.Threading;
using System.Windows;
namespace ColorPicker
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private Mutex _instanceMutex = nu... |
//------------------------------------------------------------------------------
// <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;
using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Sega.GGHawkLink
{
public partial class GGHawkLink : IEmulator, IVideoProvider, ISoundProvider
{
public IEmulatorServiceProvider ServiceProvider { get; }
public ControllerDefinition ControllerDefinition => _controllerDeck.Definitio... |
using System;
using Demo.SmartWorkers.Core;
using Demo.SmartWorkers.Core.Data;
using MongoDB.Driver;
using MongoDB.Driver.Builders;
namespace Demo.SmartWorkers.Data
{
public class PatientLockRepository : BaseRepository, IPatientLockRepository
{
public bool DoesNotExistFor(int facilityId, int medicalRe... |
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("Ca... |
using System;
using System.Collections.Generic;
using System.Data.Common;
namespace KD.FakeDb.Connection
{
/// <summary>
/// Connection which is used for mapping Real Database to <see cref="IFakeDatabase"/>.
/// </summary>
/// <typeparam name="TDbConnection"> Type of <see cref="DbConnection"/>. </type... |
/*
* 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;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNetCore.Channels;
using Renci.SshNetCore.Common;
namespace Renci.SshNetCore.Tests.Classes
{
[TestClass]
public class ForwardedPortDynamicTes... |
using System.Collections.Generic;
using System.Web.Mvc;
using AutoMapper;
using ProjetoModeloDDD.Application.Interface;
using ProjetoModeloDDD.Domain.Entities;
using ProjetoModeloDDD.Domain.Enum;
using ProjetoModeloDDD.MVC.ViewModels;
namespace ProjetoModeloDDD.MVC.Controllers
{
public class CandidatoController : ... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropServi... |
using ConferencePlanner.Application.Attendees.Queries.GetAttendeeById;
using ConferencePlanner.Application.Sessions.Queries.GetSessionsByAttendee;
using ConferencePlanner.Domain.Entities;
using HotChocolate;
using HotChocolate.Types;
using HotChocolate.Types.Relay;
using MediatR;
namespace ConferencePlanner.GraphQL.No... |
using Braco.Utilities.Extensions;
using System.Collections.Generic;
using System.Linq;
namespace Braco.Services
{
/// <summary>
/// Collection of <see cref="ConfigurationItem"/>s.
/// </summary>
public class Configuration
{
private readonly IList<ConfigurationItem> configuration = new List... |
using CoreGraphics;
using CoreAnimation;
using System;
using System.ComponentModel;
using Xamarin.Forms;
using FFImageLoading.Work;
using Foundation;
using FFImageLoading.Forms;
using FFImageLoading.Extensions;
using System.Threading.Tasks;
using FFImageLoading.Helpers;
using FFImageLoading.Forms.Args;
using FFImageLo... |
/****************************************************************************
*项目名称:SAEA.Common
*CLR 版本:4.0.30319.42000
*机器名称:WALLE-PC
*命名空间:SAEA.Common
*类 名 称:TinyThreadPool
*版 本 号:V1.0.0.0
*创建人: yswenli
*电子邮箱:yswenli@outlook.com
*创建时间:2019/10/12 16:54:35
*描述:
*========================================================... |
namespace Divstack.Company.Estimation.Tool.Valuations.Application.IntegrationTests;
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Contracts;
using Bootstrapper;
using Domain.UserAccess;
using MediatR;
using Microsoft.AspNetCore.Hosting... |
using System;
using System.Text;
namespace Cesil
{
/// <summary>
/// A set of options for reading and writing CSV files.
///
/// Combine with Configuration to bind to a particular
/// type in a IBoundConfiguration(T) which can create
/// readers and writers.
/// </summary>
public seal... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DynamicLoadingControl
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... |
// Copyright 2017-2018 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you 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.a... |
using System;
namespace Mollie.Api.Models.Mandate {
public class MandateRequest {
/// <summary>
/// Payment method of the mandate - Possible values: `directdebit` `paypal`
/// </summary>
public string Method { get; set; }
/// <summary>
/// Required - Name of consum... |
//-------------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2020 Tasharen Entertainment Inc
//-------------------------------------------------
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// UI Panel is responsible for collecting, sorting and updating w... |
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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 ... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using osu.Framework.Allocation;
using osu.Framework.Binda... |
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.MultiTenancy;
namespace MT.MultiTenancy.Dto
{
[AutoMapTo(typeof(Tenant))]
public class EditTenantDto
{
[Required]
[StringLength(AbpTenantBase.MaxTenancyNameLength)]
[RegularExpression(Tenant.TenancyNameRege... |
// Copyright 2017 Google Inc. 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
//
// Unless required by applic... |
/*
* 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... |
//---------------------------------------------------------------------
// <copyright file="IWrappedObject.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------------------... |
/*
* 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 Compo_Shared_Data.Debugging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
namespace Compo_Shared_Data.Network
{
public class Package
{
public static byte[] Packaging(object Data)
{
tr... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using GalaSoft.MvvmLight;
namespace Famoser.BeerCompanion.Business.Models
{
[DataContract]
public class DrinkerCycle : ObservableObject
{
public DrinkerCycle()
{
AuthBeerD... |
using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Collections.Generic; //4_1 List
using NUnit.Framework;
using System.IO;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace WebAddressbookTests
{
[TestFixture]
public class ContactCreation... |
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace Panoramio.Converters
{
/// <summary>
/// BooleanToVisibilityConverter class.
/// </summary>
public class BooleanToVisibilityConverter : IValueConverter
{
public bool InvertValue { get; set; }
#region Im... |
using System;
using System.Threading;
namespace SapNwRfc.Pooling
{
/// <summary>
/// Interface for the SAP RFC pooled connection.
/// </summary>
public interface ISapPooledConnection : IDisposable
{
/// <summary>
/// Invokes the remote function.
/// </summary>
/// <p... |
using UnityEngine;
public class Rotator : MonoBehaviour {
// Update is called once per frame
void Update () {
transform.Rotate(new Vector3(15, 30, 35) * Time.deltaTime);
}
} |
using System;
using System.Collections.Generic;
namespace Blargh
{
public class KeyValueList<K, V> : IEquatable<K>
{
private List<KeyValuePair<K, V>> _list = new List<KeyValuePair<K, V>>();
public void Add(K key, V value)
{
this._list.Add(new KeyValuePair<K, V>(key, value)... |
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Exporters;
namespace MicroBenchmarks.NServiceBus;
[Config(typeof(Config))]
public class PatternMatchVsForEach
{
p... |
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26.Maps
{
using V26;
/// <summary>
/// IN1 (SegmentMap) - Insurance
/// </summ... |
#if !NETSTANDARD13
/*
* 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 ... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.