示例#1
0
        public static void CheckScriptOwnership(this IScriptPrivateResource containingResource, DynValue value)
        {
            var otherResource = value?.GetAsPrivateResource();

            if (otherResource != null)
            {
                CheckScriptOwnership(containingResource, otherResource);
            }
        }
示例#2
0
		public static void CheckScriptOwnership(this IScriptPrivateResource containingResource, DynValue value)
		{
			if (value != null)
			{
				var otherResource = value.GetAsPrivateResource();

				if (otherResource != null)
				{
					CheckScriptOwnership(containingResource, otherResource);
				}
			}
		}