コード例 #1
0
ファイル: _Ctor.cs プロジェクト: cartomatic/MapHive.Server2
        protected Base()
        {
            if (TypeUuid == default(Guid))
            {
                throw new Exception($"When deriving from {nameof(MapHive)}.{nameof(MapHive.Core)}.{nameof(MapHive.Core.DataModel)}.{nameof(MapHive.Core.DataModel.Base)} make sure to provide a unique type identifier! A model causing problems: {this.GetType()}");
            }

            CustomData = new SerializableDictionaryOfObject();
        }
コード例 #2
0
ファイル: _Ctor.cs プロジェクト: cartomatic/MapHive.Server2
 public Application()
 {
     LicenseOptions       = new LicenseOptions();
     VisualIdentification = new SerializableDictionaryOfObject();
 }
コード例 #3
0
ファイル: _Ctor.cs プロジェクト: cartomatic/MapHive.Server2
 public Organization()
 {
     BillingExtraInfo     = new SerializableDictionaryOfString();
     LicenseOptions       = new OrganizationLicenseOptions();
     VisualIdentification = new SerializableDictionaryOfObject();
 }