text stringlengths 13 6.01M |
|---|
// Copyright 2021 Google LLC. 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApiDAL.DataAccess;
using WebApiDAL.Entity;
using WebApiDAL.Model;
using WebApiDAL.ServiceManager;
namespace WebApi.Controllers
{
public class JobController : Api... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameBootstrap : MonoBehaviour
{
private void Start()
{
string strObj = "bootstrap";
GameObject obj = AssetBundleManager.InstantiateGameObject("bootstrap/bootstrap.u3d", strObj);
obj.name = "boot... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 appl... |
using Hayalpc.Fatura.Common.Enums;
using Hayalpc.Fatura.Data;
using Hayalpc.Fatura.Data.Models;
using Hayalpc.Fatura.Panel.Internal.Services.Interfaces;
using Hayalpc.Library.Common.Enums;
using Hayalpc.Library.Common.Helpers;
using Hayalpc.Library.Common.Results;
using Hayalpc.Library.Log;
using Hayalpc.Library.Repos... |
using Domain;
namespace App
{
public interface IStudentEditionRepository
{
Student Get(string registration);
void Update(Student student);
}
} |
using System;
using System.Collections.Generic;
using ETravel.Coffee.DataAccess.Entities;
namespace ETravel.Coffee.DataAccess.Interfaces
{
public interface IOrderItemsRepository
{
IList<OrderItem> ForOrderId(Guid orderId);
OrderItem GetById(Guid id);
void Save(OrderItem item);
void Update(OrderItem item);
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(SpriteRenderer))]
public class Block : MonoBehaviour {
public uint layer = 0;
public bool hasCollider = true;
public float mass = 80;
public bool isLarge = true;
public Vector2I siz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cadastro.API.Data;
using Cadastro.API.Interface;
using Cadastro.API.Model;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.AspNet.OData.Query;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.H... |
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class CustomerCreditCardValidator:AbstractValidator<CustomerCreditCard>
{
public CustomerCreditCardValidator()
{
RuleFor(c => c.CardId).NotEmpty();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml;
using Microsoft.Xna.Framework;
using MonoGame.Extended.Gui.Controls;
namespace MonoGame.Extended.Gui.Markup
{
public class MarkupParser
{
public MarkupParser()
{
}
pri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RecuperacionParcial
{
class Linea3D : LineaAbstracta<Punto3D>
{
public override Punto3D[] Punto => throw new NotImplementedException();
public override double Distancia(Punto3D puntoA, Punto3D puntoB)
... |
using System.Reactive;
using System.Reactive.Linq;
using MVVMSidekick.ViewModels;
using MVVMSidekick.Views;
using MVVMSidekick.Reactive;
using MVVMSidekick.Services;
using MVVMSidekick.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Football.Models
{
public class Team
{
public Team(string name)
{
this.Name = name;
}
private string name;
private int rating=0;
public string Name... |
using LAP_PowerMining.Core.KrakenComponents;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LAP_PowerMining.Core.Services
{
public class KrakenService
{
public KrakenService()
{
KrakenClient.KrakenClient kClient = new KrakenClient.Kra... |
using AutoMapper;
using Contoso.AutoMapperProfiles;
using Contoso.XPlatform.AutoMapperProfiles;
using Contoso.XPlatform.MappingProfiles;
namespace Microsoft.Extensions.DependencyInjection
{
internal static class AutoMapperServices
{
internal static IServiceCollection AddAutoMapperServices(this IServic... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KillVolume : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
if (other.GetComponent<Character>())
{
if (other.GetComponent<Character>().team == Team.Red)
{
GameMode.m_TeamRed.Remove(other.gameObje... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ControlBase : MonoBehaviour
{
public UISprite rootSprite;
public UIAtlas atlas;
private Dictionary<string, List<Object>> map = new Dictionary<string, List<Object>>();
void Start()
{
}
public void... |
namespace Smart.Mock.Data.SqlServer;
using Microsoft.SqlServer.TransactSql.ScriptDom;
public static class DefaultParser
{
private static Func<TSqlParser> parserFactory = () => new TSql130Parser(true);
public static void SetFactory(Func<TSqlParser> factory)
{
parserFactory = factory;
... |
using HAGVeT.Helper;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
namespace HAGVeT
{
/// <summary>
/// Interaktionslogik für MainPage.xaml
/// </summary>
public partial class MainPage : Page
... |
namespace ServiceBase.Mvc.ModelBinding
{
// .AddMvc(options =>
// {
// options.ModelBinderProviders
// .Insert(0, new TrimStringModelBinderProvider());
// })
using System;
using Microsoft.AspNetCore.Mvc.ModelBinding;
public class TrimStringModelBinderProvider : IModelBin... |
/**********************************************************************************
Simple Smart Types Lite
https://github.com/dgakh/SSTypes
-----------------------
The MIT License (MIT)
Copyright (c) 2016 Dmitriy Gakh ( dmgakh@gmail.com ).
Permission is hereby granted, free of charge, to any person obtaining a co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ShadowAPI.Services
{
//public enum DiceResult :byte
//{
// CriticalGlitch
//}
public interface IShadowRunRoller
{
int[] Roll(int dice);
int[] Roll(int dice, int faces... |
using NUnit.Framework;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using TechTalk.SpecFlow;
namespace ZiZhuJY.PhantomJsWrapper.Tests
{
[Binding]
public class PhantomJsWorkerSteps
{
private string url = string.Empty;
private PhantomJsWorker.PhantomJsExec... |
using System;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using TQVaultAE.Domain.Contracts.Services;
using TQVaultAE.Domain.Entities;
using TQVaultAE.GUI.Helpers;
using TQVaultAE.GUI.Models;
using TQVaultAE.Presentation;
namespace TQVaultAE.GUI.Components;
public partial class HighlightFilte... |
/*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 Halil ibrahim KALKAN
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option)... |
using BUKEP.TESTS.DRIVER.Enums;
using OpenQA.Selenium.Chrome;
namespace BUKEP.TESTS.DRIVER.Managers.AsuBukep
{
public class JavaScriptManager
{
private static ChromeDriver _driver;
public JavaScriptManager(ChromeDriver chromeDriver)
{
_driver = chromeDriver;
}
... |
using Game;
using OculusSampleFramework;
using UnityEngine;
namespace Player
{
public class AssaultRifleGrabber : MonoBehaviour
{
public static AssaultRifleGrabber Instance;
private void Awake()
{
if (Instance)
{
Destroy(this);
}
... |
using System;
class MainClass
{
public static void Main ()
{
Console.WriteLine ("N:");
int n = Int32.Parse (Console.ReadLine ());
Console.WriteLine ("K:");
int k = Int32.Parse (Console.ReadLine ());
long result = 0;
long nFactorael = 1;
long kFactorael = 1;
if (k > 1 && n > k && n < 100) {
for... |
using FatCat.Nes.OpCodes.Branching;
using JetBrains.Annotations;
namespace FatCat.Nes.Tests.OpCodes.Branching
{
[UsedImplicitly]
public class BranchIfNegativeTests : BranchTests
{
protected override string ExpectedName => "BMI";
protected override CpuFlag Flag => CpuFlag.Negative;
protected override bool Fl... |
using System;
using System.Linq;
using System.Text;
namespace TQVaultAE.Domain.Entities
{
public class SkillRecord
{
internal static readonly Encoding Encoding1252 = Encoding.GetEncoding(1252);
public string skillName { get; set; }
public int skillLevel { get; set; }
public int skillEnabled { get; set; }
... |
using System.Threading.Tasks;
using Meziantou.Analyzer.Rules;
using TestHelper;
using Xunit;
namespace Meziantou.Analyzer.Test.Rules;
public sealed class DoNotRemoveOriginalExceptionFromThrowStatementAnalyzerTests
{
private static ProjectBuilder CreateProjectBuilder()
{
return new ProjectBuilder()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ThreadMonitorWaitPulse
{
class Program
{
public static bool finished = false;
public static bool thread1Waiting = false;
public static b... |
using System;
using System.Linq;
using System.Text;
using Castle.Core.Logging;
using Castle.DynamicProxy;
namespace LoggingAopCastle.LogHelpers
{
public static class LogExtensions
{
public static void LogError(this ILogger logger, IInvocation invocation, Exception ex)
{
var invocat... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using Bindable.Linq.Dependencies;
using Bindable.Linq.Interfaces.Events;
using Bindable.Linq.Threading;
namespace Bindable.Linq.Interfaces
{
/// <summary>
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PROJECT.SERV.Model.Adm
{
public class TCP_Adm_UsuPerArea
{
public int araclave { set; get; }
public int usuclave { set; get; }
public int prlclave { set; get; }
public TCP_Adm_UsuPerArea () {}
... |
using Accounting.DataAccess;
using Accounting.Entity;
using Accounting.Utility;
using AccSys.Web.WebControls;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Web.UI.WebControls;
using Tools;
namespace AccSys.Web
{
public partial class frmRoles : BasePage
{
protected void Pag... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using Dentist.Models;
using Dentist.Models.Patient;
using Dentist.V... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rays.Utility
{
/// <summary>
/// 海报图片帮助类
/// </summary>
public class ImageHelper
{
/// <summary>
/// 从网络地址获取图片
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using InvoiceClient.Properties;
using Model.Schema.EIVO;
namespace InvoiceClient.Agent
{
public static class InvoiceCenterTransferManager
{
private static A1401Watcher _... |
using System;
using System.Windows.Controls;
using System.Windows.Threading;
namespace Torshify.Radio.Spotify.Views.Settings
{
public partial class SpotifyLoginSectionView : UserControl
{
#region Fields
private DispatcherTimer _deferredLoginTimer;
#endregion Fields
... |
using OnlineExaminationSystem.Core.DataAccess;
using OnlineExaminationSystem.DataAccess.Abstract;
using OnlineExaminationSystem.DataAccess.Concrete.Context;
using OnlineExaminationSystem.Entities;
using OnlineExaminationSystem.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
names... |
using BPiaoBao.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket
{
public class OrderPayDto
{
/// <summary>
/// 支付流水号
/// </summary>
public string PaySerialNumber
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Yasl
{
public static class SerializerExtensions
{
public static void Write<T>(this ISerializationWriter writer, string name, T value)
{
writer.Write(typeof(T), name, value);
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Collections;
using System.Collections.Generic;
using DotNetNuke.Entities.Modules;
namespace DotNetNuke.Entities.Tabs
{
public interface ... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Windows.Input;
using City_Center.Models;
using City_Center.Services;
using GalaSoft.MvvmLight.Command;
using Plugin.Share;
using Xamarin.Forms;
using static City_Center.Models.FavoritosResultado;
using City_Center.Clases;
using Plugin.... |
using System;
using System.Text;
class MainClass
{
public static void Main ()
{
Console.WriteLine ("Enter integer a number:");
long integer = long.Parse (Console.ReadLine ());
StringBuilder text = new StringBuilder ();
StringBuilder tempText = new StringBuilder ();
while (integer != 0 || integer < 0) {
... |
namespace WikiMusic.Services.Controllers
{
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Cors;
using AutoMapper.QueryableExtensions;
using Data;
using Models;
using WebGrease.Css.Extensions;
using WikiMusic.Models;
[EnableCors... |
using NTShop.Data.Infrastructure;
using NTShop.Data.Reponsitories;
using NTShop.Model.Models;
namespace NTShop.Service
{
public interface IFeedbackService
{
Feedback Create(Feedback feedback);
void Save();
}
public class FeedbackService:IFeedbackService
{
public IFeedbackR... |
using Umbraco.Core;
namespace AgeBaseTemplate.Core.Wrappers
{
public interface IProfileLogger
{
DisposableTimer TraceDuration<T>(string startMessage);
}
} |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Xml;
namespace ServerHost
{
/// <summary>
/// An operation behavior that replaces the default WCF serializer with the <see cref="LoggingSerialize... |
using System;
using System.Collections.Generic;
using System.Text;
using System.AddIn.Contract;
namespace Tivo.Has.Contracts
{
public interface IHasApplicationConfiguratorContract : IContract
{
string Name { get; set; }
// list accessable assemblies - this is base directory and all d... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Net;
using System.Linq;
using System.IO;
using System.Text;
namespace SpeedHackDetector.Network
{
public class IpStorage
{
private ConcurrentDictionary<IPAddress, List<String>> m_Ip2Account;
publ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using Random = UnityEngine.Random;
public class BallSpawner : MonoBehaviour
{
[SerializeField] Vector2 spawnLocationMin;
[SerializeField] Vector2 spawnLocationMax;
[SerializeField] privat... |
namespace Factory.Library.Ingredients.Veggies
{
public class Spinach:IVeggie
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fleetmatics
{
class Rabbits
{
internal static List<RabbitPair> rabbits = new List<RabbitPair>();
public static int RabbitCount(int month)
{
//add... |
using System;
namespace RefactoringApp.OrganizingData.Replace_type_code_with_subclasses
{
// You have an immutable type code that affects the behavior of a class.
public enum TypeCar
{
Fiat = 0,
Bmw = 1,
Honda = 2
}
public class Car
{
private TypeCar _type;
... |
namespace HH.RulesEngine.Data.Enums
{
public enum RuleAssignedTo
{
OrderTotal = 1,
Products = 2,
Shipping = 3,
SubTotal = 4,
CardTransactions = 5
}
} |
/**
*┌──────────────────────────────────────────────────────────────┐
*│ 描 述:
*│ 作 者:lw
*│ 版 本:1.0 模板代码自动生成
*│ 创建时间:2019-05-23 16:43:42 ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Generic.V40;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
using Validation;
namespace System... |
using Refit;
using System.Threading.Tasks;
namespace Consulta
{
public interface ICepAPI
{
[Get ("/ws/{cep}/json")]
Task<CEPClass> GetAddressASync(string cep);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace QuestStudio
{
public class StructReader
{
private static int GetTypeSize(Type T)
{
if (T == typeof(byte) || T == typeof(sbyte) || T == typeof(bool))
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
namespace SierraLib.Translation
{
public interface ITranslation
{
CultureInfo Culture { get; }
string Author { get; }
string this[string key] { get; }
string thi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace babyloan.API.infrastructure.fineract.commons
{
public class user
{
public string fname {get;set;}
}
}
|
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;
using System.Configuration;
using System.Data.SqlClient;
using System.IO;
using System.Collections.ObjectModel;
namespace solution1.Inv... |
using System;
using System.Globalization;
namespace Server.Items
{
public class Platinum : Item
{
public override double DefaultWeight
{
get { return ( 0.02 ); }
}
[Constructable]
public Platinum() : this( 1 )
{
}
[Constructable]
public Platinum( int amountFrom, int amountTo ... |
using System.Windows;
using System.Windows.Controls;
using Verbos.Logic;
namespace Verbos.UserCtrl
{
/// <summary>
/// Interaction logic for RegisterControl.xaml
/// </summary>
public partial class RegisterControl : UserControl
{
private UserLogic ul = new UserLogic();
public Regis... |
using ArrayExtensions.ArraySort;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArrayExtensions.ArraySearch
{
public static class Search
{
public static int BinarySearch<T>(this T[] arrayOfElems, T keyElem,IComparer<T> comp... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace HINVenture.Shared.Migrations
{
public partial class CheckUsers : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_CustomerUser_AspNetUsers... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BE;
namespace DS
{
public class DataSource
{
public static List<Order> listOfOrders = new List<Order>
{
new Order
{
}
};
... |
using System;
using System.Text;
using SnakeGameConsole.Models;
using SnakeGameConsole.Interfaces;
namespace SnakeGameConsole.Services
{
public class MainMenuService : IMainMenuService
{
public void ShowMenu(Game game)
{
var scene = BuildScene(game);
Console.Write(scen... |
using LuaInterface;
using SLua;
using System;
public class Lua_FunctionTyrantdb : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
FunctionTyrantdb o = new FunctionTyrantdb();
LuaObject.pushValue(l, true);
LuaObject.pushValue(l, o);
... |
using System;
using Xamarin.Forms;
using System.ComponentModel;
namespace Journal
{
public class BaseViewModel : INotifyPropertyChanged
{
public BaseViewModel()
{
}
public event PropertyChangedEventHandler PropertyChanged;
protected void NotifyPropertyChanged(string propertyName)
{
if (PropertyChang... |
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
using OmniSharp.Extensions.LanguageServer.Protocol.Server.Capabilities;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
public interface ITextDocumentSyncOptions
{
[Optional] bool OpenClose { get; set; }
[Optional... |
using UnityEngine;
using UnityEngine.AI;
public class ZombieAnimation : MonoBehaviour
{
[Header("Local")]
private NavMeshAgent agent;
private Animator animator;
private bool isBiting;
[Header("Const")]
private const float distance = 1f;
private void Awake()
{
GetComponent<Zom... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gomoku {
public class RandomAI
: IAI {
public Tuple<uint, uint> MakeMove(Board board) {
Random r = new Random();
var moves = board.Possib... |
using UnityEngine;
public class Target : MonoBehaviour
{
public float health = 50f;
//public HealthTower torre;
public void Takedam(float cant)
{
health -= cant;
if(health <=0)
{
Die();
}
}
void Die()
{
Destroy(gameObject);
Pla... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace RO
{
[Serializable]
public class SmoothColor
{
public List<Color> colors;
public float duration = 1f;
private float progress;
public Color currentColor
{
get;
private set;
}
public bool valid
{
get
{
ret... |
using System;
namespace NeuralNetworksLab1.Models.Networks.ActivationFunctions
{
class LinearAF : IActivationFunction
{
public double Coefficient { get; set; }
public LinearAF()
{
Coefficient = 1.0;
}
public double GetOutputData(double input)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace neuron
{
//*****************************************LAYER*******************************************
public class Layer
{
int CountX = 0;
int index;
List<... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using Sunny.Lib;
namespace JobCommon
{
public class JobPropertyBag
{
public string ModulePath { get; set; }
public stri... |
using System.Threading.Tasks;
using Acme.Core.Models;
namespace Acme.Core.Repositories
{
public interface IAcquirerRepository
{
Task<Acquirer> GetByIdAsync(int id);
}
} |
using System;
namespace CfpExchange.Models
{
public class DownloadEventImageMessage
{
public Guid Id { get; set; }
public string ImageUrl { get; set; }
public bool HasDefaultImage()
{
return ImageUrl.EndsWith("noimage.svg", StringComparison.OrdinalIgnoreCase);
... |
using Newtonsoft.Json;
/// <summary>
/// Scribble.rs ♯ data namespace
/// </summary>
namespace ScribblersSharp.Data
{
/// <summary>
/// A class that describes a sendable "kick-vote" game message
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
internal class KickVoteSendGameMessageData : Gam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassStudent3
{
public class Student
{
public string firstname;
public string lastname;
public int age;
public string group;
}
class Program
... |
namespace Plus.Communication.Packets.Outgoing.Inventory.Purse
{
internal class ActivityPointsComposer : MessageComposer
{
public int PixelsBalance { get; }
public int SeasonalCurrency { get; }
public int GotwPoints { get; }
public ActivityPointsComposer(int pixelsBalanc... |
using System.Data.Entity.ModelConfiguration;
using Logs.Models;
namespace Logs.Data.Mappings
{
public class CommentMap : EntityTypeConfiguration<Comment>
{
public CommentMap()
{
// Primary Key
this.HasKey(t => t.CommentId);
// Properties
this.Pro... |
using System.Configuration;
namespace Umbraco.Examine.Config
{
public sealed class IndexFieldCollection : ConfigurationElementCollection
{
#region Overridden methods to define collection
protected override ConfigurationElement CreateNewElement()
{
return new ConfigIndexFiel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sweepstakes
{
public static class UserInterface
{
public static string GetString(string typeOfString)
{
string response = "";
do
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using Leave.DataClients;
namespace Leave_Console
{
class ReportsDatabaseConnector
{
public static string getTable()
{
//try
//{
... |
using ServerPicker.Model;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace ServerPicker
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
... |
using System;
using System.Collections.Generic;
namespace ELearning
{
public class Kurs
{
private String naziv;
private List<Lekcija> lekcije;
private List<Korisnik> upisani;
public Kurs(String naziv, List<Lekcija> lekcije, List<Korisnik> upisani)
{
this.naziv = naziv;
this.lekcije = lekcije;
th... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System;
using System.Linq;
namespace Physics
{
public class Program
{
static void Main()
{
// ILGpuTest.Run();
// The 'using' idiom guarantees proper resource cleanup.
// We request 30 UpdateFrame events per second, and unlimited
... |
using System;
namespace MonoGame.Extended.Entities
{
//public class ComponentType : IEquatable<ComponentType>
//{
// public ComponentType(Type type, int id)
// {
// Type = type;
// Id = id;
// }
// public Type Type { get; }
// public int Id { get; }
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TechnologyEdit.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ---------------------------------------------------------------------------------... |
using McMaster.Extensions.CommandLineUtils;
using Serilog;
namespace FlipLeaf
{
internal class Program
{
private static int Main(string[] args)
{
// setup commandline app
var app = new CommandLineApplication(false);
app.HelpOption("-? | -h | --help");
... |
using System;
using Profesion.Interface;
using Profesion.Implementacion;
namespace Profesiones.Negocio
{
public class Hospital
{
public Medico Medico { get; set; }
public MedicoPediatra MedicoPediatra { get; set; }
public MedicoCardiologo MedicoCardiologo { get; set; }
public M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Service.Layer;
using ViewModels.Layer;
namespace StoredVehicles.Controllers
{
public class HomeController : Controller
{
readonly IMarkaNaVoziloService ms;
... |
namespace Challenge_App.Data
{
public class ChallengeItemUsers
{
public int Id {get;set;}
public int ChallengeItemId {get;set;}
public ChallengeItem ChallengeItem {get;set;}
public int UserId {get;set;}
public User User {get;set;}
public bool Completed {get;set;}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.