зеркало из https://github.com/xamarin/ios-samples.git
style changes
This commit is contained in:
Родитель
c2522a30b0
Коммит
fc6a06e131
|
@ -6,7 +6,7 @@ public class Bike : MKPointAnnotation
|
|||
public static Bike[] FromDictionaryArray (NSArray dictionaryArray) {
|
||||
var bikes = new List<Bike> ();
|
||||
|
||||
for (nuint n = 0; n < dictionaryArray.Count; ++n){
|
||||
for (nuint n = 0; n < dictionaryArray.Count; ++n) {
|
||||
var dictionary = dictionaryArray.GetItem<NSDictionary<NSString, NSNumber>> (n);
|
||||
if (dictionary is not null) {
|
||||
var lat = dictionary[new NSString ("lat")];
|
||||
|
|
|
@ -11,10 +11,7 @@ public class BikeView : MKMarkerAnnotationView
|
|||
#region Override Methods
|
||||
public override IMKAnnotation? Annotation
|
||||
{
|
||||
get
|
||||
{
|
||||
return base.Annotation;
|
||||
}
|
||||
get => base.Annotation;
|
||||
set
|
||||
{
|
||||
base.Annotation = value;
|
||||
|
|
Загрузка…
Ссылка в новой задаче