BudgetAnalyser.Engine.UnitTest.TestHarness.XamlOnDiskApplicationDatabaseRepositoryTestHarness.LoadXamlAsString C# (CSharp) Метод

LoadXamlAsString() защищенный Метод

protected LoadXamlAsString ( string fileName ) : string
fileName string
Результат string
        protected override string LoadXamlAsString(string fileName)
        {
            StorageRootDtoSerialised = GetType().Assembly.ExtractEmbeddedResourceAsText(fileName, true);
            StorageRootDto = XamlServices.Parse(StorageRootDtoSerialised) as BudgetAnalyserStorageRoot;
            return StorageRootDtoSerialised;
        }
    }