Example #1
0
        public void ExtendService(Type serviceType, ServiceSchema schema)
        {
            var typeInfo   = serviceType.GetTypeInfo();
            var serviceExt = new ServiceSchemaExtension(schema);

            ProcessCommonAttributes(typeInfo, serviceExt);
        }
Example #2
0
        public void WriteServiceAttributes(IndentWriter writer, ServiceSchema schema)
        {
            var serviceExt = new ServiceSchemaExtension(schema);

            WriteCommonAttributes(writer, serviceExt);
        }