// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; namespace HoloToolkit.Sharing.SyncModel { /// <summary> /// Used to markup SyncPrimitives within a class. /// </summary> [AttributeUsage(AttributeTargets.Field)] public class SyncDataAttribute : Attribute { public string CustomFieldName; } /// <summary> /// Used to markup SyncObject classes, so that they properly get instantiated /// when using a hierarchical data model that inherits from SyncObject. /// </summary> [AttributeUsage(AttributeTargets.Class)] public class SyncDataClassAttribute : Attribute { public string CustomClassName; } }