text stringlengths 1 932k |
|---|
using ByteDev.DotNet.Solution;
using NUnit.Framework;
namespace ByteDev.DotNet.UnitTests.Solution
{
[TestFixture]
public class DotNetSolutionProjectTypeTests
{
[TestFixture]
public class Constructor : DotNetSolutionProjectTypeTests
{
[Test]
public void WhenC... |
using System;
using System.Collections.Generic;
using Code.Configs;
using Code.Interfaces.Controllers;
using Code.Interfaces.Views;
using Code.Models;
using Code.Utils.Modules;
using Code.Views;
using UnityEngine;
namespace Code.Controllers
{
internal sealed class BulletController : IEmitter
{
private... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
using BBS.Models.Constants;
using BBS.Models.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace BBS.Web.Models
{
public class SignUpContinuedViewModel : SignUpViewModel
{
[Required]
public bool Sex { get; set; }
... |
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("Da... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.CompilerServices;
using System.Numerics;
using System.Diagnostics;
public class Runtime_49101
{
struct S
{
public Vector3 v;
public int ... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace Ais.Models
{
public class utils
{
// change file message to base64 String
public stat... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/aiplatform/v1/dataset_service.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Colle... |
using Autofac.Extras.Attributed;
namespace Autofac.Extras.Tests.Attributed.ScenarioTypes
{
/// <summary>
/// this class demonstratees the ability to search for metadata based on metadata attributes instead of
/// providing the metadata directly
/// </summary>
public class WeakTypedScenarioMetadata... |
//===============================================================================
// LibLog
//
// https://github.com/damianh/LibLog
//===============================================================================
// Copyright © 2011-2015 Damian Hickey. All rights reserved.
//
// Permission is hereby granted, free of ... |
namespace MVVMTabDemo.ViewModels.Interfaces
{
interface ITabViewModel
{
string Name { get; set; }
bool IsSelected { get; set; }
IViewModelBase ViewModel { get; set; }
}
} |
namespace Problem_2.Students_and_workers
{
using System;
public class Worker : Human
{
private double weekSalary;
private byte workHoursPerDay;
public double WeekSalary
{
get { return this.weekSalary; }
private set
{
... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.AppService.Fluent
... |
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
<div class="text-center">
<h1 class="display-4">UTIMCO Coding Exercise</h1>
</div>
@* loop through list of menus *@
@foreach (var menu in Model.MenuCollection)
{
int total = 0;
<h2>@menu.Menu.Header</h2>
<ul>
@* loop through ... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NotificationService.Contracts
{
/// <summary>
/// Status of a Notification Item.
/// </summary>
public enum NotificationItemStatus
{
/// <summary>
/// Queued
/// </summary>
Queued,
... |
using UnityEngine;
using System.Collections;
using TMPro;
//This is a pretty simple minigame - it just involves rolling a die and adding numbers to it! All of this is just displayed in text on the UI
//so the code is very simple
public class DNDLockpickGame : LockpickGame
{
//Game information - the DC (difficulty... |
// 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.ComponentModel.DataAnnotations;
using System.IO;
using... |
namespace Farm
{
public class Cat : Animal
{
public void Meow()
{
System.Console.WriteLine("meowing...");
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using SmartStore.Core.Data;
using SmartStore.Core.Domain.Catalog;
using SmartStore.Core.Domain.Directory;
using SmartStore.Core.Events;
using SmartStore.Data.Caching;
using SmartStore.Services.Customers;
namespace SmartStore.Services.Directory
{
pu... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
using System.Collections;
namespace NHibernate.Linq.Transform
{
public class LinqJoinResultsTransformer : NHibernate.Transform.IResultTransformer
{
private readonly System.Type _entityType;
public LinqJoinResultsTransformer(System.Type entityType)
{
_entityType = entityType;
}
public IList TransformL... |
namespace OpenVIII.Fields.Scripts.Instructions
{
internal sealed class FACEDIR : JsmInstruction
{
#region Fields
private readonly IJsmExpression _arg0;
private readonly IJsmExpression _arg1;
private readonly IJsmExpression _arg2;
private readonly IJsmExpression _arg3;
... |
using System;
namespace ConditionSystem
{
public delegate T HandlerCaseCallback<T>(Exception exception);
} |
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("GuessingGame")]
[assembly: AssemblyDescri... |
/*
* 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 Sniper.Common;
using System.Collections.ObjectModel;
namespace Sniper.Contracts.Entities.Common
{
public interface IHasAttachments
{
Collection<Attachment> Attachments { get; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour
{
Animator anim;
public static GameObject player;
public static GameObject currentPlatform;
public static AudioSource[] ... |
using com.liteninja.soa.Events;
using UnityEditor;
namespace com.liteninja.soa.Editor.Events
{
[CustomEditor(typeof(LongEvent))]
public class LongEventEditor : AEventEditor<long>
{
protected override long DrawArgField(long value)
{
return EventGUI.LongField(value);
}
... |
namespace TwitchIrcHub.IrcBot.Helper;
//public abstract class Factory<T> : IFactory<T>
//{
// private readonly IServiceProvider _serviceProvider;
// protected Factory(IServiceProvider serviceProvider) => _serviceProvider = serviceProvider;
// public T Create() => _serviceProvider.GetRequiredService<T>();
// ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialText : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
} |
namespace TeisterMask.DataProcessor
{
using System;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using Data;
using Newtonsoft.Json;
using TeisterMask.DataProcessor.ExportDto;
using Formatting = Newtonsoft.Json.Formatting;
public class Serializer
{
... |
using EPM.Model.DbModel;
using System;
using System.Collections.Generic;
using System.Text;
namespace EPM.Model.Dto.Response.UserResponse
{
public class UserDto : User
{
public string RoleName { get; set; }
public string DepartmentName { get; set; }
}
} |
namespace AgatePris.Apuu.NullableDrawer {
[UnityEditor.CustomPropertyDrawer(typeof(NullableMinMaxGradient))]
public class NullableMinMaxGradientDrawer : OverlapClipNullableDrawer { }
} |
using System;
using System.Collections;
using System.Collections.Generic;
namespace DataStructures.LinkedList
{
public class CircularDoubleLinkedList<T> : ILinkedList<T>
{
public DoubleNode<T>? Head { get; private set; }
public DoubleNode<T>? Tail { get; private set; }
public bool IsE... |
using System.Collections.Generic;
using Netcode;
using StardewModdingAPI;
using StardewValley;
using StardewValley.Buildings;
using HarmonyLib;
using Microsoft.Xna.Framework;
using TwilightShards.Stardew.Common;
using System.Linq;
namespace HappyFishJump
{
public class FishConfig
{
public float JumpCh... |
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using ReactiveUI.Fody.Helpers;
using Waves.Core.Base.Interfaces;
using Waves.UI.Plugins.Services.Interfaces;
using Waves.UI.Presentation;
using Waves.UI.Showcase.Common.Presentation.ViewModel.Pages;
namespace Waves.UI.Showcase.Common.Presentation.Vie... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - UC Davis Payments</title>
<base href="~/" />
<partial name="_Analytics" />
<environment names="Development">
<link rel="stylesheet"... |
@model Donatime.Models.SendCodeViewModel
@{
ViewBag.Title = "Enviar";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
@Html.AntiForgeryToken()
@Html.Hidden("rememberMe", @M... |
using System;
using System.Management.Automation;
using Perry.Commands.Options;
using Perry.ErrorHandling.Parsing;
namespace Perry.ErrorHandling.Handlers
{
/// <summary>
/// Output errors as they happen.
/// </summary>
class InteractiveErrorHandler : IErrorHandler
{
public static Interacti... |
using System;
using System.Linq;
namespace ReverseString
{
class Program
{
static void Main(string[] args)
{
string[] symbols = Console.ReadLine()
.Split()
.Where(el => el.Length > 0)
.ToArray();
Console.WriteLine(String.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringsAndObjects
{
class Program
{
static void Main(string[] args)
{
string firstWord = "Hello";
string secondWord = "World";
stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Schema;
using BpToolsLib;
using BpToolsLib.Interpreter;
namespace BpToolsLib.Generator
{
public class StageRecover : Stage
{
readonly BpToolsLib.StageRecover stage;
... |
using System;
using System.IO;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Interactivity;
namespace AddressCoding
{
/// <summary>
/// Класс для описания поведения всплывающего окна помощи
/// </summary>
class FlowDocument... |
namespace MaterialColor.Extensions
{
using JetBrains.Annotations;
using Helpers;
using ONI_Common;
using ONI_Common.Data;
using UnityEngine;
public static class SimHashesExtensions
{
public static Color GetMaterialColorForType(this SimHashes material, string objectTypeName)
... |
using Grasshopper;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Data;
using Parametric_FEM_Toolbox.GUI;
using Parametric_FEM_Toolbox.RFEM;
using Rhino.Geometry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Parametric_FEM_Toolbox.De... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Dynamic;
using System... |
using System;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using Newtonsoft.Json.Linq;
namespace MassTransit.Gateway.MessageBuilder
{
public static class DynamicTypeBuilder
{
public static Type BuildMessageType(string className, string messageJson)
{
if ... |
using System;
namespace Stellar.Common
{
public class Payment
{
public Guid Id { get; private set; }
public string From { get; set; }
public string To { get; set; }
public string Amount { get; set; }
public string AssetCode { get; set; }
public string AssetIssu... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
usin... |
namespace Orleans.BroadcastChannel
{
/// <summary>
/// A stream namespace predicate which matches all namespaces.
/// </summary>
internal class AllStreamNamespacesPredicate : IChannelNamespacePredicate
{
/// <inheritdoc/>
public string PredicatePattern => "*";
/// <inheritdo... |
using System;
using Csla;
namespace ParentLoadROSoftDelete.DataAccess.ERLevel
{
/// <summary>
/// DTO for E07_Country_ReChild type
/// </summary>
public partial class E07_Country_ReChildDto
{
/// <summary>
/// Gets or sets the parent Country ID.
/// </summary>
/// <v... |
#if ANKUCHEN_VISUALSCRIPTING_SUPPORT
using AnKuchen.Map;
using Unity.VisualScripting;
using UnityEngine;
namespace AnKuchen.VisualScripting
{
[UnitTitle("UiCacheGetter")]
[UnitCategory("AnKuchen")]
public class UiCacheGetterNode : Unit
{
[DoNotSerialize]
public ValueInput uiCache { get... |
using System;
using System.Diagnostics.Contracts;
using System.Reactive;
namespace Rxx.Labs
{
internal sealed class TypeCoercingObserver<TIn, TOut> : ObserverBase<TIn>
{
private readonly IObserver<TOut> observer;
public TypeCoercingObserver(IObserver<TOut> observer)
{
Contract.Assume(observer !... |
namespace VPKSoft.ImageAreaSelector
{
partial class ImageAreaSelector
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... |
namespace PaketLoadScripts
#load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/monoandroid4.3/Microsoft.Extensions.Configuration.Json.csx" |
// *** 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... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.Xunit.Performance;
namespace Functions
{
public static partial class MathTests
{
// Tests Math.Atan2(double, double) over 5000 iteratio... |
using System;
using Microsoft.AspNetCore.Identity;
namespace Core22.Areas.Identity.Data
{
public class ApplicationUser : IdentityUser
{
[PersonalData]
public override string Id { get => base.Id; set => base.Id = value; }
[PersonalData]
public string Name { get; set; }
... |
// <auto-generated />
using System;
using System.Reflection;
using HumanResources.Domain;
using Microsoft.EntityFrameworkCore.Metadata;
using N8T.Core.Domain;
#pragma warning disable 219, 612, 618
#nullable enable
namespace HumanResources
{
internal partial class RegionEntityType
{
public static Runt... |
// <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 Recipes.Context;
namespace Recip... |
using Cauldron.Interception;
using System;
using System.Reflection;
namespace UnitTest_InterceptorsForTest
{
public class SimpleInterceptorAttribute : Attribute, ISimpleMethodInterceptor
{
public void OnEnter(Type declaringType, object instance, MethodBase methodbase, object[] values)
{
... |
using System;
using Gtk;
using Microsoft.Maui.Native;
namespace Microsoft.Maui.Handlers
{
public partial class PageHandler : ViewHandler<IView, PageView>
{
public override void SetVirtualView(IView view)
{
base.SetVirtualView(view);
_ = NativeView ?? throw new InvalidOperationException($"{nameof(Native... |
using System;
using System.Collections;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
public static class dbg_extensions
{
static public T dump<T>(this T @object, params object[] args)
{
dbg.print(@object, args);
return @object;
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Signum.Engine.Maps;
using Signum.Entities;
using Signum.Utilities;
using Signum.Engine.DynamicQuery;
using Signum.Entities.Authorization;
using System.Reflection;
using Signum.Entities.Basics;
using Signum.Engine.Operations;
using System.Linq.Expr... |
//------------------------------------------------------------------------------
// <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 2018 Esri
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 law or agreed to in writing, ... |
//
// Copyright (C) 2012-2016 DataStax Inc.
//
// 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 ap... |
/*******************************************************************************
* Copyright 2008-2011 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 Licens... |
using ClumsyBat;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CrystalBall : MonoBehaviour {
public int ID;
public Transform EndPosition;
public float ActiveDuration;
[HideInInspector] public CrystalBoss Parent;
[HideInInspector] public bool IsAc... |
// Copyright 2008-2009 Louis DeJardin - http://whereslou.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 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using GRA.Domain.Model;
using GRA.Domain.Repository;
using GRA.Domain.Service.Abstract;
using GRA.Domain.Service.Models;
using Microsoft.Extensions.Caching.Distributed;
using Micros... |
//---------------------------------------------------------------------
// <copyright file="AssemblyKeys.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Lab02 : MonoBehaviour {
public SpriteRenderer image;
public Sprite sprite;
private void Start()
{
GetComponent<Button>().onClick.AddListener(buttonClick);
}
public void... |
/**
* Copyright 2019 Adobe Systems Incorporated. All rights reserved.
* This file is licensed 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 http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
// 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.Threading;
using System.Threading.Tasks;
using NuGet.Protocol.Core.Types;
namespace NuGet.PackageManagement.VisualStudio
{
/// <summa... |
using System.Xml.Serialization;
namespace MyAnimeListSharp.Core
{
public class EntryBase
{
[XmlElement(ElementName = "id")]
public int Id { get; set; }
[XmlElement(ElementName = "title")]
public string Title { get; set; }
[XmlElement(ElementName = "english")]
p... |
// Type: ECView_CSharp.Properties.Settings
// Assembly: ClevoECView, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 466451CB-A6EA-4E8C-846C-A99227909B6B
// Assembly location: C:\ECView\ClevoECView.exe
using System.CodeDom.Compiler;
using System.Configuration;
using System.Runtime.CompilerServices;
na... |
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
using MusicBeePlugin;
using SharpHue;
using MusicBeePlugin.SettingsComponent;
using System.Threading;
using System.Diagnostics;
using System.Timers;
namespace MusicBeePlugin
{
public partial class Plugin
{
... |
using System;
using UWP.SchoolProject.Services;
using UWP.SchoolProject.ViewModels;
using Windows.Storage;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace UWP.SchoolProject.Views
{
public sealed partial class CameraView : Page
{
private CameraViewModel viewModel;
public Came... |
// <copyright file="ISavedGameClient.cs" company="Google Inc.">
// Copyright (C) 2014 Google Inc.
//
// 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... |
// <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.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using YTS.Tools;
namespace Test.ConsoleProgram.Learn
{
public class Test_XML : CaseModel
{
public Test_XML() {
NameSign = @"XML文件";
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FFImageLoading.Forms;
using MvvmCross.Core.ViewModels;
using Xamarin.Forms;
namespace Tracking.Core.Vie... |
using UnityEngine;
namespace JTUtility.Platformer
{
public abstract class BaseCharacterJumper : MonoBehaviour
{
[SerializeField] protected float jumpHeight = 3;
public abstract event Action OnJump;
protected virtual Vector3 GetJumpingCommand()
{
return Input.GetBu... |
// Copyright (c) 2018 stefan.v
//
// 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, di... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AspnetRunBasics.ApiCollection.Interfaces;
using AspnetRunBasics.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace AspnetRunBasics.Pages
{
public class IndexModel : PageModel
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Net.Http;
using System.Net.Http.Headers;
using System.IO;
usin... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using FluentAssertions;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class AllAnyTests : TestBase
{
[Test]
public void Any1([DataSources] string context)
{
usi... |
using Common;
using Common.Harmony;
namespace RenameBeacons
{
public static class Main
{
public static void patch()
{
HarmonyHelper.patchAll();
LanguageHelper.init();
}
}
class L10n: LanguageHelper
{
public static readonly string ids_name = "Name";
public static readonly string ids_rename = "ren... |
using System;
using System.Collections.Concurrent;
using BFF.Model.Models.Structure;
using BFF.ViewModel.ViewModels.ForModels.Structure;
namespace BFF.ViewModel.Services
{
public interface IModelToViewModelServiceBase<in TDomain, out TViewModel>
where TDomain : class, IDataModel
where TViewModel :... |
using ProtoBuf;
using System;
using System.IO;
namespace SystemModule
{
public class ProtoBufDecoder
{
public static byte[] Serialize<T>(T model)
{
try
{
using var ms = new MemoryStream();
Serializer.Serialize<T>(ms, model);
... |
using Microsoft.bliztafree.BuildingBlocks.EventBus.Abstractions;
using Microsoft.bliztafree.BuildingBlocks.EventBus.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Microsoft.bliztafree.BuildingBlocks.EventBus
{
public partial class I... |
// 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;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.C... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.8
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using OLEDB.Test.ModuleCore;
namespace System.Xml.Tests
{
/////////////////////////////////////////////////////////////////////////
// TestCase ReadOuterXml
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Examine;
using Examine.LuceneEngine.Providers;
using Lucene.Net.Store;
using NUnit.Framework;
using Examine.LuceneEngine.SearchCriteria;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Index;
using Umbraco... |
// 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.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Analyzer.Utilities;
using System.Linq;
name... |
/*
* Copyright (c) 2006-2016, openmetaverse.co
* 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 retain the above copyright notice, this
* li... |
#region Copyright & License
// Copyright © 2012 - 2017 François Chabot, Yves Dierick
//
// 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
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.