Exemple #1
0
        public override string ToString()
        {
            var placementStr = IsNewPlacement ? PlacementStrategy.ToString() : "*not-new*";

            return(String.Format("PlacementResult({0}, {1}, {2}, {3})",
                                 Silo, Activation, placementStr, GrainType));
        }
        public override string ToString()
        {
            var placementStr = IsNewPlacement ? PlacementStrategy.ToString() : "*not-new*";

            return($"PlacementResult({this.Silo}, {this.Activation}, {placementStr})");
        }