public List <Game> ReturnGames() { Game game1 = new Civilzation() { GameId = 1, DevelopmentId = 3, GameName = "Civilation", Description = "Civilization, Sid Meier'in yaptığı bir sıra tabanlı strateji oyunudur." }; Game game2 = new Cyberpunk() { GameId = 2, DevelopmentId = 2, GameName = "Cyberpunk 2077", Description = "Cyberpunk 2077, CD Projekt Red tarafından geliştirilen ve CD Projekt yayınlanan 2020 rol yapma türündeki video oyunudur." }; Game game3 = new TheWitcher() { GameId = 3, DevelopmentId = 2, GameName = "The Witcher", Description = "The Witcher, CD Projekt Red tarafından geliştirilen ve CD Projekt tarafından yayınlanan bir dizi fantastik aksiyon rol yapma oyunudur." }; Game game4 = new Nfs() { GameId = 4, DevelopmentId = 1, GameName = "Need For Speed: Most Wanted", Description = "Need for Speed: Most Wanted, Need for Speed serisinin dokuzuncu oyunudur." }; Game game5 = new TheCrew() { GameId = 5, DevelopmentId = 4, GameName = "The Crew", Description = "The Crew, Ivory Tower liderliğinde, Ubisoft Reflections ile birlikte geliştirilen, Ubisoft tarafından ise yayımcılığı yapılan yarış oyunudur." }; List <Game> games = new List <Game> { game1, game2, game3, game4, game5 }; return(games); }
/// <summary> /// Dispose mapping /// </summary> public void Dispose() { Reset?.Invoke(this, EventArgs.Empty); Nfa.Blank(); Nfc.Blank(); Nfe.Blank(); Nfl.Blank(); Nfm.Blank(); Nfp.Blank(); Nfs.Blank(); Nfw.Blank(); Pvs.Blank(); Qpf.Blank(); Refresh(); }
public PaintingArgs( Nfa nfa, Nfc nfc, Nfe nfe, Nfl nfl, Nfp nfp, Nfs nfs, Nfw nfw, Pvs pvs, Qpf qpf, bool changed) { Nfs = nfs; Nfc = nfc; Nfe = nfe; Nfl = nfl; Nfp = nfp; Nfa = nfa; Nfw = nfw; Pvs = pvs; Qpf = qpf; CollectionChanged = changed; }
/// <summary> /// Validate the object. /// </summary> /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { if (Name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Name"); } if (AwsElasticBlockStore != null) { AwsElasticBlockStore.Validate(); } if (AzureDisk != null) { AzureDisk.Validate(); } if (AzureFile != null) { AzureFile.Validate(); } if (Cephfs != null) { Cephfs.Validate(); } if (Cinder != null) { Cinder.Validate(); } if (FlexVolume != null) { FlexVolume.Validate(); } if (GcePersistentDisk != null) { GcePersistentDisk.Validate(); } if (GitRepo != null) { GitRepo.Validate(); } if (Glusterfs != null) { Glusterfs.Validate(); } if (HostPath != null) { HostPath.Validate(); } if (Iscsi != null) { Iscsi.Validate(); } if (Nfs != null) { Nfs.Validate(); } if (PersistentVolumeClaim != null) { PersistentVolumeClaim.Validate(); } if (PhotonPersistentDisk != null) { PhotonPersistentDisk.Validate(); } if (PortworxVolume != null) { PortworxVolume.Validate(); } if (Projected != null) { Projected.Validate(); } if (Quobyte != null) { Quobyte.Validate(); } if (Rbd != null) { Rbd.Validate(); } if (ScaleIO != null) { ScaleIO.Validate(); } if (VsphereVolume != null) { VsphereVolume.Validate(); } }
/// <summary> /// Validate the object. /// </summary> /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { if (AwsElasticBlockStore != null) { AwsElasticBlockStore.Validate(); } if (AzureDisk != null) { AzureDisk.Validate(); } if (AzureFile != null) { AzureFile.Validate(); } if (Cephfs != null) { Cephfs.Validate(); } if (Cinder != null) { Cinder.Validate(); } if (FlexVolume != null) { FlexVolume.Validate(); } if (GcePersistentDisk != null) { GcePersistentDisk.Validate(); } if (Glusterfs != null) { Glusterfs.Validate(); } if (HostPath != null) { HostPath.Validate(); } if (Iscsi != null) { Iscsi.Validate(); } if (Local != null) { Local.Validate(); } if (Nfs != null) { Nfs.Validate(); } if (PhotonPersistentDisk != null) { PhotonPersistentDisk.Validate(); } if (PortworxVolume != null) { PortworxVolume.Validate(); } if (Quobyte != null) { Quobyte.Validate(); } if (Rbd != null) { Rbd.Validate(); } if (ScaleIO != null) { ScaleIO.Validate(); } if (VsphereVolume != null) { VsphereVolume.Validate(); } }