-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Ganss
committed
Sep 18, 2018
1 parent
720aca5
commit bd8f057
Showing
2 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Xml.Schema; | ||
|
||
namespace XmlSchemaClassGenerator | ||
{ | ||
public class Particle | ||
{ | ||
public Particle(XmlSchemaParticle particle, XmlSchemaObject parent) | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Xml.Schema; | ||
|
||
namespace XmlSchemaClassGenerator | ||
{ | ||
public class Particle | ||
{ | ||
public Particle(XmlSchemaParticle particle, XmlSchemaObject parent) | ||
{ | ||
XmlParticle = particle; | ||
XmlParent = parent; | ||
MinOccurs = particle.MinOccurs; | ||
MaxOccurs = particle.MaxOccurs; | ||
MinOccurs = particle.MinOccurs; | ||
MaxOccurs = particle.MaxOccurs; | ||
} | ||
|
||
public XmlSchemaParticle XmlParticle { get; set; } | ||
public XmlSchemaObject XmlParent { get; } | ||
public decimal MaxOccurs { get; set; } | ||
public decimal MinOccurs { get; set; } | ||
} | ||
} | ||
public XmlSchemaParticle XmlParticle { get; set; } | ||
public XmlSchemaObject XmlParent { get; } | ||
public decimal MaxOccurs { get; set; } | ||
public decimal MinOccurs { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters