Exemple #1
0
    public CollectionMagazineViewModel bobo(string identifier, CollectionMagazineType MagType, int Amount, int RoundSize)
    {
        CollectionMagazineViewModel Mag = new CollectionMagazineViewModel();

        Mag.Identifier   = identifier;
        Mag.MagazineType = MagType;
        Mag.Amount       = Amount;
        Mag.RoundSize    = RoundSize;
        return(Mag);
    }
Exemple #2
0
    public CollectionMagazineViewModel CreateCollectionMagazine(string identifier, CollectionMagazineType MagType, int Amount, int RoundSize)
    {
        var Mag = CreateCollectionMagazine();

        Mag.Identifier   = identifier;
        Mag.MagazineType = MagType;
        Mag.Amount       = Amount;
        Mag.RoundSize    = RoundSize;
        return(Mag);
    }
Exemple #3
0
 /// Subscribes to the property and is notified anytime the value changes.
 public override void MagazineTypeChanged(CollectionMagazineType value)
 {
     base.MagazineTypeChanged(value);
 }