public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "Sce.Atf.Applications.SkinService/Schemas"); Load("skin.xsd"); }
public SchemaLoader(IGameEngineProxy gameEngine) { m_gameEngine = gameEngine; // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "LevelEditor.schemas"); Load("level_editor.xsd"); }
public SchemaLoader(PropertyEditor propertyEditor) { m_propertyEditor = propertyEditor; // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "DomPropertyEditorSample/Schemas"); Load("game.xsd"); }
/// <summary> /// Constructor that loads the schema</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(System.Reflection.Assembly.GetExecutingAssembly(), "CircuitEditorSample/schemas"); var schema = Load("Circuit.xsd"); var version = schema.Version; // Version will be null if the xsd has no version attribute m_version = string.IsNullOrEmpty(version) ? new Version("1.0") : new Version(version); }
public void Test() { Assembly assembly = Assembly.GetExecutingAssembly(); ResourceStreamResolver test = new ResourceStreamResolver( assembly, "UnitTests.Atf/Resources"); Uri uri = test.ResolveUri(null, "test.xsd"); Assert.AreEqual(uri.ToString(), "file:///UnitTests.Atf/Resources/test.xsd"); Stream strm = (Stream)test.GetEntity(uri, null, null); Assert.NotNull(strm); }
/// <summary> /// Constructor</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "TimelineEditorSample.schemas"); Load("timeline.xsd"); }
public MaterialSchemaLoader() { SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "ControlsLibraryExt.Material"); Load("material.xsd"); }
/// <summary> /// Constructor</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "DomTreeEditorSample/Schemas"); Load(Assembly.GetExecutingAssembly(), "UISchema.xsd"); }
/// <summary> /// Constructor</summary> public GameSchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "UsingDom/Schemas"); Load("game.xsd"); }
/// <summary> /// Constructor</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "ButterflyEngine/schemas"); Load("story.xsd"); }
/// <summary> /// Constructor that loads the schema</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(System.Reflection.Assembly.GetExecutingAssembly(), "CircuitEditorSample/schemas"); Load("Circuit.xsd"); }
public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "LevelEditor.schemas"); Load("level_editor.xsd"); }
/// <summary> /// Constructor</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "FsmEditorSample/schemas"); Load("FSM_customized.xsd"); }
/// <summary> /// Loads the UI schema, registers data extensions on the DOM types, annotates /// the types with display information and PropertyDescriptors.</summary> public SchemaLoader() { SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "WorldsmithATF/DOMSchema"); Load("DotaObjects.xsd"); }
/// <summary> /// Constructor</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "SimpleDomEditorWpfSample/schemas"); Load("eventSequence.xsd"); }
/// <summary> /// Constructor</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "WinGuiCommon/schemas"); Load("sampleAppData.xsd"); }
/// <summary> /// Constructor</summary> public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "StatechartEditorSample/schemas"); Load("Statechart.xsd"); }
public SchemaLoader() { // set resolver to locate embedded .xsd file SchemaResolver = new ResourceStreamResolver(Assembly.GetExecutingAssembly(), "SceneEditor/Schemas"); Load("bitBox.xsd"); }