Catalogue.Gemini.Templates.Library.Example C# (CSharp) Метод

Example() публичный статический Метод

public static Example ( ) : Metadata
Результат Catalogue.Gemini.Model.Metadata
        public static Metadata Example()
        {
            return new Metadata
            {
                Title = "Demo Dataset",
                Abstract = "This is just a demo dataset.",
                TopicCategory = "geoscientificInformation",
                Keywords = new StringPairList
                    {
                       /* { "", "NDGO0001" },*/
                        { "http://jncc.gov.uk", "Bermuda Institute of Ocean Sciences" },
                    }
                    .ToKeywordList(),
                TemporalExtent = new TemporalExtent { Begin = "1998-01", End = "" },
                DatasetReferenceDate = "2015-01-01",
                Lineage = "This dataset was imagined by a developer.",
                ResourceLocator = "http://data.jncc.gov.uk/5eb63655-d7fe-46af-88bc-71f7db243ad3",
                DataFormat = "XLS",
                ResponsibleOrganisation = new ResponsibleParty
                {
                    Name = "Joint Nature Conservation Committee (JNCC)",
                    Email = "[email protected]",
                    Role = "owner",
                },
                LimitationsOnPublicAccess = "no limitations",
                UseConstraints = "no conditions apply",
                SpatialReferenceSystem = "http://www.opengis.net/def/crs/EPSG/0/4326",
                Extent = new StringPairList { { "", "Bermuda" } }.ToExtentList(),
                MetadataDate = Convert.ToDateTime("2013-07-16"),
                MetadataPointOfContact = new ResponsibleParty
                {
                    Name = "Joint Nature Conservation Committee (JNCC)",
                    Email = "[email protected]",
                    Role = "pointOfContact",
                },
                ResourceType = "dataset",
                BoundingBox = new BoundingBox
                {
                    North = 60.77m,
                    South = 49.79m,
                    East = 2.96m,
                    West = -8.14m,
                }
            };
        }