text stringlengths 13 6.01M |
|---|
using System;
using System.Linq;
namespace Application.Common.Extensions
{
public static class GeneralExtensions
{
public static string GenerateRandomString(int length)
{
var rnd = new Random();
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789... |
// -----------------------------------------------------------------------
// <copyright file="main.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </copyright>
// --... |
using UnityEngine;
using System.Collections;
public abstract class CGeneratable : Generatable{
public void setBox(){
item.AddComponent<BoxCollider>();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StreakerLibrary;
namespace CollisionBoxTool
{
class Consumable
{
public Rectangle rect;
public Vector2 position;
... |
using MongoDB.Bson;
using MongoDB.Bson.IO;
using MongoDB.Driver;
using SimpleTalkMongoDb.Configuration;
using System;
using System.Threading.Tasks;
namespace SimpleTalkMongoDb.Filtering
{
internal static class Explain
{
public static void Main(string[] args)
{
MainAsync().Wait();... |
using UnityEngine;
public class PlayerWorldCreationManager : MonoBehaviour
{
private Vector2 currentChunk;
public WorldReactionRefractor worldCreator;
void Start()
{
}
private void FixedUpdate()
{
float posX = RoundDown((int)this.transform.position.x);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Boyut.todo.Common
{
public class CustomExceptionHandler:Exception
{
public CustomExceptionHandler(string message)
{
}
}
}
|
// Copyright 2021 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 applica... |
using SprintFour.Utilities;
using System;
namespace SprintFour.Blocks.BlockStates
{
class PipeSideTopBlockState : BlockStateBase
{
public override Tuple<int, int>[] GetFrames()
{
return Utility.PipeSideTopBlockFrames;
}
}
}
|
namespace Fano
{
class Program
{
//Program parameters.
private static readonly string path = @"C:\Users\Gedas\Desktop\GitProject\Fano\TestingFiles\test1.txt";
//bitsWordLenght between 2 and 16.
private const int bitsWordLenght = 8;
//mode: decode or encode.
sta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SGA.Controllers
{
public class CadastrosController : Controller
{
public ActionResult Index()
{
return View("Index");
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using AgentStoryComponents.core;
namespace AgentStoryComponents
{
public class StoryLog
{
private utils ute = new utils();
private string _connectionString = null;
public StoryLog(string asConnectionString)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Collections;
namespace YiXiangLibrary
{
public partial class question_d : System.Web.UI.Page
{
public ... |
using System.Linq;
using System.Web.Http.OData;
using LindugRest.Models;
namespace LindugRest.Api
{
public class HypermediaBooksController : EntitySetController<Book, int>
{
private readonly IBooksRepository _repo = new BooksRepository();
// GET odata/hypermediaBooks
public override I... |
using System;
using System.Collections.Generic;
using System.Text;
using TestApplicationDomain.Entities;
using TestApplicationInterface.Repository;
namespace TestApplicationDB.Repository
{
public class HotelReposiotry : Repository<Hotel>, IHotelRepository
{
public HotelReposiotry(DbFactory dbFactory) ... |
using System;
public class Program
{
public static void Main()
{
var matchSum = int.Parse(Console.ReadLine());
for (int firstIndex = 1; firstIndex <= 4; firstIndex++)
{
for (int secondIndex = 1; secondIndex <= 4; secondIndex++)
{
for (int thirdI... |
// Copyright 2016 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 applica... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using SaleStore.Data;
using SaleStore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SaleStore.Areas.Admin.Controllers
{
public class ControllerBaseAdmin :Controller
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using RedStar.TimesheetGenerator.Core;
namespace RedStar.TimesheetGenerator.ConsoleApp
{
class Program
{
static void Main(string[] args)
{
try
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace PESWeb.LearningVietNamese.UserControls
{
public partial class DeleteFolderAndFile : System.Web.UI.UserControl
{
protected void Page_Load(objec... |
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
namespace StudyEspanol.Data.Models
{
public partial class Conjugation : INotifyPropertyChanged
{
#region Const Fields
public const string ID = "conjugation_id";
public const string TENSE = "tense";
public const string Y... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CleanArch.Domain.Commands
{
public class DeleteProductCommand:ProductCommand
{
public DeleteProductCommand(string name, string description, string image, double price, int categ... |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Text;
namespace CertainUpload
{
internal class Program
{
private static void Main(string[] args)
{
string arg = args.Any() ? args[0] : null;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Hisab.Class;
namespace Hisab.form
{
public partial class frmSalesIn... |
using System;
namespace RMAT3.Common
{
public class Audits
{
public string Createdby { get; set; }
public string UpdatedBy { get; set; }
public DateTime CreatedOn { get; set; }
public DateTime UpdatedOn { get; set; }
}
}
|
using System;
using System.Linq;
namespace SortAlgorithms.SortingTypes
{
public class InsertionSort<T> : CollectionSorter<T> where T : IComparable
{
public InsertionSort()
{
//Here will be sort type from enum
}
public override void Sort (T[] inputCollection)
... |
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Text;
namespace NetCore.RMQ.Common
{
public class RmqMessageSender
{
public string Hostname { get; }
public string Queue { get; }
public RmqMessageSender(string hostname, string queue)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* http://bbbproject.sakura.ne.jp/wordpress/mitlicense
* @brief イベントプレート。コールバック。
*/
/** NEvent... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Activity
{
/**
* Interface IManager
*
* @package OCP\Activity
* @since 6.0.0
*/
public interface IManager
{
/**
* Generates a new IEvent object
*
* Make sure to call... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FieldGizmo : MonoBehaviour
{
public float radius = 1.0f;
public float strength = 1.0f;
public int id = -1;
void Start() {
}
void Update() {
}
void OnDrawGizmos() {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.FileManager
{
class Loader : IFileManager
{
public int perform()
{
return 1;
}
}
}
|
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using lianda.Component;
namespac... |
using System;
using UnityEngine;
namespace RO
{
public interface ISyncLoaderStrategy
{
Object Load(ResourceID ID);
Object Load(ResourceID ID, string assetName);
Object LoadScene(ResourceID ID);
Object Load(ResourceID ID, Type resType);
Object Load(ResourceID ID, Type resType, string assetName);
T Lo... |
using UnityEngine;
using System.Collections.Generic;
/* A degree 3 b-spline.
https://en.wikipedia.org/wiki/De_Boor%27s_algorithm
Contributors:
https://bitbucket.org/tjgoolsby/
*/
public class Spline : MonoBehaviour {
[HideInInspector]
public Transform[] points; // these are transforms to make editing contr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NotificationsExtensions.TileContent;
using Windows.UI.Notifications;
namespace BusAroundMe
{
public static class TileNotificationHelpers
{
public static void UpdateTile(string titl... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Robot
{
public static class JsonExntensions
{
public static void Dump(this object input)
{
var dump = JsonSerializer.Serialize(input, new JsonSerializerOptions()
{
Write... |
#region Copyright Syncfusion Inc. 2001-2015.
// Copyright Syncfusion Inc. 2001-2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// a... |
using System;
using MvcMonitor.Data.Repositories;
using MvcMonitor.Models;
namespace MvcMonitor.Data.Providers
{
public class IndexProvider : IIndexProvider
{
private readonly IErrorRepositoryFactory _errorRepositoryFactory;
public IndexProvider(IErrorRepositoryFactory errorRepositoryFactory)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IES.Resource.Model
{
/// <summary>
/// 复合习题的详细信息
/// </summary>
public class ExerciseCompInfo : IExercise
{
public int ExerciseID { get; set; }
public int ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Payroll.Models
{
public class EmployeeHistory: Basic
{
[Display(ResourceType = typeof(Resource), Name = "EmployeeName")]
public Guid EmployeeId { get; set; }
[Foreig... |
using System;
using System.Xml;
namespace Hackathon
{
enum ProblemName
{
None,
CreateMillionBlobs,
ListMillion,
ListMillionRandom,
Throttling,
PageBlobDataSaver,
BatchDelete
};
class Controller
{
static void Main(st... |
namespace ns20
{
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
internal class Class169 : Class166
{
private static readonly Class169 class169_0 = new Class169();
public override Action<T, object> ns20.Class166.... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace OmniGui
{
public class StyleWatcher
{
private IEnumerable<Style> styles;
public StyleWatcher(IEnumerable<Style> styles)
{
this.styles = styles;
}
public void Watch(Layout layout)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System.Data;
using Microsoft.Data.SqlClient;
using Workforce_Purple_Parrots.Models;
using Microsoft.AspNetCore.Http;
using Workforce_Purple_Pa... |
public class Solution {
public int Reverse(int x) {
char[] chars = x.ToString().ToCharArray();
if(chars[0] == '-'){
Array.Reverse(chars, 1,chars.Length - 1);
}else{
Array.Reverse(chars);
}
int returnString;
bool res = int.TryParse(new string(chars), out returnString);
//Coul... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Kademlia;
namespace Kademlia.Test
{
[TestClass]
class FunctionTest
{
[TestMethod]
private void SortListTest()
{
Assert.IsTrue(true);
}
[TestMethod]
private void SortTableTest()
{
Assert.Is... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
using BASETOOL;
namespace ManLib
{
class SqlOprator
{
/// <summary>
/// 数据源
/// </summary>
private string server;
/// <summary>
/// 数据库
/// </summary>
... |
using UnityEngine;
using UnityEngine.Timeline;
namespace UnityUIPlayables
{
[TrackColor(0.1098f, 0.3529f, 0.8392f)]
[TrackClipType(typeof(RectTransformAnimationClip))]
[TrackBindingType(typeof(RectTransform))]
public class RectTransformAnimationTrack
: AnimationTrack<RectTransform, RectTransfor... |
/*
Copyright 2018 | 2153735 ONTARIO LTD | https://Stru.ca
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 ... |
namespace Decorator
{
interface IComponente
{
double CalcularCosto();
string HacerFuncionar();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Practica_de__clase
{
class Practica
{
static void Main(string[] args)
{
int dato = 1;
while (dato == 1)
{
Console.Wr... |
namespace AIMA.Core.Logic.Propositional.Visitors
{
using System;
using System.Collections.Generic;
using AIMA.Core.Logic.Propositional.Parsing.Ast;
using AIMA.Core.Util;
/**
* @author Ravi Mohan
*
*/
public class NegativeSymbolCollector : BasicTraverser
{
public ove... |
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess.Interfaces
{
public interface ILetterDao
{
/// <summary>
/// Metodo encargdo de obtener todas las letras
/// para la busqueda de regist... |
using com.nope.fishing;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using Random = UnityEngine.Random;
public class SortCard : IComparer<string>
{
public int Compare(string x, string y)
{
int idCard_A = GetIDCardA(x);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _15
{
public class Command
{
Table table;
public Command(Table t)
{
table = t;
moves = new List<string>(10);
}
private List<str... |
using System;
public class Program
{
public delegate void DelegateToPrint(string stringToPrint);
static void Main(string[] args)
{
Console.WriteLine(DateTime.Now.Second);
System.Threading.Thread.Sleep(2000);
Console.WriteLine(DateTime.Now.Second);
Console.Wri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class NetManager : NetworkManager {
private bool firstPlayerJoined;
public override void OnServerAddPlayer(NetworkConnection conn, short playerControllerId)
{
GameObject playerObj =... |
using System;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace serializacja
{
public class BinConverter : IConverter
{
public void Serializuj<T>(T g, string n)
{
try
{
using (Stream stream = File.Open(string.Format(@"{0}\S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Grpc.Core;
using Etg.Data.Entry;
using System.ServiceProcess;
using Microsoft.Extensions.CommandLineUtils;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Etg.Service
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace eSocium.NLP
{
public class SnowballLemma : ILemma
{
public string Stem { get; private set; }
public SnowballLemma(string stem)
{
Stem = stem;
}
public IParadigm Paradigm
{... |
using System;
using System.Collections.Generic;
using Web.Dtos;
using Web.Identity;
namespace Web.Areas.Admin.ViewModels
{
public class DashBoardViewModel
{
public int MessageId { get; set; }
public string UserName { get; set; }
public string WriterUserId { get; set; }
public ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Enumeration;
using Windows.Devices.Gpio;
using Windows.Devices.Spi;
namespace PiPlateRelay
{
public enum PiRelayCommand : byte
{
SystemAddress = 0x0,
... |
using ServerApp.RoomNames;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServerApp.Helper
{
public class RoomNameHelper
{
private IRoomNamesRepository _roomNamesRepository;
public RoomNameHelper()
{
... |
namespace Core.Dto
{
public class NamedEntityDto : EntityDto
{
public string Name { get; set; }
}
}
|
using System.ComponentModel;
using FluentAssertions;
using JimBobBennett.JimLib.Mvvm;
using NUnit.Framework;
namespace JimBobBennett.JimLib.Test.Mvvm
{
[TestFixture]
public class NotificationObjectTest
{
class NotificationTestClass : NotificationObject
{
private string _first;
... |
using System;
using System.Windows;
namespace CREA2014.Windows
{
public partial class MiningWindow : Window
{
public MiningWindow(Action<Window> _NewAccountHolder, Action<Window> _NewAccount, Action _UpdateDisplayedAccounts)
{
InitializeComponent();
Title = ... |
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;
nam... |
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Threading;
using NVRCsharpDemo;
using Renderer.Core;
using System.Windows.Media;
using WpfApplication1.HK;
namespace WpfApplication1
{
public class HKVedioGenerator : DispatcherObject
{
private delegate vo... |
/* 08. Write a program that shows the binary representation of given 16-bit signed integer number (the C# type short). */
using System;
using System.Text;
class _16BitBinaryRepresentation
{
static string ReverseString(string input)
{
StringBuilder sb = new StringBuilder();
for (int i = input.... |
using UnityEngine;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
public class Leaderboard: Singleton<Leaderboard> {
[System.Serializable]
public class Leader{
public string name;
public int score;
public string characterSpriteSheet;
public Leader(string _... |
using System;
using System.Text.Json;
using System.Threading.Tasks;
using Starwars.OAuth2Client;
namespace Starwars.ConsoleApp
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("Starwars.OAuth2Client!");
Console.WriteLine("---------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using HardwareInventoryManager.Helpers;
namespace HardwareInventoryManager.Models
{
public class Setting: ModelEntity
{
[Key]
public int SettingId { get; set; }
... |
using System;
using System.Collections.Generic;
namespace MyStack
{
class Program
{
static void Main(string[] args)
{
Queue<int> queue = new Queue<int>();
for (int i = 0; i < 5; i++)
{
queue.Enqueue(i);
}
Console.WriteLine("After Enqueue: ↓");
foreach (var item in queue)
{
Console... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Rhea.Business;
using Rhea.Data.Entities;
using Rhea.UI.Areas.Estate.Models;
namespace Rhea.UI.Areas.Estate.Controllers
{
/// <summary>
/// 房间控制器
/// </summary>
public class Ro... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Items
{
public sealed class UniqueItemList<T> : IEnumerable<T>, IEnumerable, IToArray<T>
{
readonly SList<T> myList;
public ... |
namespace XShare.WebForms.Accident
{
using System;
using System.IO;
using Ninject;
using XShare.Data.Models;
using XShare.Services.Data.Contracts;
using XShare.WebForms.Controls.Notificator;
public partial class Report : System.Web.UI.Page
{
[Inject]
public IAccidentSer... |
/*
this script may have some slight errors
with the time of hour and some 'try again'
errors but other than that it should work
fully to either set a timer or display
the current time
*/
using System;
using System.Threading;
namespace Timer
{
class MainClass
{
public static void Main(string[... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using MyPersonalBlog.Business.Interfaces;
using MyPersonalBlog.DTO.DTOs.CommentDtos;
using MyPersonalBlog.UI.Tools.AppClasses;
na... |
using System;
namespace CursoCSharp.EstruturasDeControle {
public class AnoBissexto {
public static void Executar() {
var anoAtual = new DateTime().Year;
if(anoAtual % 4 == 0) {
Console.WriteLine("O ano é bissexto");
} else {
Console.Wri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class scrEventManager : MonoBehaviour {
public static scrEventManager EventManager;
[Header("Player")]
public GameObject Player;
[Header("Camera")]
public GameObject mainCamera;
[Header("FirstCine")]
... |
namespace E03_CheckForAPlayCard
{
using System;
public class CheckForAPlayCard
{
public static void Main(string[] args)
{
// Classical play cards use the following signs to designate
// the card face: `2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K and A.
// W... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Inselport : MonoBehaviour
{
public void OnTriggerEnter(Collider player)
{
if (player.gameObject.tag == "Player")
{
player.GetComponent<CharacterController>().enabled = false;
... |
using System;
using FluentAssertions;
using NUnit.Framework;
using Utilities.NET.Extensions;
namespace Utilities.NET.Tests.Extensions
{
public class NullableExtensionsTests : UnitTestBase
{
[Test]
[TestCase(null, ExpectedResult = true)]
[TestCase(0, ExpectedResult = false)]
[Te... |
using Core.Web.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace Core.Web.Controllers.Demo
{
[IgnoreServiceGen]
public class NonGeneratingController: ApiController
{
[HttpGet]
public void GetMethod1(int a)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class Tree : MonoBehaviour
{
public Color growingColor = Color.yellow;
public Color normalColor = Color.green;
public Color magicalColor = Color.magenta;
public Color infectedColor = Co... |
using Lite_Berry_Pi.Models.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lite_Berry_Pi.Models.Interfaces
{
public interface IDesign
{
Task<Design> CreateDesign(DesignDto incomingData);
Task<DesignDto> GetDesign(int id);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Week2Day1
{
static class StaticClass //classi statiche non possono essere istanziate e contengono solo membri statici
{
public static void MyMethod()
{
//fa... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SamRab_2021_03_04_A
{
public partial class Form1 : Form
{
public Form1()
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using OrekiLibraryManage.MDI;
namespace OrekiLibraryManage
{
public partial class Main : Form
{
... |
using System.IO;
namespace Payment.Core.FileSystem
{
public interface IDirectoryHandler
{
DirectoryInfo Create(string path, string identity);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VRComputer : MonoBehaviour
{
public VRButton[] buttons;
public VROneAxisLever oneAxisLever;
public VRTwoAxisLever twoAxisLever;
public float zoomFactor = 0.1f;
public float rotateFactor = 0.1f;
public... |
using System.Windows;
using System.Windows.Controls;
namespace Verbos.UserCtrl
{
/// <summary>
/// Interaction logic for StartControl.xaml
/// </summary>
public partial class StartControl : UserControl
{
public StartControl()
{
InitializeComponent();
}
... |
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using TQVaultAE.Domain.Helpers;
namespace TQVaultAE.Domain.Entities;
public enum RelicAndCharm
{
/// <summary>
/// Unknown
/// </summary>
[Description(@"NORECORDS")]
[GearType(GearType.Undefined)]
Unknown,
... |
using System;
using System.ComponentModel;
namespace MZcms.Core
{
public enum FileCreateType
{
[Description("创建新文件")]
CreateNew = 1,
[Description("覆盖原文件")]
Create=2
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using online_knjizara.EF;
using online_knjizara.EntityModels;
using online_knjizara.Helpers;
using online_knjizara.ViewModels;
namespace online_knj... |
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Medit1.Models
{
public class Port
{
[Key, Column(Order = 1)]
[DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
... |
namespace UI.Services
{
using Domain;
using System;
using System.Threading.Tasks;
using Zebble;
public class NavigationBadges
{
// TODO: For each tab, menu item or button that you need to show a badge, define a member here.
// Then you can bind the UI elements to them.
... |
using HoloToolkit.Unity;
using HoloToolkitExtensions.Messaging;
using System.Collections.Generic;
using UnityEngine;
namespace HoloToolkitExtensions.Audio
{
public class SpokenFeedbackManager : MonoBehaviour
{
private Queue<string> _messages = new Queue<string>();
private void Start()
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.