text stringlengths 1 932k |
|---|
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Depende... |
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using NLog;
using NLog.Config;
using NLog.Targets;
namespace Wox.Infrastructure.Logger
{
public static class Log
{
public const string DirectoryName = "Logs";
static Log()
{
var path = Path.C... |
/*
{*******************************************************************}
{ }
{ KS-Foundation Library }
{ Build rock solid DotNet applications }
{ on a threadsafe foundatio... |
using ExtendedXmlSerializer.ContentModel.Reflection;
using ExtendedXmlSerializer.Core;
using ExtendedXmlSerializer.Core.Specifications;
using ExtendedXmlSerializer.ReflectionModel;
using System.Collections.Immutable;
using System.Reflection;
namespace ExtendedXmlSerializer.ExtensionModel.Types
{
/// <summary>
/// F... |
using Microsoft.EntityFrameworkCore.Internal;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using WikiLibs.Data;
using WikiLibs.Data.Models.Symbols;
using WikiLibs.Shared;
using WikiLibs.Shared.Attributes;
using WikiLibs.Shared.Helpers;
using WikiL... |
#region License
// FreeBSD License
// Copyright (c) 2010 - 2013, Andrew Trevarrow and Derek Wilson
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must ret... |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SimplCommerce.Infrastructure.Data;
using SimplCommerce.Infrastructure.Web;
using SimplCommerce.Module.Core.Extensions;
using SimplCommerce.Module.Core.Se... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OnlineBookStoreProject.Controllers
{
public class ContactController : Controller
{
public IActionResult Index()
{
return View();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Windows.Automation;
using mmswitcherAPI.Messengers.Web.Browsers;
namespace mmswitcherAPI
{
internal static class DebugLog
{
public static void Writ... |
using FluentAssertions;
namespace TextTemplateBenchmarks.Test
{
public class BenchmarksTest
{
[Fact]
public void T4()
{
new Benchmarks().T4().Should().Be(@"select
*
from
Employee
where
1 = 1
and FirstName = @FirstName
and LastName = @LastName
");
}
[Fac... |
/***
Copyright (C) 2018-2020. dc-koromo. All Rights Reserved.
Author: Koromo Copy Developer
***/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Thre... |
@model ScreeningsViewModel
@{
ViewData["Title"] = $"{Model.MovieTitle} - Screenings";
}
<h2>@ViewData["Title"]</h2>
<p>
@{
var routeData = new Dictionary<string, string>
{
["movieId"] = $"{Model.MovieId}",
};
}
<a asp-action="AddScreening" asp-all-route-data="rout... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
using System.Runtime.CompilerServices;
namespace Mosa.Runtime
{
/// <summary>
/// Provides stub methods for selected native IR instructions.
/// </summary>
public static unsafe class Intrinsic
{
#region Intrinsic
[MethodImpl(M... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace SampleLoggingApp.Model
{
public class Statistics
{
public class QueryStageStatistics : StageStatistics
{
public TimeSpan QueryExecutionTime { get; set; }
public TimeSp... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.ChangeFeed.Tests
{
using System;
using System.Collections.Generic;
using System.IO;
... |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... |
#region Copyright (c) 2006-2019 nHydrate.org, All Rights Reserved
// -------------------------------------------------------------------------- *
// NHYDRATE.ORG *
// Copyright (c) 2006-2019 All Rights reserved *
// ... |
@{
ViewBag.Title = "Home Page";
}
<br />
<br />
<br />
<br />
<br />
<div class="demo-section k-content">
@(Html.Kendo().TreeView()
.Name("treeview")
.DataTextField("Name")
.DataSource(dataSource => dataSource
.Read(read => read
.Action("Read", "Home")
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using DemoToDoApp.Shared;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DemoToDoApp.Server.Controllers
{
[Route("api/[controller]")]
public class SampleDataController : Controller
{
private static string[]... |
using System;
using System.Collections.Generic;
using System.Linq;
using CommandDotNet.Extensions;
using CommandDotNet.Tokens;
using static System.Environment;
namespace CommandDotNet.Parsing
{
public class ParseResult : IIndentableToString
{
// begin-snippet: ParseResult-properties
/// <summ... |
@using Microsoft.AspNet.Identity
@model CustomerQuery.Models.ManageUserViewModel
<p>You're logged in as <strong>@User.Identity.GetUserName()</strong>.</p>
@using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Change Pas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GSAKWrapper.MapProviders.OSMBinMap
{
public class ZoomIntervalConfiguration
{
public int BaseZoomLevel { get; private set; }
public int MinZoomLevel { get; private set; }
public int MaxZoomL... |
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace FL.Data.Operations.EFCore
{
public class EFCoreEntityMapper : IEntityMapper
{
public IMapper Mapper { set; get; }
public EFCoreEntityMapper(IMapper mapper)
{
... |
@{
ViewData["Title"] = "Home Page v1";
}
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="6000">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<l... |
namespace MassTransit.Transports
{
using System;
using System.Collections.Generic;
public class AddressEqualityComparer :
IEqualityComparer<Uri>
{
public static readonly IEqualityComparer<Uri> Comparer = new AddressEqualityComparer();
public bool Equals(Uri x, Uri y)
{... |
//
// Copyright (c) 2022 karamem0
//
// This software is released under the MIT License.
//
// https://github.com/karamem0/sp-client-core/blob/main/LICENSE
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace Karamem0.SharePoint.PowerShell.... |
using Godot;
using System;
public class githubLogoAdd : Sprite
{
// Declare member variables here. Examples:
// private int a = 2;
// private string b = "text";
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
if(OS.GetName()=="HTML5"){
Visible=true;
}else... |
/*
* Square Connect API
*
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: developers@squareup.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.Regular... |
using System;
namespace Lykke.Job.TransactionHandler.Core.Services.Ethereum
{
public class EthereumResponse<T> : EthereumBaseResponse
{
public T Result { get; set; }
}
public class EthereumBaseResponse
{
public ErrorResponse Error { get; set; }
public bool HasError => Erro... |
using System;
using System.Collections.Generic;
using System.Linq;
using Nop.Core.Domain.Common;
using Nop.Core.Domain.Shipping;
using Nop.Services.Common;
using Nop.Services.Directory;
using Nop.Services.Localization;
using Nop.Services.Shipping;
using Nop.Services.Shipping.Date;
using Nop.Services.Shipping.Pickup;
u... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BunnyController : MonoBehaviour
{
private Rigidbody2D myRigidBody;
private Animator myAnim;
public float bunnyJumpForce = 500f;
// Start is called before the first frame update
void Start()
{
m... |
namespace SemBrickPiLib
{
using System;
using System.IO.Ports;
public class SerialPortWrapper : ISerialPort
{
private readonly SerialPort serialPort;
public SerialPortWrapper()
{
const string NewPortName = "/dev/ttyAMA0";
const int NewBaudRate = 500000;
... |
using System;
using MonitorWang.Core.Checks;
using MonitorWang.Core.Interfaces.Entities;
using MSUtil;
namespace MonitorWang.Contrib.Checks.LogParser
{
public class EVTLogParserCheckConfig : SqlScalarCheckConfig
{
public bool? FullText { get; set; }
public bool? ResolveSIDs { get; set; }
... |
using System;
using System.Runtime.InteropServices;
using CC = System.Runtime.InteropServices.CallingConvention;
using UFP = System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute;
namespace Dissonance.Framework.Graphics
{
partial class GL
{
[UFP(CC.Cdecl)]
private unsafe delegate void AccumDelegate(ui... |
// This file was automatically generated by the code gen tool - do not modify.
using System ;
using scg = System.Collections.Generic ;
using sd = System.Data ;
using sds = System.Data.SqlClient ;
using sr = System.Reflection ;
using mst = Microsoft.SqlServer.Types ;
using mss = Microsoft.SqlServer.Server ;
using acr... |
using iot.solution.data;
using iot.solution.model.Repository.Interface;
using iot.solution.service.Interface;
using System.Collections.Generic;
using Request = iot.solution.entity.Request;
using Response = iot.solution.entity.Response;
using System.Data;
using System.Data.Common;
using System.Reflection;
using compone... |
using System;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using SharpDX.MediaFoundation;
namespace ThumbnailGrabber
{
public static class VideoThumbnailGrabber
{
static VideoThumbnailGrabber()
{
MediaManager.Startup(true);
}
public static Bitmap... |
namespace YAMP
{
using System;
/// <summary>
/// Gets the value of Pi.
/// </summary>
[Description("PiConstantDescription")]
[Kind(PopularKinds.Constant)]
[Link("PiConstantLink")]
sealed class PiConstant : BaseConstant
{
static readonly ScalarValue pi = new ScalarValue(Math.PI);
public ov... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
/*===================================================================================
*
* Copyright (c) Userware/OpenSilver.net
*
* This file is part of the OpenSilver Runtime (https://opensilver.net), which is
* licensed under the MIT license: https://opensource.org/licenses/MIT
*
* As stated in t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Microsoft.Maps.Unity;
using Microsoft.Geospatial;
public class LatLonMover : MonoBehaviour
{
public MapRenderer renderer;
public float lat;
public float lon;
// Start is called before the first frame update
void S... |
using System;
using CommandLine;
using System.Linq;
using System.Collections.Generic;
using System.IO;
namespace SilentOrbit.ProtocolBuffers
{
/// <summary>
/// Options set using Command Line arguments
/// </summary>
public class Options
{
/// <summary>
/// Convert message/class and... |
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("CS... |
/*
* Copyright (c) Citrix Systems, Inc. All rights reserved.
*/
using System;
using System.Collections;
using System.Collections.Generic;
using CookComputing.XmlRpc;
namespace XenAPI
{
public partial class VDI : XenObject<VDI>
{
public VDI()
{
}
public VDI(string uuid,
... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Windows.Forms;
using NetSparkle.Interfaces;
using System.IO;
using System.Diagnostics;
using System.Reflection;
using Sy... |
namespace CreativeCoders.Net.UnitTests.Http
{
public class HttpTestDataObject
{
public string TestProperty { get; set; }
}
} |
// SPDX-License-Identifier: MIT
// Copyright © 2021 Oscar Björhn, Petter Löfgren and contributors
using System.Collections.Generic;
using Daf.Core.LanguageServer.Model;
using Daf.Core.LanguageServer.Status;
namespace Daf.Core.LanguageServer.Services
{
public class ReloadPluginService
{
private readonly LanguageS... |
// 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.Runtime.InteropServices;
namespace EdgeSharp
{
public static partial class Interop
{
... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SuperSocket;
using SuperSocket.ProtoB... |
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("pn... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace RiotGamesApi.Libraries.Lol.v3.StaticEndPoints.Items
{
public class ItemTreeDto
{
//
[JsonProperty("header")]
public string header { get; set; }
[JsonProperty("tags")]
pu... |
using Core.Domain;
using Core.Infrastructure;
namespace Data.Repositories.Changes
{
internal class Addition : Change
{
internal Addition(IAggregateRoot aggregateRoot, IUnitOfWorkRepository unitOfWorkRepository) : base(
aggregateRoot, unitOfWorkRepository)
{
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigitRecognizer
{
class Program
{
static void Main(string[] args)
{
var distance = new ManhattanDistance();
var classifier = new BasicClassifier... |
using System.Collections.Concurrent;
using System.Text;
using System.Threading.Tasks;
namespace AldursLab.Testing
{
public static class TempDirectoriesFactory
{
readonly static TempDirectoriesManager Manager = new TempDirectoriesManager();
public static DirectoryHandle CreateEmpty()
{... |
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("Int... |
@model Timeclock.Models.Company
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>Company</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.CompanyName)
</dt>
<dd>
@Html.DisplayFor(model => model.CompanyName)
... |
namespace DustMother.Profiles
{
public interface IPathOptions
{
string SaveFilePath { get; }
}
} |
// <copyright file="ResizeImagesQueue.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace SocialPlus.Server.Queues
{
using System.Threading.Tasks;
using SocialPlus.Models;
using SocialPlus.Server.Messages;
using SocialPlus.Server.Messaging;
/// <su... |
using Confluent.Kafka;
using System;
using System.Threading;
namespace KafkaWelcomeKit.Consumir
{
public class ConsumidorCommitAutomatico : ConsumidorAbstrato
{
public ConsumidorCommitAutomatico(BrokerHelper brokerHelper, string consumerGroup) : base(brokerHelper, consumerGroup) { }
public vo... |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace dell_fans_controller
{
public class IniHelper
{
public IniHelper()
{
}
/// <summary>
/// 为INI文件中指定的节点取得字符串
/// </summary>
/// <param name="lpAppName">欲在其中查找关键字的节点名称</param>
... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Oxide.Core;
using Oxide.Game.Rust.Cui;
using UnityEngine;
namespace Oxide.Plugins
{
[Info("Building Block GUI", "Iv Misticos", "2.0.0")]
[Description("Displays GUI to player when he enters or leaves building block without need of Plan... |
using System.IO;
using UnityEngine;
using UnityEngine.Experimental.Rendering.HDPipeline;
using UnityEngine.Rendering;
namespace UnityEditor.Experimental.Rendering.HDPipeline
{
using UnityObject = UnityEngine.Object;
static class HDAssetFactory
{
static string s_RenderPipelineResourcesPath
... |
using UnityEngine;
using UnityEditor;
public class ResetPlayerPrefs : MonoBehaviour {
[MenuItem("Edit/Reset Playerprefs")] public static void DeletePlayerPrefs() { PlayerPrefs.DeleteAll(); }
} |
//-----------------------------------------------------------------------
// <copyright file="SqlCmdWrapper.cs">(c) http://www.codeplex.com/MSBuildExtensionPack. This source is subject to the Microsoft Permissive License. See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. Al... |
using System.ComponentModel.DataAnnotations;
using Abp.Auditing;
namespace GSoft.AbpZeroTemplate.Web.Models.Account
{
public class LoginModel
{
[Required]
public string UsernameOrEmailAddress { get; set; }
[Required]
[DisableAuditing]
public string Password { get; set;... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V4200</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
namespace HyperaiX.Abstractions.Messages;
public interface IMessageChainParser
{
MessageChain Parse(string text);
} |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (https://www.specflow.org/).
// SpecFlow Version:3.9.0.0
// SpecFlow Generator Version:3.9.0.0
//
// Changes to this file may cause incorrect behavior and w... |
using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using OfficeDevPnP.Core.Extensions;
namespace... |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CReactionScriptedCondition : IReactionCondition
{
public CReactionScriptedCondit... |
using System;
using System.Collections.Generic;
namespace SoftUni.Models
{
public class Town
{
public Town()
{
Addresses = new HashSet<Address>();
}
public int TownId { get; set; }
public string Name { get; set; }
public ICollection<Address> Addre... |
@model IEntityFormViewModel
@{
string title = $"{ViewData.GetAction()} {ViewData.GetEntityName()}";
ViewData.SetTitle(title);
}
<div class="col-12 grid-margin stretch-card mx-auto">
<div class="card">
<div class="card-body">
<h4 class="card-title">@title</h4>
<form asp-area... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
using DCL.Interface;
using UnityEngine;
using DCL.Helpers;
using DCL.Models;
using Ray = UnityEngine.Ray;
namespace DCL.Components
{
public class AvatarOnPointerDown : MonoBehaviour, IPointerEvent, IPoolLifecycleHandler, IAvatarOnPointerDownCollider
{
public new Collider collider;
private OnPoi... |
using Xunit;
namespace RedStar.Amounts.Tests
{
public class UnitManagerTests
{
[Fact]
public void TestRegisteringUnit()
{
var unit = new Unit("SomeUnit", "SU", new UnitType("SomeUnitType"));
UnitManager.RegisterUnit(unit);
var byName = UnitManager.G... |
using System;
using System.Threading;
namespace _0131_Thread
{
class Program
{
static Thread _thread;
static void Main(string[] args)
{
_thread = new Thread(new ThreadStart(Temp));
_thread.Start();
_thread.IsBackground = true;
}
static void Temp()
{
for (int i = 0; i < 100; i++)
{
C... |
namespace SociallyDistant.Utilities
{
public static class IpUtils
{
public const uint Loopback = 0x7f000001u;
public const uint Zero = 0u;
public const uint Broadcast = 0xffffffffu;
public static uint AddressFromOctets(byte o1, byte o2, byte o3, byte o4)
{
v... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////... |
using JT809.Protocol.JT809Attributes;
using JT809.Protocol.JT809Enums;
using JT809.Protocol.JT809Exceptions;
using JT809.Protocol.JT809Extensions;
using JT809.Protocol.JT809MessageBody;
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Text;
namespace JT809.Protocol.JT809Formatters.JT... |
namespace PassCoder
{
public class Chaos
{
private uint _actualRank;
private uint _seedSave;
private readonly uint[] _rndArray =
{
301, 1898, 1531, 5528, 3632, 1868, 6621, 9903, 1675, 6214, 5932, 5177, 1007, 6954, 9491, 4126, 3446, 3,
7617, 7394, 1535, 5... |
/*
Copyright (c) 2010-2011 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2007-2015 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
0MQ is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public ... |
using UIKit;
namespace Rox
{
internal class Application
{
private static void Main(string[] args)
{
UIApplication.Main(args, null, "AppDelegate");
}
}
} |
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Rubius
//
// 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/licens... |
/***************************************************************************************************************************************
* Copyright (C) 2001-2012 LearnLift USA *
* Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, support@memorylifter.com *
* ... |
namespace GameEngineAPI.Components
{
public interface Component
{
public string componentID { get; }
public GameObject? owner { set; }
public void OnUpdate();
public void OnRender();
}
} |
/*using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class scr_theFlood: MonoBehaviour {
public float riseSpeed;
public GameObject player;
public float playerPosMod;
// Update is called once per frame
void Update() {
if (player.GetComponent<player_move>(... |
//
// System.Net.NetworkInformation.NetworkInterface
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Soft... |
//---------------------------------------------------------------------------
//
// <copyright file="WindowPattern" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved.
// </copyright>
//
//
// Description: Client-side wrapper for Window Pattern
//
// History:
// 06/23/2003 : Brenda... |
namespace Ninject.Extensions.Interception.Fakes
{
public interface IBase
{
void DoBase();
}
} |
namespace System
{
public delegate int Comparison<T>(T x, T y);
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AIEngineController : MonoBehaviour
{
public GameObject patrolRoute;
public GameObject hidingPlaces;
public GameObject navPoints;
public GameObject ShipNose;
public GameObject Ent;
public float EngineStr... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ManyClients
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void butto... |
using BenchmarkDotNet.Attributes;
using System;
namespace LinqAF.Benchmark.Benchmarks
{
public class FirstOrDefault
{
static int[] Source = new[] { 1, 2, 3 };
static Func<int, bool> Predicate = x => x % 2 == 0;
public class NoParams
{
[Benchmark]
public... |
using System;
using System.Collections.Generic;
namespace DomainDrivenDesign.DomainObjects
{
public class Entity<T, TKey> : Entity<T>
where T : Entity<T>
where TKey : PrimaryKey<T>
{
public TKey Id { get; }
protected Entity(TKey id) : base(id)
{
Id = id;
... |
using System;
using Avalonia.Animation.Utils;
namespace Avalonia.Animation.Easings
{
/// <summary>
/// Eases out a <see cref="double"/> value
/// using the quarter-wave of sine function
/// with shifted phase.
/// </summary>
public class SineEaseOut : Easing
{
/// <inheritdoc/>
... |
using System;
using UnityEngine;
using UnityEngine.UI;
namespace ANovel.Engine
{
public interface IScreenService
{
IScreenId CurrentId { get; }
event Action<BeginSwapEvent> OnBeginSwap;
event Action<DeleteChildEvent> OnDeleteChild;
event Action<EndSwapEvent> OnEndSwap;
ITransitionController Transition { g... |
// *** 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... |
// <copyright file="W3CWireProtocolCommandInfoRepository.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.