Extended IDiceConfiguration to provide a default die roller when one isn't sp...
045c34ae
Pedro Silva
committed
succeeded
5 changed files
D20Tek.Common.xml
/D20Tek.Common/D20Tek.Common.xml+5
/D20Tek.Common/D20Tek.Common.xml
Add comment 963 Gets or sets the value for the bounded minimum.
Add comment 964 </summary>
Add comment 965 </member>
Add comment 966 Plus   <member name="P:D20Tek.DiceNotation.IDiceConfiguration.DefaultDieRoller">
Add comment 967 Plus   <summary>
Add comment 968 Plus   Gets or sets the default die roller to use when one is not specified.
Add comment 969 Plus   </summary>
Add comment 970 Plus   </member>
Add comment 966 971 <member name="T:D20Tek.DiceNotation.IDieRoller">
Add comment 967 972 <summary>
Add comment 968 973 Interface defining the random die roller.
D20Tek.Common.Net47.xml
/D20Tek.Common.Net47/D20Tek.Common.Net47.xml+5
/D20Tek.Common.Net47/D20Tek.Common.Net47.xml
Add comment 948 Gets or sets the value for the bounded minimum.
Add comment 949 </summary>
Add comment 950 </member>
Add comment 951 Plus   <member name="P:D20Tek.DiceNotation.IDiceConfiguration.DefaultDieRoller">
Add comment 952 Plus   <summary>
Add comment 953 Plus   Gets or sets the default die roller to use when one is not specified.
Add comment 954 Plus   </summary>
Add comment 955 Plus   </member>
Add comment 951 956 <member name="T:D20Tek.DiceNotation.IDieRoller">
Add comment 952 957 <summary>
Add comment 953 958 Interface defining the random die roller.
IDice.cs
/D20Tek.Common.Shared/DataTypes/DiceNotation/IDice.cs-2+2
/D20Tek.Common.Shared/DataTypes/DiceNotation/IDice.cs
Add comment 67 /// </summary>
Add comment 68 /// <param name="dieRoller">Die roller to use in calculations.</param>
Add comment 69 /// <returns>Dice results.</returns>
Add comment 70 Minus   DiceResult Roll(IDieRoller dieRoller);
Add comment 70 Plus   DiceResult Roll(IDieRoller dieRoller = null);
Add comment 71
Add comment 72 /// <summary>
Add comment 73 /// Rolls the dice for the dice expression as a string.
Add comment 75 /// <param name="expression">Expression string to parse.</param>
Add comment 76 /// <param name="dieRoller">Die roller to use in calculations.</param>
Add comment 77 /// <returns>Dice results.</returns>
Add comment 78 Minus   DiceResult Roll(string expression, IDieRoller dieRoller);
Add comment 78 Plus   DiceResult Roll(string expression, IDieRoller dieRoller = null);
Add comment 79 }
Add comment 80 }
Add comment 81
IDiceConfiguration.cs
/D20Tek.Common.Shared/DataTypes/DiceNotation/IDiceConfiguration.cs+5
/D20Tek.Common.Shared/DataTypes/DiceNotation/IDiceConfiguration.cs
Add comment 34 /// Gets or sets the value for the bounded minimum.
Add comment 35 /// </summary>
Add comment 36 int BoundedResultMinimum { get; set; }
Add comment 37 Plus  
Add comment 38 Plus   /// <summary>
Add comment 39 Plus   /// Gets or sets the default die roller to use when one is not specified.
Add comment 40 Plus   /// </summary>
Add comment 41 Plus   IDieRoller DefaultDieRoller { get; set; }
Add comment 37 42 }
Add comment 38 43 }
D20Tek.Common.Standard.xml
/D20Tek.Common.Standard/D20Tek.Common.Standard.xml
/D20Tek.Common.Standard/D20Tek.Common.Standard.xml