text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace GesturePatternViewXF
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new GesturePatternViewXF.MainPage();
... |
// WARNING - AUTOGENERATED - DO NOT EDIT
//
// Generated using `sharpie urho`
//
// UISelectable.cs
//
// Copyright 2015 Xamarin Inc. All rights reserved.
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Urho.Urho2D;
using Urho.Gui;
using Urho.Resources;
using Urho.IO;
usi... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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... |
/********************************************************************
License: https://github.com/chengderen/Smartflow/blob/master/LICENSE
Home page: http://www.smartflow-sharp.com
Github : https://github.com/chengderen/Smartflow-Sharp
********************************************************************
*/
using... |
using Business.Abstract;
using Core.Entities.Concrete;
using Entities.Concrete;
using Entities.Dtos;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI.Controllers
{
[Route("api/[control... |
/// Generated - Do Not Edit
namespace BabylonJS
{
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using EventHorizon.Blazor.Interop;
using EventHorizon.Blazor.Interop.Callbacks;
using Microsoft.JSInterop;
public interfa... |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Shutterbug-Sample")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using StockportWebapp.AmazonSES;
using StockportWebapp.Config;
using StockportWebapp.Emails.Models;
using StockportWebapp.Models;
using... |
namespace GBX.NET.Engines.GameData;
[Node(0x2E01D000)]
public sealed class CGameObjectModel : CMwNod
{
#pragma warning disable IDE1006
public uint m_InventoryParams_InventoryOccupation { get; set; }
#pragma warning restore IDE1006
private CGameObjectModel()
{
}
[Chunk(0x2E01D000)]
public cl... |
// ***********************************************************************
// Assembly : Noob.Core
// Author : Administrator
// Created : 2020-04-30
//
// Last Modified By : Administrator
// Last Modified On : 2020-04-30
// ********************************************************************... |
using System;
using System.Collections.Generic;
using Microsoft.JSInterop;
namespace AntBlazor.JsInterop
{
public class DomEventService
{
private Dictionary<string, Func<object>> domEventListeners = new Dictionary<string, Func<object>>();
private readonly IJSRuntime _jsRuntime;
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Health : MonoBehaviour, IDamageable
{
private int _currentHealth = 3;
[SerializeField] int _maxHealth = 3;
private bool _isPlayer = false;
private bool _isPoweredUp = false;
private bool _isInv... |
/*
* 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... |
//Problem 3. Divide by 7 and 5
//Write a Boolean expression that checks for given integer if it can be divided (without remainder) by 7 and 5 at the same time.
using System;
class DivideBy5And7
{
static void Main()
{
Console.WriteLine("Enter number: ");
int i;
string str = Console.Re... |
namespace TestNotificationCenter
{
partial class Switch
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using Random = UnityEngine.Random;
namespace FORGE3D
{
public class F3DMissileLauncher : MonoBehaviour
{
public Transform missilePrefab;
public Transform target;
public Transform[] socket;
public T... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class W3NewGameConfirmation : ConfirmationPopupData
{
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Web;
namespace MvcContrib.UI.Grid
{
/// <summary>
/// Column for the grid
/// </summary>
public class GridColumn<T> : IGridColumn<T> where T ... |
using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Resourcey.Data;
[assembly: HostingStartup(typeof(Resourcey.... |
using System;
using System.Collections.Generic;
namespace RestEaseClientGeneratorConsoleApp.Examples.MediaWiki.Models
{
public class PagesLists
{
public object Query { get; set; }
}
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threadi... |
using System;
using System.Collections;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace KoAR.SaveEditor.Constructs
{
public readonly struct DataContainer : IEquatable<DataContainer>
{
public static readonly IValueConverter CollectionConverter = new DataContainerColl... |
using System;
using System.Collections.Generic;
using System.Text;
using Gopher;
namespace Gopher
{
public class DirectoryEntry
{
public enum attributes
{
Directory, Read_Only, Hidden, System, Vollume_ID, Archive, Long_Name
};
public enum EntryType
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
public interface ITurn
{
bool tbUser_Add(string useName, int rolId, string useUid, string usePwd, string useEmail, bool useActive, string useCode);
DataSet tbUser_GetByUserName(string useUid);
DataSet ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace ERPCore.Enterprise.Models.Departments
{
[Table("ERP_Rules")]
public class Rule
{
[Key]
public Gui... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using CommandLine;
using Ziks.WebServer;
namespace SourceUtils.WebExport
{... |
using AdventOfCode.Day07;
string inputText = File.ReadAllText("input.txt");
IList<int> input = new Input().ParseInput(inputText);
PartOne(input.ToList());
PartTwo(input.ToList());
static void PartOne(IList<int> input)
{
int fuelCost = new PartOne().CalculateFuelCost(input);
Console.WriteLine("--- Part One ... |
// <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... |
namespace Calculator.Tests.TestValues
{
public static class Tangens
{
public static object[] TestSource =
{
new object[] {-350, -3.380889674884},
new object[] {-343, -0.635902261726},
new object[] {-324, -0.441731593866},
new object[] {-309, -2.08... |
// Copyright © 2020 Vaughn Vernon. 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 requi... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Pankraty.NoBox.Tests.ShortValueTests
{
public class ShortValueIsNumberTests
{
[TestCaseSource(nameof(IsNumberSource))]
public bool TestIsNumber(ShortValue value)
{
return value.IsNumber();
... |
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit)
// Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus
// Forum & Issues: https://github.com/zzzprojec... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/strmif.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... |
/*
* 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 NPoco;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace Umbraco.Core.Persistence.Dtos
{
[TableName(TableName)]
[PrimaryKey("id", AutoIncrement = false)]
[ExplicitColumns]
internal class MediaVersionDto
{
public const string TableName = Constants.DatabaseSchema.Tables.Med... |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace TimHanewich.MicrosoftGraphHelper
{
public class MicrosoftGraphTokenPayload
{
public string[] Scope {get; set;}
public DateTime ReceivedAtUtc {get; set;}
public DateTime ExpiresAt... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.IO;
using System.Text;
using System.Xml;
namespace CoreWCF.Diagnostics
{
internal class EncodingFallbackAwareXmlTextWriter : XmlTextWriter
{
private re... |
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Modularity;
namespace TestService
{
[DependsOn(
typeof(TestServiceApplicationContractsModule),
typeof(AbpAspNetCoreMvcModule)
//typeof(AbpAccountHttpApiModule),
//typeof(AbpIdentityHttpApi... |
#pragma checksum "..\..\..\..\Views\Pages\FreeNotesPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E7F715116486DC616C0400E1FACC557A"
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.4... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Windows.Forms;
using PluginCore;
using PluginCore.Helpers;
using PluginCore.Localization;
using PluginCore.Managers;
using PluginCore.Utilities;
namespace MacroManager
{
public class PluginMain : IPlugin
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CarvedOut
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void M... |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// 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 us... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
namespace RSToolkit.Tools
{
public static class ServerUploadTools
{
private static readonly Encoding encoding = Encoding.UTF8;
public static HttpWebResponse MultipartFormDataPost(string postUr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wintellect.PowerCollections;
namespace Cooking
{
class Cooking
{
// HINT: Опитай се да обърнеш всички мерни единици към cups понеже всяка е сравнима с cups!!!
static StringBuilder sb = new Stri... |
// 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
// regenerated.
namespac... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas por
// conjunto de atributos. Altere estes valores de atributo para modificar as informações
// associada a um assembly.
[assembly: AssemblyTitle("BLL")]
[as... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Threading;
namespace System.Diagnostics.PerformanceData
{
/// <... |
using Newtonsoft.Json;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ZkeemKeeperServer.HostConsole
{
public class RedisServices : IDisposable
{
//static RedisServices _currentInstance;
//public static RedisServices CurrentInstance
... |
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Graphics.Controls;
namespace GraphicsControls.Sample.Controls
{
public class DrawCustomSlider : Slider
{
}
public class DrawCustomSliderHandler : SliderHandler
{
protected override ISliderDraw... |
using System;
using AutoFixture;
using Microsoft.Extensions.DependencyInjection;
namespace Users.Acceptance.Test.Scenes
{
public abstract class BaseScene
{
protected Fixture Fixture { get; }
protected IServiceProvider Provider { get; }
protected Web.Proto.Users.UsersClient Clie... |
using System.Threading.Tasks;
using AntDesign.Charts;
using AntDesign.Pro.Template.Services;
using Microsoft.AspNetCore.Components;
namespace AntDesign.Pro.Template.Pages.Dashboard.Analysis
{
public partial class SalesCard
{
private readonly ColumnConfig _saleChartConfig = new ColumnConfig
{
... |
// <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.
// </auto-generated>
namespace Microsoft.Azure.Management.CosmosDB.Fluent.Mo... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Functional
{
internal class ZipIteratorAsync<TFirst, TSecond, TResult> : IAsyncEnumerator<TResult>
{
private readonly IAsyncEnumerator<TFirst> _enumeratorOne;
private readonly IAsyncEnumerator<TSecond> _en... |
using Microsoft.Win32.SafeHandles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace FileReadWriteTest
{
static class Win32
{
public static int GetLastWin32Error()
{
re... |
/*
* 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... |
// -----------------------------------------------------------------------
// <copyright file="PartitionPlacementActor.cs" company="Asynkron AB">
// Copyright (C) 2015-2020 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Data.Entity;
namespace AllReady.Models
{
public partial class AllReadyDataAccessEF7 : IAllReadyDataAccess
{
IEnumerable<EventSignup> IAllReadyDataAccess.EventSignups
{
get
... |
// <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 guzFlightsUltra.Data;
namespace ... |
using System.Linq;
using GoRogue;
using GoRogue.MapGeneration;
using HomicideDetective.Places;
using HomicideDetective.Words;
using SadRogue.Integration;
using SadRogue.Integration.Maps;
using SadRogue.Primitives;
using SadRogue.Primitives.GridViews;
namespace HomicideDetective
{
public static class Extensions
... |
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using Beef.Diagnostics;
using Beef.Executors;
using Beef.Executors.Triggers;
using NUnit.Framework;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Beef.Core.UnitTest.Executors
{
[TestFixtu... |
namespace YAF.Core.Services
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Quer... |
using System;
using System.Drawing;
using Earth.Core;
using Earth.Renderer;
namespace Earth.Scene
{
/// <summary>
/// A camera that always faces a particular point. The location of the camera, from which
/// it views the point, is specified by an <see cref="Azimuth"/>, <see cref="Elevation"/>,
/// an... |
/*
© Siemens AG, 2018
Author: Suzannah Smith (suzannah.smith@siemens.com)
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 applicab... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using TerraFX.Interop;
using static TerraFX.Interop.D3D_FEATURE_LEVEL;
using static TerraFX.Interop... |
using Prompton.Steps;
using Prompton.Yaml;
using Xunit;
namespace Prompton.Test;
public class StepSerializerTests
{
private const string NumberFilePath = "TestFiles/number.yml";
private const string TextFilePath = "TestFiles/text.yml";
private const string MainFilePath = "TestFiles/main.yml";
private... |
// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Certes.Acme;
using Certes.Acme.Resource;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
#if NETSTANDARD2_0
using IHostApplicationLifetime = Mi... |
#pragma checksum "E:\Heyday-Website\Heyday-Website\Views\Bug\BugFactory.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5b1ce6c3c16eb7fdbfb788eb835d14f69fc1855b"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_B... |
namespace ModelBuilder.UnitTests.Models
{
using System;
public abstract class Entity
{
public Guid Id { get; set; }
public bool IsActive { get; set; }
}
} |
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace System.Maui.Controls
{
// TabbedPage -> NavigationPage
public class TabbedNavPage : MasterDetailPage
{
public TabbedNavPage ()
{
NavigationPage ... |
using System;
using System.Collections.Generic;
using Stump.DofusProtocol.D2oClasses;
using Stump.DofusProtocol.D2oClasses.Tools.D2o;
namespace Stump.DofusProtocol.D2oClasses
{
[D2OClass("GuildLevelItemCriterion", "com.ankamagames.dofus.datacenter.items.criterion")]
[Serializable]
public class GuildLevelI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace iSHARE.EntityFramework.Migrations.Seed
{
public static class ImportFromJson
{
private static readonly JsonSerializerSettings Settings = new ... |
using GameObjects;
using GameObjects.Influences;
using System;
using System.Runtime.Serialization;namespace GameObjects.Influences.InfluenceKindPack
{
[DataContract]public class InfluenceKind3157 : InfluenceKind
{
private float rate = 1f;
public override void ApplyInfluenceKind(Architecture... |
using System;
namespace Octgn.Communication.Packets
{
public interface IAck
{
ulong PacketId { get; set; }
DateTimeOffset PacketReceived { get; set; }
}
} |
using System.Net.Http;
using System.Net.Http.Headers;
using JetBrains.Annotations;
using WireMock.Validation;
namespace WireMock.Http
{
internal static class StringContentHelper
{
/// <summary>
/// Creates a StringContent object.
/// </summary>
/// <param name="content">The str... |
///////////////////////////////////////////////////////////////////////////////
// Directives
///////////////////////////////////////////////////////////////////////////////
#l "tools/versionUtils.cake"
#l "tools/settingsUtils.cake"
#tool "nuget:?package=NUnit.ConsoleRunner"
//////////////////////////////////////////... |
using Acolyte.Assertions;
namespace ThingAppraiser.SteamService.Models
{
public sealed class SteamBriefInfo
{
public int AppId { get; set; }
public string Name { get; set; }
public SteamBriefInfo(int appId, string name)
{
AppId = appId;
Name = name.Th... |
namespace GoRogue
{
/// <summary>
/// A class that contains a rectangle Area that is automatically "locked" to being inside the
/// BoundingBox. A typical use might be keeping track of a camera view area.
/// </summary>
public class BoundedRectangle
{
private Rectangle _area;
private Rectangle _boundingBox;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TractorBeam : MonoBehaviour
{
private Player owner;
private bool _isActive = false;
public bool IsActive
{
get => _isActive;
set
{
foreach (Transform child in transform)
... |
using System;
using System.Collections.Generic;
using Commands;
using Microsoft.LiveLabs.Html;
namespace Ribbon.Page
{
/// <summary>
/// A Component of a page. Implementing this will allow it to interact with the Page Framework.
/// </summary>
public class PageComponent : ICommandHandler
{
... |
using System;
using System.Collections.Generic;
using achihapi.ViewModels;
namespace achihapi.Utilities
{
public class EventUtility
{
public static List<EventGenerationResultViewModel> GenerateEvents(EventGenerationInputViewModel datInput)
{
List<EventGenerationResultViewModel> lis... |
/*************************************************************************************
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2016 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://w... |
// Copyright (c) 2015 SharpYaml - Alexandre Mutel
//
// 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, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace mvc5.Services
{
public interface ISmsSender
{
Task SendSmsAsync(string number, string message);
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado a partir de um modelo.
//
// Alterações manuais neste arquivo podem provocar comportamento inesperado no aplicativo.
// Alterações manuais neste arquivo serão substituídas se o código for... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading.Tasks;
using Autodesk.Connectivity.WebServices;
using Autodesk.Connectivity.WebServicesTools;
[assembly: Autodesk.Connectivity.Extensibility.Framework.ApiVersion("11.0")]
[assembly:... |
using Unity.Collections;
using Unity.Mathematics;
using Unity.Burst;
using Unity.Jobs;
namespace VRoxel.Navigation
{
[BurstCompile]
public struct UpdateFlowFieldJob : IJobParallelFor
{
/// <summary>
/// the size of the flow field
/// </summary>
public int3 size;
//... |
using System;
using System.IO;
using System.Reflection;
using Calamari.Integration.FileSystem;
namespace Calamari.Tests.Fixtures.Integration.FileSystem
{
public class TestCalamariPhysicalFileSystem : CalamariPhysicalFileSystem
{
public new static ICalamariFileSystem GetPhysicalFileSystem()
{
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("AdaptiveCards.Rendering.Xamarin.Android.Sample")]
[assembly: AssemblyDescriptio... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Trivial.Tasks
{
/// <summary>
/// Retry policy.
/// </summary>
public interface IRetryPolicy
{
/// <summary>
/// Creates an instance of action retry.
... |
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("Si... |
using System;
using System.Collections.Generic;
using eu.sig.cspacman.board;
using eu.sig.cspacman.level;
using eu.sig.cspacman.sprite;
namespace eu.sig.cspacman.npc.ghost
{
public class Blinky : Ghost {
private const int INTERVAL_VARIATION = 50;
private const int MOVE_INTERVAL = 250;
public Blinky(IDiction... |
//=============================================================================
// System : Code Colorizer Library
// File : CodeColorizer.cs
// Author : Jonathan de Halleux, (c) 2003
// Updated : 11/21/2006
// Compiler: Microsoft Visual C#
//
// This is used to cache regular expressions to improve performance. T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cofoundry.Domain.Data;
namespace Cofoundry.Domain.Internal
{
/// <summary>
/// Simple mapper for mapping to RoleMicroSummary objects.
/// </summary>
public interface IRoleMicroSumm... |
using AutoMapper;
using MyApp.Core.Commands.Contracts;
using MyApp.Core.ViewModels;
using MyApp.Data;
using MyApp.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace MyApp.Core.Commands
{
public class AddEmployeeCommand : ICommand
{
private readonly MyAppContext contex... |
// CoreUtil
using System;
using System.Threading;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Text;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Security.Cry... |
// GENERATED CODE
using NUnit.Framework;
using static Unity.Mathematics.math;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool2x4
{
[Test]
public void bool2x4_operator_equal_wide_wide()
{
bool2x4 a0 = bool2x4(true, false, true, false, false, true, f... |
using System;
namespace Bytebank
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NuGet.Configur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public class PostgreSQLInserttable<T> : InsertableProvider<T> where T : class, new()
{
public override int ExecuteReturnIdentity()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BpToolsLib
{
public class View
{
public int CameraX { get; set; } = 0;
public int CameraY { get; set; } = 0;
public double Zoom { get; set; } = 1.25;
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.