コード例 #1
0
ファイル: TestBase.cs プロジェクト: ELHANAFI/ServiceStack
		protected MetadataTestBase()
		{
            Metadata = new ServiceMetadata();
		    var dummyServiceType = GetType();
            Metadata.Add(dummyServiceType, typeof(GetCustomer), typeof(GetCustomerResponse));
            Metadata.Add(dummyServiceType, typeof(GetCustomers), typeof(GetCustomersResponse));
            Metadata.Add(dummyServiceType, typeof(StoreCustomer), null);
		}
コード例 #2
0
ファイル: TestBase.cs プロジェクト: jamesmosier/pluralxamarin
        protected MetadataTestBase()
        {
            Metadata = new ServiceMetadata();
            var dummyServiceType = GetType();

            Metadata.Add(dummyServiceType, typeof(GetCustomer), typeof(GetCustomerResponse));
            Metadata.Add(dummyServiceType, typeof(GetCustomers), typeof(GetCustomersResponse));
            Metadata.Add(dummyServiceType, typeof(StoreCustomer), null);
        }